Categories
Technology

Asserting text using Cypress

Photo by Sunyu on Unsplash
Photo by Sunyu on Unsplash
Categories
Technology

Cypress: PageObjects using inheritance

Scenario:

  • Your web site is deployed on several countries. The behaviour of the page you want to test (e.g. sign up) is mostly the same across countries, however some business rules change per country.
  • You are using the PageObjects pattern to encapsulate the details of each page. You want to avoid duplicated code.
Categories
Technology

Pipeline triggering pipeline on GitLab

Usually when configuring a GitLab pipeline (.gitlab-ci.yml) you only care about steps in your own pipeline. Sometimes however, you may want to trigger other pipelines (of other repositories) as a step of your own pipeline.

Categories
Technology

Cypress Sapling (automation template)

Photo by Tzingtao Chow on Unsplash

No need to start with the seed – plant the sapling!

Categories
Technology

How to build a Docker image ready to run Cypress tests

My team decided to build a Docker image that contained Cypress, dependencies and all our end-to-end (E2E) tests.