From 23233ba39a9a664ead12c7bec410e87baac836f5 Mon Sep 17 00:00:00 2001 From: unstoppa61e Date: Thu, 14 Apr 2022 15:12:53 +0900 Subject: [PATCH] =?UTF-8?q?GitHub=20Actions=E3=81=A7=E8=90=BD=E3=81=A1?= =?UTF-8?q?=E3=82=8B=E3=83=86=E3=82=B9=E3=83=88=E3=81=AE=E5=BE=85=E3=81=A1?= =?UTF-8?q?=E6=99=82=E9=96=93=E3=82=92=E9=95=B7=E3=81=8F=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cypress/integration/stage_select.spec.ts | 20 ++++++++++---------- cypress/integration/url_access.spec.ts | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/cypress/integration/stage_select.spec.ts b/cypress/integration/stage_select.spec.ts index 6319272..e89906f 100644 --- a/cypress/integration/stage_select.spec.ts +++ b/cypress/integration/stage_select.spec.ts @@ -2,9 +2,9 @@ describe('Stage select', () => { context('when the user clicks stage 1 panel', () => { it('moves to stage 1', () => { cy.visit('/') - cy.wait(2000) + cy.wait(5000) cy.findByTestId('stage-panel-1').click() - cy.wait(2000) + cy.wait(5000) cy.url().should('eq', Cypress.config().baseUrl + '/stages/1') }) }) @@ -13,9 +13,9 @@ describe('Stage select', () => { context('if stage 1 is not cleared yet', () => { it('remains home', () => { cy.visit('/') - cy.wait(2000) + cy.wait(5000) cy.findByTestId('stage-panel-2').click() - cy.wait(2000) + cy.wait(5000) cy.url().should('eq', Cypress.config().baseUrl + '/') }) }) @@ -24,9 +24,9 @@ describe('Stage select', () => { it('moves to stage 2', () => { cy.setLocalStorage('gorogoropanda.com/clearedStage', 'gjj'); cy.visit('/') - cy.wait(2000) + cy.wait(5000) cy.findByTestId('stage-panel-2').click() - cy.wait(2000) + cy.wait(5000) cy.url().should('eq', Cypress.config().baseUrl + '/stages/2') }) }) @@ -37,9 +37,9 @@ describe('Stage select', () => { it('remains home', () => { cy.setLocalStorage('gorogoropanda.com/clearedStage', 'u51'); cy.visit('/') - cy.wait(2000) + cy.wait(5000) cy.findByTestId('review-panel-1').click() - cy.wait(2000) + cy.wait(5000) cy.url().should('eq', Cypress.config().baseUrl + '/') }) }) @@ -48,9 +48,9 @@ describe('Stage select', () => { it('moves to review 1', () => { cy.setLocalStorage('gorogoropanda.com/clearedStage', 'ttw'); cy.visit('/') - cy.wait(2000) + cy.wait(5000) cy.findByTestId('review-panel-1').click() - cy.wait(2000) + cy.wait(5000) cy.url().should('eq', Cypress.config().baseUrl + '/reviews/1') }) }) diff --git a/cypress/integration/url_access.spec.ts b/cypress/integration/url_access.spec.ts index 201c8a7..2b43060 100644 --- a/cypress/integration/url_access.spec.ts +++ b/cypress/integration/url_access.spec.ts @@ -2,7 +2,7 @@ describe('URL access', () => { context('when the user accesses stage 1 URL', () => { it('moves to stage 1', () => { cy.visit('/stages/1') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/stages/1') }) }) @@ -11,7 +11,7 @@ describe('URL access', () => { context('if stage 1 is not cleared yet', () => { it('gets redirected home', () => { cy.visit('/stages/2') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/') }) }) @@ -20,7 +20,7 @@ describe('URL access', () => { it('moves to stage 2', () => { cy.setLocalStorage('gorogoropanda.com/clearedStage', 'gjj'); cy.visit('/stages/2') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/stages/2') }) }) @@ -30,7 +30,7 @@ describe('URL access', () => { context('if no stages are cleared yet', () => { it('gets redirected home', () => { cy.visit('/reviews/1') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/') }) }) @@ -39,7 +39,7 @@ describe('URL access', () => { it('gets redirected home', () => { cy.setLocalStorage('gorogoropanda.com/clearedStage', 'u51'); cy.visit('/reviews/1') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/') }) }) @@ -48,7 +48,7 @@ describe('URL access', () => { it('moves to review 1', () => { cy.setLocalStorage('gorogoropanda.com/clearedStage', 'ttw'); cy.visit('/reviews/1') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/reviews/1') }) }) @@ -58,7 +58,7 @@ describe('URL access', () => { context('if no stages are cleared yet', () => { it('gets redirected home', () => { cy.visit('/thank-you-for-playing') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/') }) }) @@ -67,7 +67,7 @@ describe('URL access', () => { it('gets redirected home', () => { cy.setLocalStorage('gorogoropanda.com/clearedStage', 'ttw'); cy.visit('/thank-you-for-playing') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/') }) }) @@ -77,7 +77,7 @@ describe('URL access', () => { cy.setLocalStorage('gorogoropanda.com/clearedStage', 'ttw'); cy.setLocalStorage('gorogoropanda.com/clearedReview', 'gjj'); cy.visit('/thank-you-for-playing') - cy.wait(750) + cy.wait(2000) cy.url().should('eq', Cypress.config().baseUrl + '/thank-you-for-playing') }) })