CodeceptJS
CodeceptJS copied to clipboard
Supercharged End 2 End Testing Framework for NodeJS
#### What are you trying to achieve? To run a series of test features expect 0 or positive failures, or 100% success across all 78 tests. #### What do you...
#### What are you trying to achieve? Using [minimist](https://www.npmjs.com/package/minimist) to use -e to passing environment variable. For example adding the following script in package.json ```bash "ci_xxx": "codeceptjs run -c codecept.ci.conf.js...
#### What are you trying to achieve? I am implementing a custom BDD step which calls a method and expecting that step should get executed and should log step to...
**event.test.finished** event has empty **artifacts** property when artifacts are present The built in CLI reporter correctly outputs the artifacts in the console but a plugin listening for events receives an...
i use codecept.conf.js and when i run: npx codeceptjs run --override '{ "helpers": {"WebDriver": {"browser": "chrome"}}}' i got this message: Unexpected token h in JSON at position 2 SyntaxError: at...
#### What are you trying to achieve? I'm trying to set headers using I.haveRequestHeaders. #### What do you get instead? The headers are not set. ### Details * CodeceptJS version:...
#### I'm trying to run e2e tests in parallel with workers (run-workers) in Github Actions in headless mode and getting this error browserContext.storageState: net::ERR_FAILED at https://localhost:3000/ at Playwright._after Some of...
Plugin part : ``` plugins: { wdio: { enabled: true, services: [ [ 'browserstack', { browserstackLocal: true } ] ], }, } ``` Error I'm getting: ``` Could not load...
#### What are you trying to achieve? I am trying to use BeforeSuite and AfterSuite hooks #### What do you get instead? Could not include object Step Definition from ../step_definitions/hooks.js...
#### What are you trying to achieve? In case the test fails, I want the app to close. I am using Appium with restart: false, because I don't want it...