Skip to content

Release 2.4 - #2129

Merged
DavertMik merged 8 commits into
masterfrom
release-2.4
Jan 10, 2020
Merged

Release 2.4#2129
DavertMik merged 8 commits into
masterfrom
release-2.4

Conversation

@DavertMik

Copy link
Copy Markdown
Contributor

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

  • Breaking changes
  • New functionality
  • Bug fix
  • Documentation changes/updates
  • Hot fix
  • Markdown files fix - not related to source code

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

Comment thread .gitignore
package-lock.json
yarn.lock
/.vs
typings/types.d.ts No newline at end of file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this to ignore conflicts in our PRs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should types.d.ts be deleted?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not, to accidentally not to release a package without types.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And types will stay outdated in code

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you mean remove from git? Ok

Comment thread CHANGELOG.md Outdated
Vorobeyko
Vorobeyko previously approved these changes Jan 10, 2020
Comment thread docs/basics.md Outdated
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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I put this twice but this is not basics information

pablopaul
pablopaul previously approved these changes Jan 10, 2020
Comment thread docs/basics.md Outdated


### Screenshot on Failure
### Screenshot on Failure <Badge text="Enabled by default"/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add this badge to all enabled by default plugins?

What about disabled?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the badge

Comment thread docs/basics.md

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this differs from 463, 453 rows?

Do we need badges or quoted messages?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, added quotes

Comment thread docs/basics.md Outdated
* `Scenario.only` - executes only the current test

## Todo test
## Todo

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why Todo test was removed?

IMO, Todo looks like we forgot to add docs :)
How about Not implemented tests (todo)

Comment thread docs/commands.md Outdated
...
rerun: {
//how many times all tests in suite must pass
// inside to codecept.conf.js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"inside to" ?
maybe simple "inside"?

Comment thread docs/helpers/Appium.md
Comment thread docs/helpers/FileSystem.md
Comment thread .gitignore
package-lock.json
yarn.lock
/.vs
typings/types.d.ts No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should types.d.ts be deleted?

kobenguyent
kobenguyent previously approved these changes Jan 10, 2020
Comment thread docs/advanced.md Outdated
* 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.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This refers run-multiple?

Comment thread CHANGELOG.md Outdated
Comment thread package.json
"puppeteer",
"webdriver",
"testcafe",
"protractor",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about adding api tests cause we also support it.

@github-actions

Copy link
Copy Markdown

🌀 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
⚠️ List all skipped tests (1)
📎 List all suites (56)

@DavertMik

Copy link
Copy Markdown
Contributor Author

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- lib/rerun.js  4
         

Clones added
============
- lib/rerun.js  1
         

See the complete overview on Codacy

@DavertMik
DavertMik merged commit 79c2790 into master Jan 10, 2020
@DavertMik
DavertMik deleted the release-2.4 branch January 10, 2020 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants