responsible-ai-collaborative / aiid

The AI Incident Database seeks to identify, define, and catalog artificial intelligence incidents.
https://incidentdatabase.ai
Other
163 stars 34 forks source link

Split slow Playwright tests files #2938

Open cesarvarela opened 3 days ago

cesarvarela commented 3 days ago

Maybe something like this: submit.spec.ts -> submit.1.spec.ts, submit.2.spec.ts

image image
pdcp1 commented 3 days ago

According to the test results in HTML, the pages.spec.ts takes more than 15.9 seconds to complete. But in the HTML report, the numbers are different. It runs about 324 tests with an average time of approximately 1 second each. A huge difference 🕐