diff --git a/.github/workflows/console-test-run.yml b/.github/workflows/console-test-run.yml index 28211ac59..66984ade1 100644 --- a/.github/workflows/console-test-run.yml +++ b/.github/workflows/console-test-run.yml @@ -1,5 +1,8 @@ name: (CI) Console tests +env: + VEGA_VERSION: v0.72.14 + on: workflow_call: inputs: @@ -11,7 +14,7 @@ jobs: run-tests: name: run-tests runs-on: console-test - timeout-minutes: 20 + timeout-minutes: 40 steps: #---------------------------------------------- # check-out frontend-monorepo @@ -78,7 +81,8 @@ jobs: #---------------------------------------------- - name: Install vega binaries working-directory: ./console-test - run: poetry run python -m vega_sim.tools.load_binaries --force + if: steps.vega_binaries_cache.outputs.cache-hit != 'true' + run: poetry run python -m vega_sim.tools.load_binaries --force --version $VEGA_VERSION #---------------------------------------------- # install playwright #---------------------------------------------- diff --git a/apps/trading-e2e/src/integration/trading-deal-ticket-order.cy.ts b/apps/trading-e2e/src/integration/trading-deal-ticket-order.cy.ts index d2bd1c0d6..ac6be028d 100644 --- a/apps/trading-e2e/src/integration/trading-deal-ticket-order.cy.ts +++ b/apps/trading-e2e/src/integration/trading-deal-ticket-order.cy.ts @@ -24,9 +24,7 @@ describe('deal ticker order validation', { tags: '@smoke' }, () => { beforeEach(() => { cy.mockTradingPage(); - cy.getByTestId('deal-ticket-fee-margin-required').within(() => { - cy.get('button').click(); - }); + cy.getByTestId('deal-ticket-fee-margin-required').click(); }); describe('limit order', () => { @@ -111,6 +109,7 @@ describe('deal ticker order validation', { tags: '@smoke' }, () => { 'Total margin available100.01 tDAI' ); }); + cy.getByTestId('deal-ticket-fee-margin-required').click(); }); it('must have current margin allocation', () => { @@ -120,6 +119,7 @@ describe('deal ticker order validation', { tags: '@smoke' }, () => { 'Current margin allocation' ); }); + cy.getByTestId('deal-ticket-fee-margin-required').click(); }); 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('dialog-close').click(); + cy.getByTestId('deal-ticket-fee-margin-required').click(); }); }); }); diff --git a/apps/trading-e2e/src/integration/trading-trades.cy.ts b/apps/trading-e2e/src/integration/trading-trades.cy.ts index 50ad89f99..47518fbca 100644 --- a/apps/trading-e2e/src/integration/trading-trades.cy.ts +++ b/apps/trading-e2e/src/integration/trading-trades.cy.ts @@ -86,8 +86,8 @@ describe('trades', { tags: '@smoke' }, () => { }); it('copy price to deal ticket form', () => { - cy.getByTestId('Order').click(); // 6005-THIS-007 + cy.getByTestId('order-type-Limit').click(); cy.get(colIdPrice).last().should('be.visible').click(); cy.getByTestId('order-price').should('have.value', '171.16898'); });