mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 17:28:50 +01:00
Merge pull request #1816 from C-Otto/cucumber-fix
Fix cucumber test: select first menu
This commit is contained in:
commit
23a36ca22d
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