less less pain ainful l e2e tes ests s wit ith cy cypres
play

Less Less pain ainful l E2E tes ests s wit ith Cy Cypres - PowerPoint PPT Presentation

Less Less pain ainful l E2E tes ests s wit ith Cy Cypres ess.io Pavel Kruhlei, FOSSDEM 2019 Quality Engineering Lead in fintech startup in Amsterdam 10+years in QA. 5 in automation. About me DevTestSecOpsWhatewer, big fan of


  1. Less Less pain ainful l E2E tes ests s wit ith Cy Cypres ess.io Pavel Kruhlei, FOSSDEM 2019

  2. Quality Engineering Lead in fintech startup in Amsterdam 10+years in QA. 5 in automation. About me DevTestSecOpsWhatewer, big fan of serverless Free time: bouldering, drinking Belgium beer

  3. What’s wrong with Selenium?

  4. What else?

  5. JS (TS) framework for test automation What is Runner/Debugger app Cypress? SAAS for reporting and balancing

  6. Why Cypress?

  7. Cypress and it’s dev-obsession • Bundled tools • Reporters (junit, teamcity etc)

  8. Cypress and it’s dev-obsession • Extendable by plugins • Easy setup • CI-ready • Debugging • Stubs, spies and clocks • Automatic waits

  9. Unit Test Integrstion layers E2E

  10. Unit tests

  11. Integration test

  12. E2E Tests Test suites per business areas (how we Locators and Flows Sub-flows Page-Objects build it) Methods

  13. Chrome-only Its a test automation tool still, not a Swiss army knife (no spider, Traid- performance tests or 3rd party tests) offs Single-browser, single tab Same domain pages

  14. Stub/not Stub Deterministic tests Independent tests Cypress test No XPATH strategy Control application state Do not test 3 rd parties Multiple assertions are fine

Recommend


More recommend