Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dspace-7_x] Fix Collection Page e2e test. Wait on page to fully load #3460

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

tdonohue
Copy link
Member

@tdonohue tdonohue commented Oct 16, 2024

Description

Frequently, the collection-page.cy.ts is failing because the e2e test times out before the Collection Page fully loads. This simply updates the test to wait on the "viewevents" to return before performing any other tests. The reason this works is that the "viewevents" request occurs within the <ds-collection-page> tag.

Instructions for Reviewers

  • If e2e tests succeed, I'll merge this immediately. This failure is occurring frequently on the 7.x branch (only)

@tdonohue tdonohue added 1 APPROVAL pull request only requires a single approval to merge testing framework Related specifically to Unit or Integration (e2e) Tests labels Oct 16, 2024
@tdonohue tdonohue added this to the 7.6.3 milestone Oct 16, 2024
…ests. This ensures Collection page is fully loaded because viewevent triggers upon loading.
@tdonohue
Copy link
Member Author

Success! This seems to fix the annoying issues we are having on dspace-7_x with collection-page.cy.ts failing frequently

@tdonohue tdonohue merged commit 7f1e267 into DSpace:dspace-7_x Oct 16, 2024
13 checks passed
@tdonohue tdonohue deleted the fix_collection_e2e_test branch October 16, 2024 21:39
@tdonohue tdonohue changed the title [dspace-7_x] Fix Collection Page e2e test. Wait on Recent Submissions [dspace-7_x] Fix Collection Page e2e test. Wait on page to fully load Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 APPROVAL pull request only requires a single approval to merge testing framework Related specifically to Unit or Integration (e2e) Tests
Projects
Development

Successfully merging this pull request may close these issues.

1 participant