diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a2ef62b4d..001a50659 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,7 @@ name: test on: push env: - E2E_DATAVERSE_IMAGE_TAG: 9692-files-api-extension-display-data + E2E_DATAVERSE_IMAGE_TAG: unstable jobs: e2e: diff --git a/tests/e2e-integration/e2e/sections/dataset/Dataset.spec.tsx b/tests/e2e-integration/e2e/sections/dataset/Dataset.spec.tsx index d99119a19..cbd76c35a 100644 --- a/tests/e2e-integration/e2e/sections/dataset/Dataset.spec.tsx +++ b/tests/e2e-integration/e2e/sections/dataset/Dataset.spec.tsx @@ -68,6 +68,7 @@ describe('Dataset', () => { cy.wrap(DatasetHelper.create().then((dataset) => DatasetHelper.publish(dataset.persistentId))) .its('persistentId') .then((persistentId: string) => { + cy.wait(1500) // Wait for the dataset to be published cy.visit(`/spa/datasets?persistentId=${persistentId}&version=2.0`) cy.fixture('dataset-finch1.json').then((dataset: Dataset) => { @@ -201,6 +202,7 @@ describe('Dataset', () => { ) .its('persistentId') .then((persistentId: string) => { + cy.wait(1500) // Wait for the dataset to be published cy.wrap(TestsUtils.logout()) cy.visit(`/spa/datasets?persistentId=${persistentId}`) @@ -241,6 +243,8 @@ describe('Dataset', () => { ) .its('persistentId') .then((persistentId: string) => { + cy.wait(1500) // Wait for the dataset to be published + cy.wrap(TestsUtils.logout()) cy.visit(`/spa/datasets?persistentId=${persistentId}`)