specs: make the routing feature test more robust

- Use human-readable form labels
- Always wait for the result of the previous action to be loaded before
  starting another action
This commit is contained in:
Pierre de La Morinerie 2019-11-21 17:29:11 +00:00
parent 04f29b404f
commit b78134c691
2 changed files with 34 additions and 42 deletions

View file

@ -1,6 +1,6 @@
.dropdown.header-menu-opener
%button.button.dropdown-button.header-menu-button
= image_tag "icons/account-circle.svg", title: "Mon compte"
%button.button.dropdown-button.header-menu-button{ title: "Mon compte" }
= image_tag "icons/account-circle.svg", alt: ''
%ul.header-menu.dropdown-content
%li
.menu-item{ title: current_email }