Skip to content

Commit

Permalink
Add waiters
Browse files Browse the repository at this point in the history
  • Loading branch information
sviatlana-stsiapanava committed Dec 24, 2024
1 parent 6fcf1bb commit f6ac3fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const editedFileName = `edited-records-${getRandomPostfix()}.csv`;
describe('bulk-edit', () => {
describe('csv approach', () => {
before('create test data', () => {
cy.clearLocalStorage();
cy.createTempUser([
Permissions.bulkEditCsvView.gui,
Permissions.bulkEditCsvEdit.gui,
Expand Down Expand Up @@ -74,6 +75,7 @@ describe('bulk-edit', () => {
BulkEditSearchPane.verifyNonMatchedResults(invalidUserUUID);

cy.reload();
cy.wait(2000);
BulkEditSearchPane.verifyErrorLabel(userUUIDsFileName, 1, 1);
BulkEditSearchPane.verifyMatchedResults(user.username);
BulkEditSearchPane.verifyNonMatchedResults(invalidUserUUID);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ describe('bulk-edit', () => {
BulkEditLogs.resetAll();
BulkEditLogs.verifyLogsPane();
BulkEditSearchPane.openIdentifierSearch();
cy.wait(2000);
BulkEditSearchPane.verifyMatchedResults(user.username);
BulkEditSearchPane.openIdentifierSearch();
BulkEditSearchPane.verifyMatchedResults(user.username);
BulkEditActions.openActions();
BulkEditActions.openInAppStartBulkEditFrom();
cy.wait(2000);
BulkEditActions.fillPatronGroup('staff (Staff Member)');
BulkEditActions.confirmChanges();
BulkEditActions.commitChanges();
Expand Down

0 comments on commit f6ac3fe

Please sign in to comment.