My name is Arun, and I work as a
Frontend Developer @ Assembly
We wanted to deliver quality code, which doesn't break
We were sold on the idea, of adding Unit Test with good coverage
Expectation was to ship code with confidence
Follow TDD principles
Practising TDD with JEST & React Testing Library was harder
Unit tests were written with components in mind not with user
The unit tests were not helping us do refactoring confidently, as refactoring often broke the unit tests too, and refactoring code also means refactoring unit tests.
Acceptance
Test Driven Development
Drawing Board
Brainstroming
Ways to find element on page at any moment with auto-wait capability
Locator
Selector
Playwright uses jest's assert library for assertions
How did we approach
Acceptance Test Driven Development
with Playwright?
Thank You
https://www.playwright.dev
https://www.github.com/microsoft/playwright
References
Let's connect @arunselvakumar
Learn more about Assembly
www.joinassembly.com/careers