Skip to content

Commit

Permalink
Merge pull request #256 from colonial-heritage/end-to-end-fix
Browse files Browse the repository at this point in the history
Fix failing end-to-end tests
  • Loading branch information
barbarah authored Sep 28, 2023
2 parents ae8669b + 750dd52 commit 9056469
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/dataset-browser/cypress/e2e/dataset.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ describe('Dataset details page', () => {
.then(url => {
// Open the details page
cy.getBySel('dataset-card-name').first().click();
// Wait for the page to load.
cy.location('pathname', {timeout: 60000}).should('include', '/dataset');
// Go back to the list
cy.getBySel('to-filtered-list-button').first().click();

Expand Down
2 changes: 2 additions & 0 deletions apps/researcher/cypress/e2e/object.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ describe('Object details page', () => {
.then(url => {
// Open the details page
cy.getBySel('object-card').first().click();
// Wait for the page to load.
cy.location('pathname', {timeout: 60000}).should('include', '/object');
// Go back to the list
cy.getBySel('to-filtered-list-button').first().click();

Expand Down

2 comments on commit 9056469

@vercel
Copy link

@vercel vercel bot commented on 9056469 Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9056469 Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.