Bump codeceptjs from 3.1.3 to 3.2.1
Bumps codeceptjs from 3.1.3 to 3.2.1.
Changelog
Sourced from codeceptjs's changelog.
3.2.1
♻ ️ This release fixes hanging of tests by reducing timeouts for automatic retries on failures.
- [retryFailedStep plugin] New Defaults: retries steps up to 3 times with factor of 1.5 (previously 5 with factor 2)
- [Playwright] - disabled retry on failed context actions (not needed anymore)
- [Puppeteer] - reduced retries on context failures to 3 times.
- [Playwright] Handling
crash
event to automatically close crashed pages.3.2.0
🛩 ️ Features:Timeouts implemented
- global timeouts (via
timeout
config option).
- Breaking change: timeout option expects timeout in seconds, not in milliseconds as it was previously.
- test timeouts (via
Scenario
andFeature
options)
- Breaking change:
Feature().timeout()
andScenario().timeout()
calls has no effect and are deprecated// set timeout for every test in suite to 10 secs Feature('tests with timeout', { timeout: 10 }); // set timeout for this test to 20 secs Scenario('a test with timeout', { timeout: 20 }, ({ I }) => {});
- step timeouts (See #3059 by
@nikocanvacom
)// set step timeout to 5 secs I.limitTime(5).click('Link');
stepTimeout
plugin introduced to automatically add timeouts for each step (#3059 by@nikocanvacom
).retryTo plugin introduced to rerun a set of steps on failure:
// editing in text in iframe // if iframe was not loaded - retry 5 times await retryTo(() => { I.switchTo('#editor frame'); I.fillField('textarea', 'value'); }, 5);
- [Playwright] added
locale
configuration- [WebDriver] upgraded to webdriverio v7
🐛 Bugfixes:
... (truncated)
Commits
-
1b37997
fix browser crashes (#3124) -
b2253d0
fixed docs -
613f9d1
Merge branch 'master' of github.com:codeceptjs/CodeceptJS into 3.x -
b5214d3
Merge branch '3.x' of github.com:codeceptjs/CodeceptJS into 3.x -
edd7e26
3.2 release (#3122) -
931ea69
Merge branch '3.x' of github.com:codeceptjs/CodeceptJS into 3.x -
e963695
Disable step bystep screenshot after fail (#3119) -
5ba8b10
Timeouts (#3113) -
c6dfdf9
Slack link points to unrelated YouTube channel (#3121) -
6b4e3df
Adds retryTo plugin (#3114) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts