Commit Graph

63 Commits

Author SHA1 Message Date
Go MAEDA
9aa00d6f16 Fix random failures in IssuesTest#test_bulk_copy due to StaleElementReferenceError (#42244).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-11 02:58:22 +00:00
Go MAEDA
4fb1e4bea0 Use fixtures :all to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 10:17:57 +00:00
Go MAEDA
51312cc318 Fix test failure in IssuesSystemTest due to incorrect attachment count expectation (#41238).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-11 08:13:32 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
7ba9cb1da6 Use assert_selector which automatically waits until the HTML condition is met (#39109).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-24 19:06:43 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
ee1476f802 Fix RuboCop offense Rails/Pluck (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-28 07:50:11 +00:00
Go MAEDA
47b17044d2 Fix RuboCop offense Style/RedundantStringEscape (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-26 13:14:08 +00:00
Marius Balteanu
3179bee5a8 Fix random system test failure by adding a missing fixture.
git-svn-id: https://svn.redmine.org/redmine/trunk@21862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 20:49:44 +00:00
Marius Balteanu
c3a08d99f5 Add test for #37053.
git-svn-id: https://svn.redmine.org/redmine/trunk@21579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 19:53:42 +00:00
Marius Balteanu
277818cf42 Use click_button to click on buttons in test_bulk_edit.
git-svn-id: https://svn.redmine.org/redmine/trunk@21554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-02 20:09:07 +00:00
Marius Balteanu
d3988aedd1 Add test for #34029.
Patch by Vincent Robert. 


git-svn-id: https://svn.redmine.org/redmine/trunk@21503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-27 21:30:33 +00:00
Marius Balteanu
30d91c8503 Fix that Log time and/or Add notes sections from issue form page do not show or hide dynamically based on user permission (#34641).
git-svn-id: https://svn.redmine.org/redmine/trunk@21495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-22 07:03:19 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
735005a5a2 IssuesSystemTest fails with ArgumentError in Ruby 3.1 (#36205, #36360).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-27 09:35:38 +00:00
Go MAEDA
2b8aeed917 IssuesSystemTest#test_bulk_edit fails due to r21248 (#35770, #36352).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-25 02:24:38 +00:00
Go MAEDA
37d3f3faa9 Add watching users to a ticket should switch "watch" link to "unwatch" if own user was added (#15634).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-25 02:27:54 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
1375840881 Fix a failed system test due to r20765 (#34714).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-17 05:29:21 +00:00
Go MAEDA
cde271e79e Allow issue relation autocomplete to select multiple values (#33418).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-25 02:31:55 +00:00
Go MAEDA
b42e8c2040 Fix selenium chrome options so files are downloaded to tmp/downloads in system tests (#34119).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 21:48:11 +00:00
Toshi MARUYAMA
3be81b344e add more assert_equal to IssuesSystemTest#test_bulk_copy
git-svn-id: http://svn.redmine.org/redmine/trunk@20145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-11 12:58:03 +00:00
Go MAEDA
9d1e8c75cc IssuesSystemTest#test_bulk_watch_issues_via_context_menu randomly fails due to Capybara clicks out of an element (#33315).
Patch by Massimo Rossello.


git-svn-id: http://svn.redmine.org/redmine/trunk@20017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-12 08:05:09 +00:00
Toshi MARUYAMA
98e7e723c3 add more assert_equal to IssuesSystemTest#test_bulk_copy
git-svn-id: http://svn.redmine.org/redmine/trunk@19911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:37:43 +00:00
Toshi MARUYAMA
575403413a add "Copy and follow" flow to bulk_copy system test
git-svn-id: http://svn.redmine.org/redmine/trunk@19898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-12 11:36:06 +00:00
Toshi MARUYAMA
7a7542b51d wait for ajax response in IssuesSystemTest#test_bulk_edit as same with IssuesSystemTest#test_bulk_copy
git-svn-id: http://svn.redmine.org/redmine/trunk@19891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-11 16:22:09 +00:00
Toshi MARUYAMA
0d15a93d22 wait for ajax response to prevent random failure in IssuesSystemTest#test_bulk_copy
git-svn-id: http://svn.redmine.org/redmine/trunk@19890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-11 16:22:01 +00:00
Toshi MARUYAMA
2f19b1eaa7 add bulk copy issues system test
git-svn-id: http://svn.redmine.org/redmine/trunk@19884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-11 01:21:58 +00:00
Toshi MARUYAMA
922d1021f4 add "Move and follow" flow to bulk_edit system test
git-svn-id: http://svn.redmine.org/redmine/trunk@19876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-09 15:18:55 +00:00
Toshi MARUYAMA
8d2d557f2c add bulk_edit system test
git-svn-id: http://svn.redmine.org/redmine/trunk@19866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-08 17:30:28 +00:00
Toshi MARUYAMA
d050d51544 simplify IssuesSystemTest#test_bulk_watch_issues_via_context_menu
git-svn-id: http://svn.redmine.org/redmine/trunk@19860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-05 15:03:35 +00:00
Toshi MARUYAMA
37c3e6e7aa simplify IssuesSystemTest#test_watch_issue_via_context_menu
git-svn-id: http://svn.redmine.org/redmine/trunk@19857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-04 12:14:35 +00:00
Toshi MARUYAMA
981900491b add assert to IssuesSystemTest#test_bulk_watch_issues_via_context_menu
git-svn-id: http://svn.redmine.org/redmine/trunk@19851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-03 11:45:45 +00:00
Toshi MARUYAMA
1bed89b605 add assert to IssuesSystemTest#test_watch_issue_via_context_menu
git-svn-id: http://svn.redmine.org/redmine/trunk@19847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-03 11:12:23 +00:00
Toshi MARUYAMA
247164679a remove "sleep" from IssuesSystemTest#test_update_journal_notes_with_preview
git-svn-id: http://svn.redmine.org/redmine/trunk@19840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-28 16:36:57 +00:00
Toshi MARUYAMA
60767ffb18 remove unneeded "page" from "update issue status" test of IssuesSystemTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-16 11:45:57 +00:00
Toshi MARUYAMA
4ba75b80ca add bulk update issues test to IssuesSystemTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-15 18:46:18 +00:00
Toshi MARUYAMA
f97d2572b6 use "right_click" instead of "trigger('contextmenu')" in IssuesSystemTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-15 17:59:13 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
9a8d820994 add missing fixture to test/system/issues_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 11:07:47 +00:00
Go MAEDA
a4f3b8882d Avoid class name overlap that causes TypeError on rake test:system test (#32432).
Patch by Akira Matsuda.


git-svn-id: http://svn.redmine.org/redmine/trunk@18995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 07:32:41 +00:00
Toshi MARUYAMA
87e2e3df5b use full text in fill_in at Issue system "update issue with form update" test
git-svn-id: http://svn.redmine.org/redmine/trunk@18661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:47:05 +00:00
Toshi MARUYAMA
0b3bbd0e62 add new "update issue status" test to Issue system test
git-svn-id: http://svn.redmine.org/redmine/trunk@18656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:51:35 +00:00
Toshi MARUYAMA
148e4e0660 use "test do" syntax for Issue system test "update issue with form update"
git-svn-id: http://svn.redmine.org/redmine/trunk@18655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:51:25 +00:00
Toshi MARUYAMA
9caac1609e add additional assert to Issue system "test_update_issue_with_form_update"
git-svn-id: http://svn.redmine.org/redmine/trunk@18647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:02 +00:00
Toshi MARUYAMA
9716194b29 add additional assert to Issue system "test_update_issue_with_form_update"
git-svn-id: http://svn.redmine.org/redmine/trunk@18624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-08 12:18:01 +00:00
Toshi MARUYAMA
331d327325 reduce sleep seconds of Issue system "test_update_journal_notes_with_preview"
git-svn-id: http://svn.redmine.org/redmine/trunk@18623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-08 12:17:51 +00:00
Go MAEDA
5ce4a363a9 Fix test failure due to missing call to set_tmp_attachments_directory (#32122).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-04 11:17:33 +00:00
Toshi MARUYAMA
001177f681 add test "removing issue shows confirm dialog"
git-svn-id: http://svn.redmine.org/redmine/trunk@18552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 02:23:14 +00:00