Improve stability for manages_aspects.feature:79
page.execute_scripts looks to be asynchronous, .synced is already set by default, so the previous expectation would be fulfilled before the script got to run, running into the page reload in the next step which then aborts or hasen't seen the to be triggered request yet. The fix is to use Capybaras drag_to instead
parent
caf56568
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- Gemfile 0 ajout, 5 suppressionsGemfile
- Gemfile.lock 0 ajout, 5 suppressionsGemfile.lock
- app/assets/javascripts/app/pages/contacts.js 2 ajouts, 2 suppressionsapp/assets/javascripts/app/pages/contacts.js
- app/views/contacts/_aspect_listings.haml 1 ajout, 1 suppressionapp/views/contacts/_aspect_listings.haml
- features/desktop/manages_aspects.feature 1 ajout, 1 suppressionfeatures/desktop/manages_aspects.feature
- features/step_definitions/aspects_steps.rb 7 ajouts, 17 suppressionsfeatures/step_definitions/aspects_steps.rb
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter