Skip to content

Commit

Permalink
fix(e2e action): restore unstable dataverse image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MellyGray committed Aug 30, 2023
1 parent 5048552 commit d1ff31a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions tests/e2e-integration/e2e/sections/dataset/Dataset.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -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}`)
Expand Down Expand Up @@ -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}`)
Expand Down

0 comments on commit d1ff31a

Please sign in to comment.