-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into enh/change-password-email
- Loading branch information
Showing
83 changed files
with
3,010 additions
and
1,814 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { signInWithClever } from '../../../support/helper-functions/participant/participant-helpers'; | ||
|
||
export const timeout = Cypress.env('timeout'); | ||
|
||
describe('Cypress test to login in Clever', () => { | ||
it('passes', () => { | ||
cy.visit('/'); | ||
signInWithClever(); | ||
|
||
cy.contains('tasks completed!', { timeout: 2 * timeout }).should('be.visible'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
cypress/e2e/participant/network-tests/roam-fluency/playFluency-CALF-3G.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { playFluencyCALF } from '../../../../support/helper-functions/roam-fluency/fluencyHelpers'; | ||
import { isCurrentVersion } from '../../../../support/utils'; | ||
|
||
const app = '@bdelab/roam-fluency'; | ||
|
||
describe('Test playthrough of Fluency-CALF as a participant in a simulate 3G connection', () => { | ||
it('Fluency Playthrough Test', () => { | ||
cy.wrap(isCurrentVersion(app)).then((isCurrentVersion) => { | ||
if (isCurrentVersion) { | ||
cy.log(`Did not detect a new version of ${app}, skipping test.`); | ||
} else { | ||
cy.log(`Detected a new version of ${app}, running test.`); | ||
playFluencyCALF({ auth: 'username' }); | ||
} | ||
}); | ||
}); | ||
}); |
17 changes: 17 additions & 0 deletions
17
cypress/e2e/participant/network-tests/roam-fluency/playFluency-CALF-HighLatency.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { playFluencyCALF } from '../../../../support/helper-functions/roam-fluency/fluencyHelpers'; | ||
import { isCurrentVersion } from '../../../../support/utils'; | ||
|
||
const app = '@bdelab/roam-fluency'; | ||
|
||
describe('Test playthrough of Fluency-CALF as a participant in a simulate 3G connection', () => { | ||
it('Fluency Playthrough Test', () => { | ||
cy.wrap(isCurrentVersion(app)).then((isCurrentVersion) => { | ||
if (isCurrentVersion) { | ||
cy.log(`Did not detect a new version of ${app}, skipping test.`); | ||
} else { | ||
cy.log(`Detected a new version of ${app}, running test.`); | ||
playFluencyCALF({ auth: 'username' }); | ||
} | ||
}); | ||
}); | ||
}); |
17 changes: 17 additions & 0 deletions
17
cypress/e2e/participant/network-tests/roar-letter/playLetter-3G.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { playLetter } from '../../../../support/helper-functions/roar-letter/letterHelpers'; | ||
import { isCurrentVersion } from '../../../../support/utils'; | ||
|
||
const app = '@bdelab/roar-letter'; | ||
|
||
describe('ROAR - Letter Play Through using username authentication', () => { | ||
it('Plays Letter with username authentication in a simulated 3g connection', () => { | ||
cy.wrap(isCurrentVersion(app)).then((isCurrentVersion) => { | ||
if (isCurrentVersion) { | ||
cy.log(`Did not detect a new version of ${app}, skipping test.`); | ||
} else { | ||
cy.log(`Detected a new version of ${app}, running test.`); | ||
playLetter({ auth: 'username' }); | ||
} | ||
}); | ||
}); | ||
}); |
17 changes: 17 additions & 0 deletions
17
cypress/e2e/participant/network-tests/roar-letter/playLetter-HighLatency.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { playLetter } from '../../../../support/helper-functions/roar-letter/letterHelpers'; | ||
import { isCurrentVersion } from '../../../../support/utils'; | ||
|
||
const app = '@bdelab/roar-letter'; | ||
|
||
describe('ROAR - Letter Play Through using username authentication', () => { | ||
it('Plays Letter with username authentication in a simulated high latency network', () => { | ||
cy.wrap(isCurrentVersion(app)).then((isCurrentVersion) => { | ||
if (isCurrentVersion) { | ||
cy.log(`Did not detect a new version of ${app}, skipping test.`); | ||
} else { | ||
cy.log(`Detected a new version of ${app}, running test.`); | ||
playLetter({ auth: 'username' }); | ||
} | ||
}); | ||
}); | ||
}); |
17 changes: 17 additions & 0 deletions
17
cypress/e2e/participant/network-tests/roar-morphology/playMorphology-3G.cy copy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { playMorphology } from '../../../../support/helper-functions/roar-multichoice/multichoiceHelpers'; | ||
import { isCurrentVersion } from '../../../../support/utils'; | ||
|
||
const app = '@bdelab/roar-multichoice'; | ||
|
||
describe('ROAR - Written Vocabulary Play Through', () => { | ||
it('Plays Written Vocabulary with a simulated 3g network', () => { | ||
cy.wrap(isCurrentVersion(app)).then((isCurrentVersion) => { | ||
if (isCurrentVersion) { | ||
cy.log(`Did not detect a new version of ${app}, skipping test.`); | ||
} else { | ||
cy.log(`Detected a new version of ${app}, running test.`); | ||
playMorphology({ auth: 'username' }); | ||
} | ||
}); | ||
}); | ||
}); |
Oops, something went wrong.