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 over 3 years ago. Updated over 3 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 #1

Updated by Marius BĂLTEANU over 3 years ago

This issue reproduces only on Chrome headless.

Actions #2

Updated by Go MAEDA over 3 years ago

  • Related to Feature #32944: Always preserve the tree structure in the project jump box added
Actions #3

Updated by Go MAEDA over 3 years ago

  • Status changed from New to Closed
  • Target version deleted (4.2.0)
  • Resolution set to Fixed

Committed the fix as a part of #32944. Thank you.

Actions

Also available in: Atom PDF