Fast and easy end-to-end testing with cypress, cucumber and sqlite
blazey
There are quite a few types of tests in drupal core but none of them lets us test fully-functional sites. In this session I'll show how we've combined cypress and sqlite together to build a state-of-the-art testing setup that
- can test the full site (i.e. with configuration imported)
- gives access to snapshots of the page at every step with access to dev tools
- makes it easy to test any browser interaction
- is really fast to execute
Learning Objectives
At the end of the session the attendees will be able to
- use cypress locally in GUI mode
- integrate it into a CI pipeline with the cli mode
- write human-readable test scenarios with minimum overhead
Target Audience
This session is for developers, QA engineers and POs that are interested in beeing able to test every aspect of the site with human-readable scenarios.
Prerequisites
Attendees will get the most out of this session by being familiar with modern javascript and the Gherkin language.
Track
DevOps & Infrastructure
Experience Level
Intermediate
If no timezone is set on your profile, time is displayed in UTC.
Update your profile's timezone