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('http://github.com');I.waitInUrl('fail');}).retry(1).config({show: true});// will be ignored for the second run
Details
CodeceptJS version: 2.2.1
NodeJS Version: v8.16.0
Operating System: MacOS 10.14.4
The text was updated successfully, but these errors were encountered:
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
What are you trying to achieve?
Dynamic configs applied to retries as well
What do you get instead?
Dynamic configs are ignored for retries after a test fails
Details
The text was updated successfully, but these errors were encountered: