Казахстан, г. Алматы, ул. Шевченко 90, БЦ «Каратал», офис 53
Казахстан, г. Астана, ул. Иманова 19, БЦ Деловой Дом "Алма-Ата", офис 612

кол-во дней: 2
вендор: QA/Курсы для тестировщиков кол-во часов: 16
код курса: TEST-12

Web applications are complex. Is it possible to make simple tests for complex apps? Yes! In this training we will teach you how to build a sustainable tests suite focused around interaction scenarios. By unleashing full power of CodeceptJS you will make effective tests toughly integrated with your application. Learn how to take the most from its API, how to choose a testing backend, and how to run tests in parallel

Target Audience:

JS Engineers

Training agenda:

CodeceptJS Overview

  • Architecture: actos, helpers, tests

  • Managing asynchronity: recorder, recorder sessions

  • WebDriverIO helper (pros and cons)

  • Protractor helper (pros and cons)

  • Puppeteer helper (pros and cons)

  • Nightmare helper (pros and cons)

Writing Tests

  • Scenario and Features

  • async/await operators in tests

  • within and pause operators

  • Page Objects (and Page Fragments)

  • Actor classes

  • Reusing test code: what to store where

Extending CodeceptJS with Custom Helpers

  • Helpers API

  • Writing a custom method in helper

  • Manual browser control

  • Reusing session between tests

Bootstrap and Teardown

  • Starting / stopping application with hooks

  • Asynchronity in hooks

  • Events and plugin system

  • Using recorder manually

Data Management

  • Data driven tests

  • Creating test data via external REST API

  • Generating test data with ApiDataFactory

  • Hooking depenency injection container

Reports (optionally)

  • HTML reports with mochawesome

  • XML reports

  • Allure reports

Tests Execution Tuning

  • Running tests parallel via run-multiple

  • Selenoid: Recording videos of tests

  • Selenoid: Remote browser preview via VNC