codu-code / codu

Codú's open-source codebase. A space for coders. Visit our community!
https://codu.co/
Apache License 2.0
134 stars 143 forks source link

[Testing] Flaky tests in the E2E Test suite #1154

Open JohnAllenTech opened 2 hours ago

JohnAllenTech commented 2 hours ago

Context

We have two (maybe more) flaky tests

  1. Authenticated Articles Page › Should load more articles when scrolling to the end of the page
  2. Authenticated Articles Page › Should write and publish an article

They have set to cause a false negative test result as we have a retry policy but we should still get infront of them before they do

Expected Behavior

Two tests above passing everytime

Current Behavior

Two tests above are failing occasionally on first attempt

Screenshots

image

Steps to reproduce

Please provide detailed steps for reproducing the issue

  1. Run E2E Workflow here a few times
  2. Look at the 'run playwright tests' step output

Additional info

Potentially just increasing the timeout for these tests will fix it

github-actions[bot] commented 2 hours ago

Uh oh! @JohnAllenTech, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.