You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynamic configs are ignored for retries after a test fails
Feature('test');Scenario('test',I=>{I.amOnPage('https://github.com');I.waitInUrl('fail');}).retry(1).config({show: true});// will be ignored for the second run
Just looked into this, mocha creates a copy of the test object for each retry, so the configs set here are lost, or at least not copied to the new object. Can't find a quick and clean solution for this. Feature().retry().config() works however so for now i'd organize the tests differently
Activity
cviejo commentedon Aug 4, 2019
Just looked into this, mocha creates a copy of the test object for each retry, so the configs set here are lost, or at least not copied to the new object. Can't find a quick and clean solution for this.
Feature().retry().config()works however so for now i'd organize the tests differently