Skip to content

Commit

Permalink
regression test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Aug 1, 2022
1 parent 8c3efef commit 3660cdf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@
"name": "Delete",
"item": [
{
"name": "Get Reset Password Token Success [200] Copy",
"name": "Delete User",
"event": [
{
"listen": "test",
Expand Down Expand Up @@ -723,4 +723,4 @@
]
}
]
}
}
6 changes: 2 additions & 4 deletions docs/REGRESSION_TESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ Open Template Hub - Auth Server Template v4

Please check [README.md](../README.md) to get more information to configure environment

* RESPONSE_ENCRYPTION_SECRET must be disabled on environment variables

## Configuration

* Import **analytics-server-regression.postman_environment.json** as environment to Postman
* Import **auth-server-regression.postman_environment_local.json** as environment to Postman

* Import **analytics-server-regression.postman_collection.json** as collection to Postman
* Import **auth-server-regression.postman_collection.json** as collection to Postman

* Update imported environment variables and run collection on Postman

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"start": "node version-generator.ts > ./version.ts && ts-node auth-server.main.ts",
"startLocal": "nodemon --exec DEBUG=* ts-node auth-server.main.ts",
"postmanLocal": "mkdir -p -- ./assets/test-results && touch ./assets/test-results/postman-dark.html && touch ./assets/test-results/postman.html && newman run assets/tests/regression-tests/postman/regression-test.postman_collection.json -e assets/tests/regression-tests/postman/regression-test.postman_environment_local.json -r htmlextra --reporter-htmlextra-export ./assets/test-results/postman.html --reporter-htmlextra-darkTheme > ./assets/test-results/postman-dark.html --env-var $npm_config_adminAuthToken --env-var $npm_config_responseEncryptionSecret",
"postmanDevelop": "mkdir -p -- ./assets/test-results && touch ./assets/test-results/postman-dark.html && touch ./assets/test-results/postman.html && newman run assets/tests/regression-tests/postman/regression-test.postman_collection.json -e assets/tests/regression-tests/postman/regression-test.postman_environment_develop.json -r htmlextra --reporter-htmlextra-export ./assets/test-results/postman.html --reporter-htmlextra-darkTheme > ./assets/test-results/postman-dark.html --env-var $npm_config_adminAuthToken --env-var $npm_config_responseEncryptionSecret",
"postmanLocal": "mkdir -p -- ./assets/test-results && touch ./assets/test-results/postman-dark.html && touch ./assets/test-results/postman.html && newman run assets/tests/regression-tests/postman/auth-server-regression.postman_collection.json -e assets/tests/regression-tests/postman/auth-server-regression.postman_environment_local.json -r htmlextra --reporter-htmlextra-export ./assets/test-results/postman.html --reporter-htmlextra-darkTheme > ./assets/test-results/postman-dark.html --env-var $npm_config_adminAuthToken --env-var $npm_config_responseEncryptionSecret",
"postmanDevelop": "mkdir -p -- ./assets/test-results && touch ./assets/test-results/postman-dark.html && touch ./assets/test-results/postman.html && newman run assets/tests/regression-tests/postman/auth-server-regression.postman_collection.json -e assets/tests/regression-tests/postman/auth-server-regression.postman_environment_develop.json -r htmlextra --reporter-htmlextra-export ./assets/test-results/postman.html --reporter-htmlextra-darkTheme > ./assets/test-results/postman-dark.html --env-var $npm_config_adminAuthToken --env-var $npm_config_responseEncryptionSecret",
"outdated": "node dependency-checker.ts > docs/OUTDATED.md"
},
"dependencies": {
Expand Down

0 comments on commit 3660cdf

Please sign in to comment.