Added cypress env name var for tests
This commit is contained in:
parent
13387e4ed4
commit
4862b0a1c3
@ -1,3 +1,4 @@
|
||||
# App configuration variables
|
||||
NX_VEGA_ENV = 'TESTNET'
|
||||
CYPRESS_VEGA_ENV = 'TESTNET'
|
||||
NX_VEGA_REST = 'https://lb.testnet.vega.xyz/datanode/rest'
|
||||
|
@ -1,3 +1,4 @@
|
||||
# App configuration variables
|
||||
NX_VEGA_ENV = 'DEVNET'
|
||||
CYPRESS_VEGA_ENV = 'DEVNET'
|
||||
NX_VEGA_REST = 'https://n04.d.vega.xyz/datanode/rest'
|
||||
|
@ -1,3 +1,4 @@
|
||||
# App configuration variables
|
||||
NX_VEGA_ENV = 'MAINNET'
|
||||
CYPRESS_VEGA_ENV = 'MAINNET'
|
||||
NX_VEGA_REST = 'https://api.token.vega.xyz/'
|
||||
|
@ -1,3 +1,4 @@
|
||||
# App configuration variables
|
||||
NX_VEGA_ENV = 'STAGNET 1'
|
||||
CYPRESS_VEGA_ENV = 'STAGNET 1'
|
||||
NX_VEGA_REST = 'https://n03.s.vega.xyz/datanode/rest'
|
||||
|
@ -1,3 +1,4 @@
|
||||
# App configuration variables
|
||||
NX_VEGA_ENV = 'STAGNET 2'
|
||||
CYPRESS_VEGA_ENV = 'STAGNET 2'
|
||||
NX_VEGA_REST = 'https://n01.stagnet2.vega.xyz/datanode/rest'
|
||||
|
@ -1,3 +1,4 @@
|
||||
# App configuration variables
|
||||
NX_VEGA_ENV = 'TESTNET'
|
||||
CYPRESS_VEGA_ENV = 'TESTNET'
|
||||
NX_VEGA_REST = 'https://lb.testnet.vega.xyz/datanode/rest'
|
||||
|
@ -1,4 +1,4 @@
|
||||
const textToCheck = process.env['NX_VEGA_ENV'];
|
||||
const textToCheck = Cypress.env('VEGA_ENV');
|
||||
|
||||
describe('stats', () => {
|
||||
beforeEach(() => cy.visit('/'));
|
||||
|
Loading…
Reference in New Issue
Block a user