Skip to content

Commit

Permalink
Stabilize the test case C368013
Browse files Browse the repository at this point in the history
  • Loading branch information
sviatlana-stsiapanava committed Dec 26, 2024
1 parent 2082f0b commit 4c00bec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ describe('bulk-edit', () => {
BulkEditLogs.checkHoldingsCheckbox();
BulkEditLogs.checkUsersCheckbox();
BulkEditLogs.checkItemsCheckbox();
// steps have been added to stabilize the test case on the bugfest environment because there are many records there that are no longer available for download
cy.wait(5000);
BulkEditLogs.sortLogsTableByColumnHeader('Started');
BulkEditLogs.sortLogsTableByColumnHeader('Started');
cy.wait(5000);
BulkEditLogs.clickActionsOnTheRow();
BulkEditLogs.verifyTriggerLogsAction();
},
Expand Down
4 changes: 4 additions & 0 deletions cypress/support/fragments/bulk-edit/bulk-edit-logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,10 @@ export default {
]);
},

sortLogsTableByColumnHeader(columnHeader) {
cy.do(MultiColumnListHeader(columnHeader).click());
},

fillLogsDate(accordion, dataPicker, value) {
cy.do(Accordion(accordion).find(TextField(dataPicker)).fillIn(value));
},
Expand Down

0 comments on commit 4c00bec

Please sign in to comment.