Skip to content

Commit 596880e

Browse files
ZCU-DATA/Do not test submission input fields which are not in the definition (#784)
* Do not test submission input fields which are not in the definition
1 parent 1787e99 commit 596880e

1 file changed

Lines changed: 39 additions & 40 deletions

File tree

cypress/e2e/submission-ui.cy.ts

Lines changed: 39 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import {
66
TEST_ADMIN_PASSWORD,
77
TEST_ADMIN_USER,
8-
TEST_SUBMIT_CLARIAH_COLLECTION_UUID,
98
TEST_SUBMIT_COLLECTION_UUID
109
} from '../support/e2e';
1110
import { createItemProcess } from '../support/commands';
@@ -230,48 +229,48 @@ describe('Create a new submission', () => {
230229
createItemProcess.showErrorNotSupportedLicense();
231230
});
232231

233-
// Author field should consist of two input fields
234-
it('Author field should consist of two input fields', {
235-
retries: {
236-
runMode: 6,
237-
openMode: 6,
238-
},
239-
defaultCommandTimeout: 10000
240-
},() => {
241-
createItemProcess.checkAuthorFirstnameField();
242-
createItemProcess.checkAuthorLastnameField();
243-
});
232+
// // Author field should consist of two input fields
233+
// it('Author field should consist of two input fields', {
234+
// retries: {
235+
// runMode: 6,
236+
// openMode: 6,
237+
// },
238+
// defaultCommandTimeout: 10000
239+
// },() => {
240+
// createItemProcess.checkAuthorFirstnameField();
241+
// createItemProcess.checkAuthorLastnameField();
242+
// });
244243

245-
it('The submission should not have the Notice Step', {
246-
retries: {
247-
runMode: 6,
248-
openMode: 6,
249-
},
250-
defaultCommandTimeout: 10000
251-
},() => {
252-
createItemProcess.checkClarinNoticeStepNotExist();
253-
});
244+
// it('The submission should not have the Notice Step', {
245+
// retries: {
246+
// runMode: 6,
247+
// openMode: 6,
248+
// },
249+
// defaultCommandTimeout: 10000
250+
// },() => {
251+
// createItemProcess.checkClarinNoticeStepNotExist();
252+
// });
254253
});
255254

256-
describe('Create a new submission in the clariah collection', () => {
257-
beforeEach(() => {
258-
// Create a new submission
259-
cy.visit('/submit?collection=' + TEST_SUBMIT_CLARIAH_COLLECTION_UUID + '&entityType=none');
260-
261-
// This page is restricted, so we will be shown the login form. Fill it out & submit.
262-
cy.loginViaForm(TEST_ADMIN_USER, TEST_ADMIN_PASSWORD);
263-
});
264-
265-
it('The submission should have the Notice Step', {
266-
retries: {
267-
runMode: 6,
268-
openMode: 6,
269-
},
270-
defaultCommandTimeout: 10000
271-
},() => {
272-
createItemProcess.checkClarinNoticeStep();
273-
});
274-
});
255+
// describe('Create a new submission in the clariah collection', () => {
256+
// beforeEach(() => {
257+
// // Create a new submission
258+
// cy.visit('/submit?collection=' + TEST_SUBMIT_CLARIAH_COLLECTION_UUID + '&entityType=none');
259+
//
260+
// // This page is restricted, so we will be shown the login form. Fill it out & submit.
261+
// cy.loginViaForm(TEST_ADMIN_USER, TEST_ADMIN_PASSWORD);
262+
// });
263+
//
264+
// it('The submission should have the Notice Step', {
265+
// retries: {
266+
// runMode: 6,
267+
// openMode: 6,
268+
// },
269+
// defaultCommandTimeout: 10000
270+
// },() => {
271+
// createItemProcess.checkClarinNoticeStep();
272+
// });
273+
// });
275274

276275
function addEUSponsor(euSponsorOrder) {
277276
createItemProcess.clickAddMore(1);

0 commit comments

Comments
 (0)