cch5ng / job-tracker5-epic-stack

0 stars 0 forks source link

review the playwright tests #10

Open cch5ng opened 6 months ago

cch5ng commented 6 months ago

run tests modify tests scan configs


resc

https://github.com/epicweb-dev/epic-stack/blob/main/docs/testing.md

https://playwright.dev/docs/intro https://playwright.dev/docs/writing-tests https://playwright.dev/docs/locators#locate-by-role

https://playwright.dev/docs/codegen-intro

https://playwright.dev/docs/running-tests#run-tests-on-different-browsers

https://www.techtarget.com/searchsoftwarequality/tip/The-benefits-and-limitations-of-headless-browser-testing#:~:text=Headless%20browser%20testing%20is%20essentially,CSS%20and%20JavaScript%20files%20back.

cch5ng commented 6 months ago

tried to use codegen to record a test (sort of same concept as existing test) ran the test in headless browser using test:e2e:dev script (passed) had to modify a few things (update url and used a login param)