We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5b924 commit 55ab43fCopy full SHA for 55ab43f
1 file changed
cypress/e2e/item-edit.cy.ts
@@ -9,6 +9,11 @@ beforeEach(() => {
9
10
// This page is restricted, so we will be shown the login form. Fill it out & submit.
11
cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD'));
12
+
13
+ // We need to wait for the correction types allowed for the item to be loaded to be sure that each tab is fully loaded.
14
+ // This because the edit item page causes often tests to fails due to timeout.
15
+ cy.intercept('GET', 'server/api/config/correctiontypes/search/findByItem*').as('correctionTypes');
16
+ cy.wait('@correctionTypes');
17
});
18
19
describe('Edit Item > Edit Metadata tab', () => {
0 commit comments