Project

General

Profile

Actions

Defect #34357

closed

Fix Capybara::Ambiguous: Ambiguous match, found 2 elements matching visible link or button "eCookbook"

Added by Marius BĂLTEANU almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Running the system tests return the following errors:

Error:
QuickJumpTest#test_project_quick_jump:
Capybara::Ambiguous: Ambiguous match, found 2 elements matching visible link or button "eCookbook" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[1]/DIV[2]/DIV[1]/DIV[2]">
    test/system/quick_jump_test.rb:34:in `block in test_project_quick_jump'
    test/system/quick_jump_test.rb:32:in `test_project_quick_jump'
Error:
QuickJumpTest#test_project_quick_jump_should_jump_to_the_same_tab:
Capybara::Ambiguous: Ambiguous match, found 2 elements matching visible link or button "eCookbook" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[1]/DIV[2]/DIV[1]/DIV[2]">
    test/system/quick_jump_test.rb:45:in `block in test_project_quick_jump_should_jump_to_the_same_tab'
    test/system/quick_jump_test.rb:43:in `test_project_quick_jump_should_jump_to_the_same_tab'

Those errors were been introduced by #32944.


Files

fix_quick_jump_tests.patch (837 Bytes) fix_quick_jump_tests.patch Marius BĂLTEANU, 2020-12-01 22:43

Related issues

Related to Redmine - Feature #32944: Always preserve the tree structure in the project jump boxClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF