CodeceptJS
CodeceptJS copied to clipboard
Supercharged End 2 End Testing Framework for NodeJS
In version 3.7.2 the package.json contains a types and a exports section. The export section does not include the types so the types cannot be exported. I guess its introduced...
## Motivation/Description of the PR - Description of this PR, which problem it solves Solve issue in some use case where videos and traces of Playwright are not saved correctly...
During normal usage of `[email protected]` I see the following repeated warning: ``` I.retry() is deprecated, use step.retry() instead ``` This comes from [here](https://github.com/codeceptjs/CodeceptJS/blob/df7e0beac13fa59167162034adf3859fdb7be335/lib/actor.js#L61), naturally. Unfortunately I am unable to find...
I'm using CodeceptJS with the Playwright helper and BDD-style Gherkin syntax for writing tests. I want to retry an entire scenario if it fails, rather than retrying individual steps. For...
**Steps:** Run this TypeScript test in 3.7.x (https://codecept.io/effects.html#usage-with-typescript says that it should work) ```ts Feature("My"); import { tryTo } from "codeceptjs/effects"; Scenario("test something", async ({ I }) => { I.amOnPage("https://example.com");...
helpers: { Playwright: { browser: 'chromium', url: '***', show: true, keepBrowserState: true, // This ensures cookies and session are maintained across scenarios restart: false, // Prevents browser from restarting after...
# ❌ `run-workers` Fails When Using Data-Driven Tests (`Data().Scenario`) with Large Data Sets ### **Description** When running tests using **CodeceptJS workers** with the following command: ```sh npx codeceptjs run-workers --suites...
I installed CodeceptJS at latest, then Node.js showed it has vulnerabirities. I audited and the result is: ``` # npm audit report cross-spawn =2.2.0 Depends on vulnerable versions of cross-spawn...