Skip to content
Extraits de code Groupes Projets
  • Jonne Haß's avatar
    a2d894cb
    Improve stability for manages_aspects.feature:79 · a2d894cb
    Jonne Haß a rédigé
    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
    a2d894cb
    Historique
    Improve stability for manages_aspects.feature:79
    Jonne Haß a rédigé
    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