From e4ed63629d37a5d4b6c1d5fb437464e71511e9d3 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Wed, 27 Aug 2025 15:36:41 -0400 Subject: [PATCH] chore(test): fix sample-rendering.e2e.ts and layers.e2e.ts increase DOWNLOAD_TIMEOUT for e2e tests --- .github/workflows/e2e.yml | 2 +- tests/pageobjects/volview.page.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index d756725aa..f3589bee0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -10,7 +10,7 @@ jobs: name: E2E Testing on ${{ matrix.os }} runs-on: ${{ matrix.os }} env: - DOWNLOAD_TIMEOUT: 60000 + DOWNLOAD_TIMEOUT: 90000 steps: - uses: actions/checkout@v4 with: diff --git a/tests/pageobjects/volview.page.ts b/tests/pageobjects/volview.page.ts index 0a4e5bcdb..bfff220f1 100644 --- a/tests/pageobjects/volview.page.ts +++ b/tests/pageobjects/volview.page.ts @@ -69,7 +69,7 @@ class VolViewPage extends Page { } async getNotificationsCount() { - const badge = await this.notifications.$('span[aria-label="Badge"]'); + const badge = this.notifications.$('span[aria-label="Badge"]'); const innerText = await badge.getText(); if (innerText === '') return 0; return parseInt(innerText, 10); @@ -94,7 +94,7 @@ class VolViewPage extends Page { } async activateRectangle() { - const button = await this.rectangleButton; + const button = this.rectangleButton; await button.click(); } @@ -119,16 +119,16 @@ class VolViewPage extends Page { } async saveSession() { - const save = await this.saveButton; + const save = this.saveButton; await save.click(); - const input = await this.saveSessionFilenameInput; + const input = this.saveSessionFilenameInput; const id = getId(); const fileName = `${id}-session.volview.zip`; await setValueVueInput(input, fileName); - const confirm = await this.saveSessionConfirmButton; + const confirm = this.saveSessionConfirmButton; await confirm.click(); cleanuptotal.addCleanup(async () => {