1.0.21 • Published 2 years ago

landk-cucumber-playwright-typescript-framework-v3 v1.0.21

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago