Skip to content

Commit 23b756f

Browse files
committed
ARN-2494 Try running tests in Chrome
1 parent ea55040 commit 23b756f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/e2e_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
uses: cypress-io/github-action@v6
6767
with:
6868
publish-summary: false
69-
browser: edge
69+
browser: chrome
7070
env:
7171
SPEC: ${{ inputs.spec-file-patterns }}
7272
SPLIT: ${{ strategy.job-total }}

integration_tests/support/step_definitions/UPW/UPW-PDFPreview.tests.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ When('I view the generated PDF', () => {
1010
cy.get('@crn').then((crn) => {
1111
cy.visit(`${Cypress.env().ARNS_API_URL}/sns/${Cypress.env().LOCALSTACK_HOSTNAME}/${crn}`)
1212
// eslint-disable-next-line cypress/no-unnecessary-waiting
13-
cy.wait(2000)
14-
cy.scrollTo(0, 10000, { duration: 3000 })
15-
cy.scrollTo(0, 0, { duration: 3000 })
13+
cy.wait(1000)
14+
cy.scrollTo(0, 10000, { duration: 2000 })
15+
cy.scrollTo(0, 0, { duration: 2000 })
1616
// eslint-disable-next-line cypress/no-unnecessary-waiting
17-
cy.wait(17000)
17+
cy.wait(2000)
1818
})
1919
})
2020

0 commit comments

Comments
 (0)