Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

https://github.com/glazar/e2e-testing

Slide 4

Slide 4 text

Do you use 'end-to-end' test to mean: 1) test of full infrastructure stack 2) test of entire customer workflow 26% Infrastructure 74% Workflow Katrina Clokie @katrina_tester

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

The most powerful delivery system ever invented for an idea is a story. Aaron Sorkin Daniel Pink @DanielPink

Slide 8

Slide 8 text

Work Experience

Slide 9

Slide 9 text

Work Experience

Slide 10

Slide 10 text

Work Experience

Slide 11

Slide 11 text

Don't worry about your title, just be the most useful person in the room, and the rest will follow. Molly Graham Peter Komornik @peterkomornik

Slide 12

Slide 12 text

Dev Experience

Slide 13

Slide 13 text

Learning is what most adults will do for a living in the 21st century. Perelman Woody Zuill @WoodyZuill

Slide 14

Slide 14 text

Good Experience

Slide 15

Slide 15 text

Good Experience

Slide 16

Slide 16 text

Good Experience

Slide 17

Slide 17 text

Cooperation is not quite the same as collaboration. Do we have different compatible goals or a shared goal? To me, that's the difference. AntonyMarcano @AntonyMarcano

Slide 18

Slide 18 text

Good Experience

Slide 19

Slide 19 text

Without automated testing, more code = more time & money for testing. In most cases, this is an unscalable business model. Gary Gruver Cory House @housecor

Slide 20

Slide 20 text

E2E Testing in JS

Slide 21

Slide 21 text

Nightwatch.js and Cucumber.js

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Tests are specifications. They describe how the system should work. Seb Rose @sebrose

Slide 24

Slide 24 text

Nightwatch.js https://github.com/nightwatchjs/nightwatch

Slide 25

Slide 25 text

Nightwatch.js

Slide 26

Slide 26 text

Tests

Slide 27

Slide 27 text

Tags

Slide 28

Slide 28 text

Hooks

Slide 29

Slide 29 text

Page Objects

Slide 30

Slide 30 text

Page Objects

Slide 31

Slide 31 text

Custom Commands

Slide 32

Slide 32 text

Custom Commands

Slide 33

Slide 33 text

Screenshots

Slide 34

Slide 34 text

Parallel Execution of Tests

Slide 35

Slide 35 text

Cucumber.js https://github.com/cucumber/cucumber-js

Slide 36

Slide 36 text

Gherkin Based Specifications

Slide 37

Slide 37 text

Executable Specifications

Slide 38

Slide 38 text

Executable Specifications

Slide 39

Slide 39 text

BDD tools do not allow you to write specs using natural language; they allow you to read them using natural language. It's not the same. Kevlin Henney @KevlinHenney

Slide 40

Slide 40 text

Scenario Implementation

Slide 41

Slide 41 text

Scenario Implementation

Slide 42

Slide 42 text

Step Implementation

Slide 43

Slide 43 text

Feature Background

Slide 44

Slide 44 text

Scenario Outline

Slide 45

Slide 45 text

Tags

Slide 46

Slide 46 text

Hooks

Slide 47

Slide 47 text

Event Handlers

Slide 48

Slide 48 text

HTML Report with Screenshots

Slide 49

Slide 49 text

nightwatch-cucumber https://github.com/mucsi96/nightwatch-cucumber

Slide 50

Slide 50 text

Scenario Implementation

Slide 51

Slide 51 text

Scenario Implementation

Slide 52

Slide 52 text

Step Implementation

Slide 53

Slide 53 text

Step Implementation

Slide 54

Slide 54 text

Page Objects

Slide 55

Slide 55 text

Page Objects

Slide 56

Slide 56 text

Page Objects

Slide 57

Slide 57 text

Screenshots

Slide 58

Slide 58 text

HTML Report with Screenshots

Slide 59

Slide 59 text

Parallel Execution of Features

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

Work Experience

Slide 64

Slide 64 text

Automate repetitive tasks so testers can focus on: 1. Pair programming 2. Exploratory testing Not all testing can be automated. Seb Rose @sebrose

Slide 65

Slide 65 text

Ideal Dev & Test

Slide 66

Slide 66 text

Ideal Dev & Test

Slide 67

Slide 67 text

Ideal Dev & Test

Slide 68

Slide 68 text

To build great products, design features with scenarios - not requirements. Jonathan Abbett @jonabbett

Slide 69

Slide 69 text

E2E Testing in JS

Slide 70

Slide 70 text

E2E Testing in JS

Slide 71

Slide 71 text

Roadmap

Slide 72

Slide 72 text

Cross Browser Testing

Slide 73

Slide 73 text

Coverage Report

Slide 74

Slide 74 text

https://github.com/glazar/e2e-testing Code Examples

Slide 75

Slide 75 text

Code Examples https://github.com/glazar/e2e-testing