Working Software conference - the companion repository of the "Mastering UI Testing" talk
Mastering UI Testing
You can find the slides of the talk here.
I made this repository to follow up with the best practices I highlighted during my talk at the Working Software conference.
talk
branch is helpful only for the day of the conference, do not consider itThere are four main commands:
npm run start
: starts the (super simple) front-end appnpm run start:server
: starts the (fake) back-end appnpm run cy:open
: opens the Cypress UInpm test
: launches both the front-end and the back-end apps, and runs cypress in the non-visualPlease note: if you have the Autolaunch extension for VS Code, it proposes you to launch these scripts automatically.
src/App.js
fileauthentication.integration.test.js
in Cypress and watch it runningcypress/integration/authentication.integration.test.js
and explore itcypress/integration/authentication.e2e.test.js
npm test
commandDo not forge to add a star to my (work in progress) UI Testing Best Practices book on GitHub 😊
talk
branchnpx cypress open
npx cypress open
as soon as you start showing the code at the talktranscription.md
file on the talk
branch