mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 16:28:50 +01:00
select first menu
in 'Scenario: Deleting a todo will remove it from the calendar' there may be two menus if the test is run on the last day of the month
This commit is contained in:
parent
db62ebd074
commit
a23011c88b
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ module TracksStepHelper
|
|||
execute_javascript "$('#{submenu_css}').parent().showSuperfishUl()"
|
||||
|
||||
expect(page).to have_css(submenu_css, visible: true)
|
||||
submenu = page.find(submenu_css, visible: true)
|
||||
submenu = page.first(submenu_css, visible: true)
|
||||
|
||||
within submenu do
|
||||
yield
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue