2.0.8 • Published 3 years ago
@tillpayments-qa/ta-common-services v2.0.8
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
- Add below required .ENV variables
TESTRAIL_USERNAME = "Username"
TESTRAIL_PASSWORD = "Password"
TESTRAIL_RUN_NAME = "ANY_NAME"
TESTRAIL_PROJECT_ID = 1234
TESTRAIL_SUITE_ID = 12345
- 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"
- Run the below command to execute the test rail update.
npm run testrail:update
- Run the below command to execute the test rail coverage.
npm run testrail:coverage
Publish to NPM
- Update the version number in package.json.
- Update the dependencies with
npm install
command. - Make a new build with
npm run build
command. - Execute the
npm login
command and provide the npm username and password from terminal. - Once npm login was successful publish the new build- into NPM with
npm publish --access public
command.
Notes:
- 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