2.0.8 • Published 3 years ago

@tillpayments-qa/ta-common-services v2.0.8

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

TILL-TA-COMMON-SERVICES

This till-ta-common-services npm module have some common reusable features like Base Locators, Page Actions and TestRail Update.

Github Link

https://github.com/tillpayments/till-ta-common-services.git

Installation

npm install @tillpayments-qa/ta-common-services --save --dev

Usage

  1. Add below required .ENV variables
TESTRAIL_USERNAME = "Username"
TESTRAIL_PASSWORD = "Password"
TESTRAIL_RUN_NAME = "ANY_NAME"
TESTRAIL_PROJECT_ID = 1234
TESTRAIL_SUITE_ID = 12345
  1. Add below commands in package.json scripts section
"testrail:update": "npx ts-node ./node_modules/@tillpayments-qa/ta-common-services/testrail/update.ts"
"testrail:coverage": "npx ts-node ./node_modules/@tillpayments-qa/ta-common-services/testrail/coverage.ts"
  1. Run the below command to execute the test rail update.
npm run testrail:update
  1. Run the below command to execute the test rail coverage.
npm run testrail:coverage

Publish to NPM

  1. Update the version number in package.json.
  2. Update the dependencies with npm install command.
  3. Make a new build with npm run build command.
  4. Execute the npm login command and provide the npm username and password from terminal.
  5. Once npm login was successful publish the new build- into NPM with npm publish --access public command.

Notes:

  1. Make sure commit and push your code changes into git once publish the new build into NPM registry.
1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.8

3 years ago

1.1.11

3 years ago

1.1.10

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.10

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago