codeceptjs / codeceptjs/CodeceptJS

dynamic configs ignored for test retries

Open
#1,809 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
4.2k
Forks
757
Avg merge
2d 9h
Merged PRs (30d)
16

Description

#### 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

```js
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.