Actions
Patch #36352
closedIssuesSystemTest#test_bulk_edit fails due to r21248
Start date:
Due date:
% Done:
0%
Estimated time:
Description
IssuesSystemTest#test_bulk_edit will always fail.
% RAILS_ENV=test bundle exec rake test TEST=test/system/issues_test.rb Run options: --seed 55711 # Running: Capybara starting Puma... * Version 5.5.2 , codename: Zawgyi * Min threads: 0, max threads: 4 * Listening on http://127.0.0.1:64446 ....vendor/bundle/ruby/2.7.0/gems/capybara-3.36.0/lib/capybara/session.rb:772: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call vendor/bundle/ruby/2.7.0/gems/capybara-3.36.0/lib/capybara/node/matchers.rb:495: warning: The called method `has_select?' is defined here .[Screenshot Image]: tmp/screenshots/failures_test_bulk_edit.png E Error: IssuesSystemTest#test_bulk_edit: Capybara::ElementNotFound: Unable to find link "Edit" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[1]/DIV[4]/DIV[2]/DIV[4]"> test/system/issues_test.rb:369:in `block in test_bulk_edit' test/system/issues_test.rb:368:in `test_bulk_edit' rails test test/system/issues_test.rb:356 ................ Finished in 46.782984s, 0.4703 runs/s, 3.7621 assertions/s. 22 runs, 176 assertions, 0 failures, 1 errors, 0 skips
Files
Related issues
Updated by Yuichi HARADA almost 3 years ago
- File 36352.patch 36352.patch added
The following patch will solve the issue.
diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb
index 4f4939a9b3..ab31a3e33b 100644
--- a/test/system/issues_test.rb
+++ b/test/system/issues_test.rb
@@ -366,7 +366,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
find('tr#issue-4 input[type=checkbox]').click
find('tr#issue-1 td.updated_on').right_click
within('#context-menu') do
- click_link 'Edit'
+ click_link 'Bulk edit'
end
assert_current_path '/issues/bulk_edit', :ignore_query => true
submit_buttons = page.all('input[type=submit]')
@@ -389,7 +389,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
find('tr#issue-4 input[type=checkbox]').click
find('tr#issue-1 td.updated_on').right_click
within('#context-menu') do
- click_link 'Edit'
+ click_link 'Bulk edit'
end
assert_current_path '/issues/bulk_edit', :ignore_query => true
submit_buttons = page.all('input[type=submit]')
Updated by Go MAEDA almost 3 years ago
- Related to Feature #35770: Change "Edit" label in the context menu to "Bulk Edit" when multiple issues are selected added
Updated by Go MAEDA almost 3 years ago
- Subject changed from IssuesSystemTest#test_bulk_edit is fail to IssuesSystemTest#test_bulk_edit fails due to r21248
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the fix as a part of #35770. Thank you.
Actions