codeforboston / maple

MAPLE makes it easy for anyone to view and submit testimony to the Massachusetts Legislature about the bills that will shape our future.
https://mapletestimony.org
MIT License
44 stars 118 forks source link

Submit testimony e2e #1630

Open simk209 opened 1 month ago

simk209 commented 1 month ago

Summary

1514

Known issues

I am hitting timeout errors related to the Create Testimony button. I have included console logs to check if the page URL updates after clicking on a specific bill within the browse bills page, and it does, however the content does not seem to update. The screenshot taken by playright also shows browse-bills content instead of a specific bill page. This helps explain why playwright cannot find the Create Testimony button, but I am not sure how to remedy it. I have tried adding a longer timeout.

I was also able to log some failed requests, but I am unsure if they are related to this problem.

playright error screenshot

image

Steps to test/reproduce

run npx playwright test submit-testimony.spec.ts

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
maple-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 8:48pm
simk209 commented 1 month ago

image getting networkidle issues too, but can successfully waitfor domcontentload. unsure if that provides any clues.