Release 2.4 - #2129
Conversation
| package-lock.json | ||
| yarn.lock | ||
| /.vs | ||
| typings/types.d.ts No newline at end of file |
There was a problem hiding this comment.
I added this to ignore conflicts in our PRs
There was a problem hiding this comment.
Should types.d.ts be deleted?
There was a problem hiding this comment.
Probably not, to accidentally not to release a package without types.
There was a problem hiding this comment.
And types will stay outdated in code
There was a problem hiding this comment.
Ah, you mean remove from git? Ok
| Every Scenario inside this feature will be rerun 3 times. | ||
| You can make an exception for a specific scenario by passing the `retries` option to a Scenario. | ||
|
|
||
| ### Rerunning Flaky Tests Multiple Times |
There was a problem hiding this comment.
@DavertMik I would remove "Rerunning Flaky Tests Multiple Times" from "basics.md" and just leave it in "advanced.md", currently it seems to be duplicated to me
There was a problem hiding this comment.
Yeah, I put this twice but this is not basics information
|
|
||
|
|
||
| ### Screenshot on Failure | ||
| ### Screenshot on Failure <Badge text="Enabled by default"/> |
There was a problem hiding this comment.
Do we need to add this badge to all enabled by default plugins?
What about disabled?
There was a problem hiding this comment.
Removed the badge
|
|
||
| You can auto-retry a failed step by enabling [retryFailedStep Plugin](/plugins/#retryfailedstep). | ||
|
|
||
| > **autoRetry plugin is enabled by default** for new setups since CodeceptJS 2.4 |
There was a problem hiding this comment.
Why this differs from 463, 453 rows?
Do we need badges or quoted messages?
There was a problem hiding this comment.
Yeah, added quotes
| * `Scenario.only` - executes only the current test | ||
|
|
||
| ## Todo test | ||
| ## Todo |
There was a problem hiding this comment.
Why Todo test was removed?
IMO, Todo looks like we forgot to add docs :)
How about Not implemented tests (todo)
| ... | ||
| rerun: { | ||
| //how many times all tests in suite must pass | ||
| // inside to codecept.conf.js |
There was a problem hiding this comment.
"inside to" ?
maybe simple "inside"?
| package-lock.json | ||
| yarn.lock | ||
| /.vs | ||
| typings/types.d.ts No newline at end of file |
There was a problem hiding this comment.
Should types.d.ts be deleted?
| * Detect flaky tests in our suite | ||
| * Fix flaky tests by rerunning them. | ||
|
|
||
| Both tasks can be achieved with [`run-rerun` command](commands/#run-multiple) which runs tests multiple times until all tests are passed. |
There was a problem hiding this comment.
This refers run-multiple?
| "puppeteer", | ||
| "webdriver", | ||
| "testcafe", | ||
| "protractor", |
There was a problem hiding this comment.
how about adding api tests cause we also support it.
eabde97
|
🌀 Tests overview by Testomatio Found 839 mocha tests in 69 files ✔️ Added 1 tests+ run-rerun command: should display error if minSuccess more than maxReruns🗑️ Removed 1 tests- run-rerun command: should display error if minSuccess more then maxReruns
|
|
Complexity increasing per file
==============================
- lib/rerun.js 4
Clones added
============
- lib/rerun.js 1
See the complete overview on Codacy |
Motivation/Description of the PR
Applicable helpers:
Webdriver
Puppeteer
Nightmare
REST
Appium
Protractor
TestCafe
Description of this PR, which problem it solves
A link to the corresponding issue (if applicable).
Type of change
Checklist:
npm run docs)npm run lint)npm test)