Michael is web developer from Kyiv, Ukraine, who is passionate in automating testing.
You may know his projects: Codeception (PHP testing framework) or CodeceptJS.
Michael is tech consultant and trainer in SDCLabs, where he helps companies build better test automation for their projects.
We will take CodeceptJS, a meta-framework which allows to write test once and execute them via WebDriver, Protractor, Puppeteer or Nightmare. CodeceptJS provides a declarative way of writing tests. With CodeceptJS you can start writing tests from the first minutes.
You will learn:
- learn pros and cons of different browser engines: WebDriver, Protractor, Puppeteer
- writing basic browser tests using CodeceptJS
- using interactive pause to write test as it goes
- setting up page objects
- retrying flaky steps
- using locator builder
1. CodeceptJS Overview
Architecture: actos, helpers, tests
Managing asynchronity: recorder, recorder sessions
WebDriver helper (pros and cons)
Protractor helper (pros and cons)
Puppeteer helper (pros and cons)
Nightmare helper (pros and cons)
2. Writing Tests
Scenario and Features
async/await operators in tests
using interactive pause
3. Reusing Test Code
Page Objects (and Page Fragments)
Setup and Teardown
Who will be interested:
* Laptop (Mac, Linux preferred)
* NodeJS 8.9+ installed
* Java + Selenium installed (optionally)
* Chrome browser
Speech in Ukrainian
Complexity of the performance: **