mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
console: handle baseUrl in tests
This commit is contained in:
parent
38c91e2b9e
commit
25a45d3366
@ -1,4 +1,4 @@
|
||||
export const testMode = Cypress.env('TEST_MODE');
|
||||
export const baseUrl = Cypress.env('BASE_URL');
|
||||
export const baseUrl = Cypress.config('baseUrl');
|
||||
export const migrateUrl = Cypress.env('MIGRATE_URL');
|
||||
export const migrateModeUrl = `${migrateUrl}/settings`;
|
||||
|
@ -1,4 +1,4 @@
|
||||
export const baseUrl = Cypress.env('BASE_URL');
|
||||
export const baseUrl = Cypress.config('baseUrl');
|
||||
export const dataTypes = [
|
||||
'serial',
|
||||
'bigserial',
|
||||
|
842
console/package-lock.json
generated
842
console/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -22,7 +22,7 @@
|
||||
"dev": "concurrently --kill-others \"npm run watch-client\" \"npm run start-dev\" ",
|
||||
"precommit": "lint-staged",
|
||||
"cypress": "cypress open",
|
||||
"test": "cypress run --spec 'cypress/integration/test_complete.js'"
|
||||
"test": "cypress run --spec 'cypress/integration/test_complete.js' --config baseUrl=$CYPRESS_BASE_URL"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": [
|
||||
|
Loading…
Reference in New Issue
Block a user