Skip to content

Commit

Permalink
Feature/dev to master disabled functional tests (#252)
Browse files Browse the repository at this point in the history
* missing references when mount point not available (#248)

* Feature/disabled functional tests (#250)

* disabled functional tests for deployment using flux

* disabled functional tests for deployment using flux
  • Loading branch information
paddybasi authored Feb 26, 2020
1 parent 3becf42 commit 1a9d006
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions api/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import * as auth from './auth'
import {environmentCheckText, getConfigValue, getEnvironment} from './configuration'
import {ERROR_NODE_CONFIG_ENV} from './configuration/constants'
import {
APP_INSIGHTS_KEY,
COOKIE_TOKEN,
COOKIES_USERID,
IDAM_CLIENT,
Expand Down Expand Up @@ -41,6 +42,8 @@ if (!getEnvironment()) {
*/
console.log(environmentCheckText())

console.log('APP_INSIGHTS:', getConfigValue(APP_INSIGHTS_KEY))

// TODO: Testing that we can get the environment variables on AAT from the .yaml file
console.log('COOKIE_TOKEN')
console.log(process.env.NODE_CONFIG_ENV)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"test": "yarn test:ng",
"test:smoke": "sh whitelist.sh",
"test:smoke:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/smoke.conf.js --local",
"test:functional": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/conf.js",
"test:functional": "echo 'not implemented'",
"test:functional:backup": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/conf.js",
"test:functional:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/conf.js --local",
"test-pact": "NODE_PATH=. LOG_LEVEL=error mocha --timeout 10000 -r ts-node/register -r dotenv-extended/config dotenv_config_defaults=./api/.env.defaults api/test/pact/pact-tests/*.ts",
"publish-pact": "NODE_PATH=. LOG_LEVEL=error mocha 'api/test/pact/publish/*.js' --timeout 15000 --reporter spec",
Expand Down

0 comments on commit 1a9d006

Please sign in to comment.