Skip to content

Commit

Permalink
push test_legal_doc into list of test users in cypress config
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmontville committed Aug 23, 2024
1 parent e31de6f commit 49efab3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cypress.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ module.exports = defineConfig({
testSpanishRoarAppsAdministration: 'Cypress Test Spanish Roar Apps Administration',
testSpanishRoarAppsAdministrationId: '',
// Generate a list of test users CypressTestStudent0, CypressTestStudent1, ..., CypressTestStudent50 and push the test_legal_doc user
testUserList: Array.from({ length: 51 }, (_, i) => `CypressTestStudent${i}`).push('test_legal_doc'),
testUserList: (() => {
const list = Array.from({ length: 51 }, (_, i) => `CypressTestStudent${i}`);
list.push('test_legal_doc');
return list;
})(),
roarDemoDistrictName: 'Roar Demo District',
roarDemoDistrictId: 'dfyDUItJNf3wEoG6Mf8H',
roarDemoAdministrationName: 'ROAR demo administration',
Expand Down

0 comments on commit 49efab3

Please sign in to comment.