CST438 - Learning Journal 6
Author
Date Published

This week I mostly learned about e2e testing with selenium. I've got a bit of experience with e2e testing with playwright. Because of that background I might say that those learnings came in the form of annoyances and gripes. I will list them below but, please do not take them too seriously.
1. I'm not sure why the e2e tests belong in the registrar repository. If anything the test suite interacts with the front end more than anything
2. Requiring a specific chromium driver is super annoying. Playwright's CLI makes it super easy to install the browsers you want to test against and manages the versioning headaches
3. Javascript's async/await syntax makes waiting for elements to appear on the page very easy. The 2 second wait timer we have is a little barbaric.
4. I like the xpath syntax. It's nice. I might use it more often for quick and dirty tests.
Comments
Join the conversation! Login to reply to comments