k6-cucumber-steps 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -41
- package/bin/k6-cucumber-steps.js +58 -161
- package/package.json +13 -5
- package/scripts/linkReports.js +43 -50
- package/step_definitions/load_test_steps.js +15 -11
- package/.env +0 -38
- package/.github/workflows/k6-load-test.yml +0 -42
- package/.vscode/extensions.json +0 -3
- package/.vscode/settings.json +0 -14
- package/assets/k6-cucumber-report.png +0 -0
- package/assets/k6-cucumber-report2.png +0 -0
- package/assets/paschal logo (2).png +0 -0
- package/cucumber.js +0 -17
- package/reports/cucumber-report.html +0 -50
- package/reports/load-report.json +0 -294
- package/temp/load_script_6ae38e6d-f93e-443a-a516-587047b1f46b.js +0 -65
package/.env
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
NODE_ENV=sandbox
|
|
2
|
-
POSTMAN_ENV=test
|
|
3
|
-
APP_ENVIRONMENT=development
|
|
4
|
-
|
|
5
|
-
POSTMAN_COLLECTION_URL='https://api.getpostman.com/collections/21022247-5a73af48-e8b9-4aa3-a55d-a352517404bf'
|
|
6
|
-
POSTMAN_ENVIRONMENT_URL='https://api.getpostman.com/environments/21022247-fdb96b14-4bd7-4e5b-8bec-c39f95c8fa0d'
|
|
7
|
-
POSTMAN_ENVIRONMENT_URL_STAGE='https://api.getpostman.com/environments/21022247-fdb96b14-4bd7-4e5b-8bec-c39f95c8fa0d'
|
|
8
|
-
POSTMAN_ENVIRONMENT_URL_SANDBOX=https://api.getpostman.com/environments/26431315-6e705dea-3f42-4fda-a8a0-cdea63dac91d
|
|
9
|
-
POSTMAN_ENVIRONMENT_URL_PROD=https://api.getpostman.com/environments/26431315-6e705dea-3f42-4fda-a8a0-cdea63dac91d
|
|
10
|
-
# SLACK_WEBHOOK_URL-stage=https://hooks.slack.com/services/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
|
|
11
|
-
# SLACK_WEBHOOK_URL='https://hooks.slack.com/services/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'
|
|
12
|
-
POSTMAN_API_KEY='PMAK-655f12ee88ca96002a53ce0e-f91a566c91b8b88e9f17cb460347cd6a47'
|
|
13
|
-
21022247-5a73af48-e8b9-4aa3-a55d-a352517404bf
|
|
14
|
-
21022247-fdb96b14-4bd7-4e5b-8bec-c39f95c8fa0d
|
|
15
|
-
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/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
|
|
16
|
-
WEB_URL='https://sandbox-decide.indicina.net/'
|
|
17
|
-
# WEB_URL=https://decide.indicina.co/
|
|
18
|
-
# CYPRESS_TAGS='@regression'
|
|
19
|
-
# CYPRESS_TAGS='@sanity'
|
|
20
|
-
|
|
21
|
-
# API_BASE_URL=https://sandbox-decide-api.indicina.net
|
|
22
|
-
BASE_URL=https://sandbox-decide-api.indicina.net
|
|
23
|
-
USER_EMAIL=product.indicina@yopmail.com
|
|
24
|
-
USER_PASSWORD=1Password@
|
|
25
|
-
# USER_EMAIL= product.tester@indicina.co
|
|
26
|
-
# USER_PASSWORD=?Indicina123
|
|
27
|
-
CLIENT_SECRET_PROD=AHP84J7-KJJMSJ3-NAH3NWE-JEWSEA0
|
|
28
|
-
SLUG=indicina
|
|
29
|
-
ACCOUNT_TYPE=ACCOUNT_TYPE_MERCHANT
|
|
30
|
-
CLIENT_SECRET=MD5Y106-RYG4STY-H3B33FS-CRS5AMG
|
|
31
|
-
CLIENT_ID=indicina
|
|
32
|
-
CUSTOMER_ID_PROD=3a39b1c0-a725-48cf-8c44-1298d3c399a6
|
|
33
|
-
CUSTOMER_ID_SANDBOX=f7cbfe40-2330-11ef-8a77-025b06f85973
|
|
34
|
-
|
|
35
|
-
TEAMS_WEBHOOK_URL= https://seamlesshrsuite.webhook.office.com/webhookb2/51bb6663-5d8e-4c68-bfc6-f01e24999c3a@45908be8-ba32-466d-ac1f-8fb319a24cba/IncomingWebhook/ef5fd5b0a6be4e05a2b0943968c40429/04c7e600-d01e-41f8-9298-d38d80577410/V28Cgsd2MwRXM7LxjM-cLtSMm0QuwZm27DPq7sXeK2q9c1
|
|
36
|
-
# GITHUB_RUN_ID= tests_webhook
|
|
37
|
-
# TEAMS_WEBHOOK_URL=https://seamlesshrsuite.webhook.office.com/webhookb2/58ab15f8-c6a7-44ec-b1ad-e437c707ed73@45908be8-ba32-466d-ac1f-8fb319a24cba/IncomingWebhook/59a3b2b15f254f24a822ec6b0452f670/04c7e600-d01e-41f8-9298-d38d80577410/V2idCGcJwnS_VqKep-2Hmx5rZosVRByQrvMV2Yxh22lM81
|
|
38
|
-
REPORT_URL="http://localhost:5500/cypress-ms-teams-reporter/cypress/reports/html/index.html"
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
name: build
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
release:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
permissions:
|
|
10
|
-
contents: write
|
|
11
|
-
strategy:
|
|
12
|
-
matrix:
|
|
13
|
-
node-version: [lts/*]
|
|
14
|
-
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v4
|
|
17
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
18
|
-
uses: actions/setup-node@v4
|
|
19
|
-
with:
|
|
20
|
-
node-version: ${{ matrix.node-version }}
|
|
21
|
-
cache: "npm"
|
|
22
|
-
registry-url: "https://registry.npmjs.org"
|
|
23
|
-
- name: Install Dependencies
|
|
24
|
-
run: npm install
|
|
25
|
-
- name: Configure Git for Commit
|
|
26
|
-
run: |
|
|
27
|
-
git config --global user.email "paschal.enyimiri@gmail.com"
|
|
28
|
-
git config --global user.name "Paschal Enyimiri"
|
|
29
|
-
- name: Add changes
|
|
30
|
-
run: git add .
|
|
31
|
-
- name: Commit changes
|
|
32
|
-
run: git commit -m "chore:Automated changes before versioning" || echo "No changes to commit"
|
|
33
|
-
- name: Set new version as patch and create commit
|
|
34
|
-
run: npm version patch
|
|
35
|
-
- name: Check new version
|
|
36
|
-
run: echo "New version is $(npm pkg get version)"
|
|
37
|
-
- name: Push changes
|
|
38
|
-
run: git push --follow-tags
|
|
39
|
-
- name: Publish to npm
|
|
40
|
-
run: npm publish
|
|
41
|
-
env:
|
|
42
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/.vscode/extensions.json
DELETED
package/.vscode/settings.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cucumber.features": [
|
|
3
|
-
"src/features/*.feature",
|
|
4
|
-
"src/features/**/*.feature",
|
|
5
|
-
"src/features/**/*.k6.feature",
|
|
6
|
-
"src/features/template/*.feature"
|
|
7
|
-
],
|
|
8
|
-
"cucumber.glue": [
|
|
9
|
-
"step_definitions/*.js",
|
|
10
|
-
"src/features/stepDefinitions/*.js"
|
|
11
|
-
],
|
|
12
|
-
"liveServer.settings.port": 5501,
|
|
13
|
-
"git.ignoreLimitWarning": true
|
|
14
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/cucumber.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
default: {
|
|
3
|
-
require: ["./step_definitions/**/*.js"],
|
|
4
|
-
format: [
|
|
5
|
-
"summary",
|
|
6
|
-
"json:./reports/load-report.json",
|
|
7
|
-
"html:./reports/cucumber-report.html",
|
|
8
|
-
],
|
|
9
|
-
paths: ["./features/bsp.feature"],
|
|
10
|
-
tags: "@get",
|
|
11
|
-
worldParameters: {
|
|
12
|
-
payloadPath: "payloads",
|
|
13
|
-
},
|
|
14
|
-
overwrite: true,
|
|
15
|
-
reporter: true,
|
|
16
|
-
},
|
|
17
|
-
};
|