Skip to content

Commit

Permalink
increase initial load timeout to 10 minutes to test load times
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmontville committed May 9, 2024
1 parent 47d36fa commit 06a31be
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function playFluencyCALF({
cy.visit(`/game/${task}`);

// Click jspsych button to begin
cy.get('.jspsych-btn', { timeout: 6 * timeout })
cy.get('.jspsych-btn', { timeout: 60 * timeout })
.should('be.visible')
.click();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function startGame(administration, language, optional) {
checkGameTab(language);
cy.visit(languageOptions[language].url);

cy.get('.jspsych-btn', { timeout: 6 * timeout })
cy.get('.jspsych-btn', { timeout: 60 * timeout })
.should('be.visible')
.click();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function startGame(administration, language, optional, task) {
checkGameTab(language, task);
cy.visit(languageOptions[language][task].url);

cy.get('.jspsych-btn', { timeout: 3 * timeout })
cy.get('.jspsych-btn', { timeout: 60 * timeout })
.should('be.visible')
.click();

Expand Down
4 changes: 2 additions & 2 deletions cypress/support/helper-functions/roar-pa/paHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ const playTrial = (targetText) => {
};

function playIntro(startText) {
cy.get('.instructionCanvasNS', { timeout: 6 * timeout })
cy.get('.instructionCanvasNS', { timeout: 60 * timeout })
.should('be.visible')
.click();

cy.get('.jspsych-btn', { timeout: 6 * timeout })
cy.get('.jspsych-btn', { timeout: 60 * timeout })
.should('be.visible')
.click();

Expand Down
2 changes: 1 addition & 1 deletion cypress/support/helper-functions/roar-sre/sreHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const playSRE = ({
.should('exist');
cy.visit(languageOptions[language].url);

cy.get('.jspsych-btn', { timeout: 6 * timeout })
cy.get('.jspsych-btn', { timeout: 60 * timeout })
.should('be.visible')
.click();

Expand Down
2 changes: 1 addition & 1 deletion cypress/support/helper-functions/roar-swr/swrHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const playSWR = ({
cy.get('.p-tabview', { timeout: timeout }).contains(languageOptions[language].gameTab).should('exist');
cy.visit(languageOptions[language].url);

cy.get('.jspsych-btn', { timeout: 6 * timeout })
cy.get('.jspsych-btn', { timeout: 60 * timeout })
.should('be.visible')
.click();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function startGame(administration, language, optional) {
checkGameTab(language);
cy.visit(languageOptions[language].url);

cy.get('.jspsych-btn', { timeout: 6 * timeout })
cy.get('.jspsych-btn', { timeout: 60 * timeout })
.should('be.visible')
.click();

Expand Down

0 comments on commit 06a31be

Please sign in to comment.