Skip to content

Commit

Permalink
feat: add save code
Browse files Browse the repository at this point in the history
  • Loading branch information
ngunner15 committed Oct 2, 2024
1 parent 449db88 commit c7da8e7
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ describe('A Class Seedlot Registration form, Orchard', () => {
.then($input => {
const value = $input.val();
if (value === '') {
cy.log('Input is empty');
cy.log('Primary input is empty');
// Do something if the input is empty
cy.get('#primary-orchard-selection')
.siblings(`button.${prefix}--list-box__menu-icon[title="Open"]`)
Expand All @@ -619,7 +619,7 @@ describe('A Class Seedlot Registration form, Orchard', () => {
.then($input => {
const value = $input.val();
if (value === '') {
cy.log('Input is empty');
cy.log('Secondary input is empty');
// Do something if the input is empty
cy.get('#secondary-orchard-selection')
.siblings(`button.${prefix}--list-box__menu-icon[title="Open"]`)
Expand All @@ -631,6 +631,9 @@ describe('A Class Seedlot Registration form, Orchard', () => {
.click();
}
});

// Save changes
cy.saveSeedlotRegFormProgress();
});

it('Step complete status', () => {
Expand Down

0 comments on commit c7da8e7

Please sign in to comment.