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

Another attempt at making E2E tests more reliable #953

Merged
merged 4 commits into from
Jul 31, 2024
Merged

Conversation

jahow
Copy link
Collaborator

@jahow jahow commented Jul 30, 2024

Description

This PR:

  • makes the "record with no link" record public
  • simplifies the "no-link-error' e2e test more reliable

Architectural changes

Updated the DB dump to make the "record with no link" public.

Quality Assurance Checklist

  • Commit history is devoid of any merge commits and readable to facilitate reviews
  • If new logic ⚙️ is introduced: unit tests were added
  • If new user stories 🤏 are introduced: E2E tests were added
  • If new UI components 🕹️ are introduced: corresponding stories in Storybook were created
  • If breaking changes 🪚 are introduced: add the breaking change label
  • If bugs 🐞 are fixed: add the backport <release branch> label
  • The documentation website 📚 has received the love it deserves

jahow added 2 commits July 30, 2024 17:07
The record soes not require a login anymore, and no http interception either
The "record with no link" record is now public
Copy link
Contributor

github-actions bot commented Jul 30, 2024

Affected libs: , Affected apps: ,

  • 🚀 Build and deploy storybook and demo on GitHub Pages
  • 📦 Build and push affected docker images

Copy link
Contributor

github-actions bot commented Jul 30, 2024

📷 Screenshots are here!

@jahow jahow force-pushed the fix-e2e-test-flaky branch from 1fef47b to e898909 Compare July 30, 2024 19:07
Copy link
Collaborator

@Angi-Kinas Angi-Kinas left a comment

Choose a reason for hiding this comment

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

Thanks @jahow for making the e2e test more reliable!

The PR looks good to me, I was just wondering about this one file if it is meant to be here.

@@ -18,3 +18,12 @@ do
echo ""
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this change supposed to be part of the PR? Not sure if it is necessary for the test or it came in by mistake.

Copy link
Collaborator Author

@jahow jahow Jul 31, 2024

Choose a reason for hiding this comment

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

yes definitely, I added some more logging because I've noticed that sometimes the thesauri are not correctly present when running the e2e tests, and that would cause one of the very common failures. Having more logging will help investigating if these failures show up again.

@jahow
Copy link
Collaborator Author

jahow commented Jul 31, 2024

🤞 🤞

thanks for the review!

@jahow jahow merged commit 4e4ab1a into main Jul 31, 2024
9 checks passed
@jahow jahow deleted the fix-e2e-test-flaky branch July 31, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants