Skip to content

Testing ​

Our testing strategy is documented in Notion. Make sure to read it and follow it when you're coding 😃

Cypress / Playwright tags ​

Do not use classes or ids for testing. Classes and ids are intended for styling only, and naming can change or they can be removed or moved around.

Instead use data-ci attribute tags:

html
<template lang="pug"> #my-component Header(data-ci="header) </template>
<template lang="pug"> #my-component Header(data-ci="header) </template>