landk-cucumber-playwright-typescript-framework-v3 v1.0.21
landk-cucumber-playwright-framework-v3
Protractor has announced about the ceasing of support by Dec'22. This is a "common framework with Typescript + Cucumber
- Playwright", replacing the existing v2 framework in "typescript, cucumber and protractor"
Every project team needs to have their own project based framework in this same structure.
This v3 common framework should be used for common step-definitions
How to run ?
-> Get your own project related framework configured -> configure the tags under "root\src\index.ts"
For MAC users->>>>>>>
from project as root, run the run_test.sh file as ./run_tests.sh --profile e.g. to run all tests with @dev tag: './run_tests.sh --profile dev'
all the tests will be ran and the cucumber report will be generated in HTML and
For WINDOWS users->>>>>>>
From PS terminal
yarn run precucumber yarn run transpile
set global variables
$env:NODE_ENV='production' $env:COMMON_CONFIG_FILE='env/common.env'
run the test now
yarn cucumber-js --profile dev
Generate the report from json
ts-node src/reporter/cucumber-report.ts
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago