Skip to content

Commit

Permalink
fix: slow down typing for edit app
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Jan 30, 2024
1 parent 9f79904 commit a56dc59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/item/edit/editApp.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ describe('Edit App', () => {
cy.get(`#${EDIT_ITEM_MODAL_CANCEL_BUTTON_ID}`).click();
cy.get(`#${EDIT_ITEM_MODAL_CANCEL_BUTTON_ID}`).should('not.exist');
cy.get(`.${ITEM_MAIN_CLASS} .${TEXT_EDITOR_CLASS}`)
.scrollIntoView()
.should('be.visible')
.and('contain.text', description);
});
Expand Down
1 change: 1 addition & 0 deletions cypress/support/editUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const editCaptionFromViewPage = ({
cy.get(`#${buildEditButtonId(id)}`).click();
cy.get(`#${EDIT_MODAL_ID} .${TEXT_EDITOR_CLASS}`).type(
`{selectall}${caption}`,
{ timeout: 100 },
);
cy.get(`#${ITEM_FORM_CONFIRM_BUTTON_ID}`).click();
};

0 comments on commit a56dc59

Please sign in to comment.