test: added missing block confirmation coverage (#1115)
This commit is contained in:
parent
ee276673d4
commit
664c55960b
@ -42,5 +42,6 @@ module.exports = defineConfig({
|
|||||||
vegaTokenAddress: '0x67175Da1D5e966e40D11c4B2519392B2058373de',
|
vegaTokenAddress: '0x67175Da1D5e966e40D11c4B2519392B2058373de',
|
||||||
txTimeout: { timeout: 40000 },
|
txTimeout: { timeout: 40000 },
|
||||||
epochTimeout: { timeout: 10000 },
|
epochTimeout: { timeout: 10000 },
|
||||||
|
blockConfirmations: 3,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -50,6 +50,7 @@ context(
|
|||||||
//1000-ASSO-0009
|
//1000-ASSO-0009
|
||||||
//1000-ASSO-0030
|
//1000-ASSO-0030
|
||||||
//1000-ASSO-0012
|
//1000-ASSO-0012
|
||||||
|
//1000-ASSO-0013
|
||||||
//1000-ASSO-0014
|
//1000-ASSO-0014
|
||||||
//1000-ASSO-0015
|
//1000-ASSO-0015
|
||||||
//1000-ASSO-0030
|
//1000-ASSO-0030
|
||||||
|
@ -73,6 +73,14 @@ Cypress.Commands.add('staking_page_associate_tokens', (amount, options) => {
|
|||||||
}).should('not.exist');
|
}).should('not.exist');
|
||||||
}
|
}
|
||||||
cy.get(tokenSubmitButton, txTimeout).should('be.enabled').click();
|
cy.get(tokenSubmitButton, txTimeout).should('be.enabled').click();
|
||||||
|
cy.contains(
|
||||||
|
`Associating with Vega key. Waiting for ${Cypress.env(
|
||||||
|
'blockConfirmations'
|
||||||
|
)} more confirmations..`,
|
||||||
|
{
|
||||||
|
timeout: 8000,
|
||||||
|
}
|
||||||
|
).should('be.visible');
|
||||||
cy.contains('can now participate in governance and nominate a validator', {
|
cy.contains('can now participate in governance and nominate a validator', {
|
||||||
timeout: 60000,
|
timeout: 60000,
|
||||||
}).should('be.visible');
|
}).should('be.visible');
|
||||||
|
@ -12,6 +12,7 @@ NX_ETHEREUM_CHAIN_ID=1440
|
|||||||
NX_ETH_URL_CONNECT=1
|
NX_ETH_URL_CONNECT=1
|
||||||
NX_ETH_WALLET_MNEMONIC=ozone access unlock valid olympic save include omit supply green clown session
|
NX_ETH_WALLET_MNEMONIC=ozone access unlock valid olympic save include omit supply green clown session
|
||||||
NX_LOCAL_PROVIDER_URL=http://localhost:8545/
|
NX_LOCAL_PROVIDER_URL=http://localhost:8545/
|
||||||
|
NX_VEGA_WALLET_URL=http://localhost:1789/api/v1
|
||||||
|
|
||||||
#Test configuration variables
|
#Test configuration variables
|
||||||
CYPRESS_FAIRGROUND=false
|
CYPRESS_FAIRGROUND=false
|
||||||
|
Loading…
Reference in New Issue
Block a user