Repository navigation
feat: convert c-sharp exam tests to Playwright - #54946
Conversation
There was a problem hiding this comment.
I'm getting an issue locally when running the different browsers sequentially...
After the first run, the survey isn't getting reset. So when the next browser goes to the page, the survey is already completed. The script to delete the surveys doesn't delete the survey that gets added cause it has a different ID when it gets created by the test. We could run a query in this file to delete all surveys with the certified user ID?
|
Alright @moT01 this should be good now. |
Just in case this ever gets run against a real db.
|
Hey Sem, while it's incredibly unlikely that these scripts are ever run against real dbs, it's safer to limit their impact. To do so, I went for a middle ground between paranoia and usability, by deleting all of the surveys associated with test users, but nothing else. |
|
@moT01 Can you give this one another look? |
Checklist:
mainbranch of freeCodeCamp.Note
Should show prerequisites alert and have "start exam" button disabled'is covered inexam-show-qualified.spec.ts