Skip to content

Commit

Permalink
Skipping tests that depend on things which are not in ukrepo submission
Browse files Browse the repository at this point in the history
We are not using traditionalpage*, we don't have all the fields that are
in default "clarin-dspace". That's why these test fail
  • Loading branch information
kosarko committed Nov 12, 2024
1 parent f4651be commit e1756ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions cypress/e2e/submission-ui.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('Create a new submission', () => {
// });

// Test type-bind
it('should be showed chosen type value', {
it.skip('should be showed chosen type value', {
retries: {
runMode: 6,
openMode: 6,
Expand All @@ -117,7 +117,7 @@ describe('Create a new submission', () => {
});

// Test CMDI input field
it('should be visible Has CMDI file input field because user is admin', {
it.skip('should be visible Has CMDI file input field because user is admin', {
retries: {
runMode: 6,
openMode: 6,
Expand All @@ -127,7 +127,7 @@ describe('Create a new submission', () => {
createItemProcess.checkLocalHasCMDIVisibility();
});

it('The local.hasCMDI value should be sent in the response after type change', {
it.skip('The local.hasCMDI value should be sent in the response after type change', {
retries: {
runMode: 6,
openMode: 6,
Expand Down Expand Up @@ -231,7 +231,7 @@ describe('Create a new submission', () => {
});

// Author field should consist of two input fields
it('Author field should consist of two input fields', {
it.skip('Author field should consist of two input fields', {
retries: {
runMode: 6,
openMode: 6,
Expand All @@ -253,7 +253,7 @@ describe('Create a new submission', () => {
});
});

describe('Create a new submission in the clariah collection', () => {
describe.skip('Create a new submission in the clariah collection', () => {
beforeEach(() => {
// Create a new submission
cy.visit('/submit?collection=' + TEST_SUBMIT_CLARIAH_COLLECTION_UUID + '&entityType=none');
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/submission.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { createItemProcess } from '../support/commands';
describe('New Submission page', () => {
// NOTE: We already test that new submissions can be started from MyDSpace in my-dspace.spec.ts

it('should create a new submission when using /submit path & pass accessibility', () => {
it.skip('should create a new submission when using /submit path & pass accessibility', () => {
// Test that calling /submit with collection & entityType will create a new submission
cy.visit('/submit?collection='.concat(TEST_SUBMIT_COLLECTION_UUID).concat('&entityType=none'));

Expand Down Expand Up @@ -32,7 +32,7 @@ describe('New Submission page', () => {
cy.get('button#discard_submit').click();
});

it('should block submission & show errors if required fields are missing', () => {
it.skip('should block submission & show errors if required fields are missing', () => {
// Create a new submission
cy.visit('/submit?collection='.concat(TEST_SUBMIT_COLLECTION_UUID).concat('&entityType=none'));

Expand Down

0 comments on commit e1756ae

Please sign in to comment.