Skip to content

Commit

Permalink
fix: test names
Browse files Browse the repository at this point in the history
  • Loading branch information
ngunner15 committed Feb 5, 2025
1 parent a280544 commit 7eba50e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions frontend/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ export default defineConfig({
'**/01-create-a-class-seedlot.cy.ts',
'**/02-seedlot-dashboard.cy.ts',
'**/03-seedlot-detail.cy.ts',
'**/04-edit-applicant-seedlot-info.cy.ts',
'**/05-my-seedlots.cy.ts',
'**/06-a-class-seedlot-reg-form-collection-interim.cy.ts',
'**/07-a-class-seedlot-reg-form-ownership.cy.ts',
'**/08-a-class-seedlot-reg-form-orchard.cy.ts',
'**/09-a-class-seedlot-reg-form-extraction.cy.ts',
'**/04-my-seedlots.cy.ts',
'**/05-a-class-seedlot-reg-form-collection-interim.cy.ts',
'**/06-a-class-seedlot-reg-form-ownership.cy.ts',
'**/07-a-class-seedlot-reg-form-orchard.cy.ts',
'**/08-a-class-seedlot-reg-form-extraction.cy.ts',
'**/a-class-seedlot-reg-form-parent-tree-part-1.cy.ts',
'**/a-class-seedlot-reg-form-parent-tree-part-2.cy.ts',
'**/a-class-seedlot-reg-form-parent-tree-part-3.cy.ts',
'**/13-create-a-class-seedlot-fdi.cy.ts',
'**/14-a-class-seedlot-reg-form-parent-tree-calculations-part-1.cy.ts',
'**/15-api-tests.cy.ts'
'**/15-api-tests.cy.ts',
'**/16-edit-applicant-seedlot-info.cy.ts'
],
chromeWebSecurity: false,
retries: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ describe('Applicant and seedlot information page', () => {
before(function () {
cy.fixture('aclass-seedlot').then((fData) => {
fixtureData = fData;
// Pick a random species to test
const speciesKeys = Object.keys(fixtureData);
// eslint-disable-next-line prefer-destructuring
speciesKey = speciesKeys[0];
speciesKey = speciesKeys[5];
cy.task('getData', fData[speciesKey].species).then((sNumber) => {
seedlotNumber = sNumber as string;
});
Expand Down

0 comments on commit 7eba50e

Please sign in to comment.