chore(trading): change runner for mainnet compatible vega version (#4907)

This commit is contained in:
Radosław Szpiech 2023-09-27 14:42:12 +02:00 committed by GitHub
parent d78de10855
commit 2640ccb20a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ jobs:
matrix: matrix:
project: ${{ fromJSON(inputs.projects) }} project: ${{ fromJSON(inputs.projects) }}
name: ${{ matrix.project }} name: ${{ matrix.project }}
runs-on: self-hosted-runner runs-on: mainnet-compatible-runner
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
# Checks if skip cache was requested # Checks if skip cache was requested

View File

@ -24,9 +24,7 @@ describe('deal ticker order validation', { tags: '@smoke' }, () => {
beforeEach(() => { beforeEach(() => {
cy.mockTradingPage(); cy.mockTradingPage();
cy.getByTestId('deal-ticket-fee-margin-required').within(() => { cy.getByTestId('deal-ticket-fee-margin-required').click();
cy.get('button').click();
});
}); });
describe('limit order', () => { describe('limit order', () => {
@ -111,6 +109,7 @@ describe('deal ticker order validation', { tags: '@smoke' }, () => {
'Total margin available100.01 tDAI' 'Total margin available100.01 tDAI'
); );
}); });
cy.getByTestId('deal-ticket-fee-margin-required').click();
}); });
it('must have current margin allocation', () => { it('must have current margin allocation', () => {
@ -120,6 +119,7 @@ describe('deal ticker order validation', { tags: '@smoke' }, () => {
'Current margin allocation' 'Current margin allocation'
); );
}); });
cy.getByTestId('deal-ticket-fee-margin-required').click();
}); });
it('should open usage breakdown dialog when clicked on current margin allocation', () => { it('should open usage breakdown dialog when clicked on current margin allocation', () => {
@ -128,6 +128,7 @@ describe('deal ticker order validation', { tags: '@smoke' }, () => {
}); });
cy.getByTestId('usage-breakdown').should('exist'); cy.getByTestId('usage-breakdown').should('exist');
cy.getByTestId('dialog-close').click(); cy.getByTestId('dialog-close').click();
cy.getByTestId('deal-ticket-fee-margin-required').click();
}); });
}); });
}); });

View File

@ -86,8 +86,8 @@ describe('trades', { tags: '@smoke' }, () => {
}); });
it('copy price to deal ticket form', () => { it('copy price to deal ticket form', () => {
cy.getByTestId('Order').click();
// 6005-THIS-007 // 6005-THIS-007
cy.getByTestId('order-type-Limit').click();
cy.get(colIdPrice).last().should('be.visible').click(); cy.get(colIdPrice).last().should('be.visible').click();
cy.getByTestId('order-price').should('have.value', '171.16898'); cy.getByTestId('order-price').should('have.value', '171.16898');
}); });

View File

@ -195,7 +195,6 @@
"market.fee.factors.makerFee": "0.004", "market.fee.factors.makerFee": "0.004",
"market.liquidity.stakeToCcyVolume": "0.3", "market.liquidity.stakeToCcyVolume": "0.3",
"market.liquidity.targetstake.triggering.ratio": "0.7", "market.liquidity.targetstake.triggering.ratio": "0.7",
"market.liquidity.providersFeeCalculationTimeStep": "5s",
"network.checkpoint.timeElapsedBetweenCheckpoints": "10s", "network.checkpoint.timeElapsedBetweenCheckpoints": "10s",
"reward.asset": "{{.GetVegaContractID "VEGA"}}", "reward.asset": "{{.GetVegaContractID "VEGA"}}",
"reward.staking.delegation.competitionLevel": "3.1", "reward.staking.delegation.competitionLevel": "3.1",