Vitest Browser Mode
Learn everything you need to know to get up to speed with Vitest Browser Mode, to run your tests in a very realistic, fast and (optionally) visual way!
Vitest Browser Introduction
Vitest Browser Mode Setup
Vitest Browser Mode Fundamentals
Vitest Browser Mode Locators
Vitest Browser Mode Assertions
Vitest Browser Mode Interactivity
Vitest Browser Mode Advanced
Tests are great (the whole purpose of this site is to promote better understanding of writing and maintaining frontend tests). But it is very important that they run as part of your CI/CD pipeline
Without actually running, they often have little value.
In this lesson we will cover exactly how to set up Vitest Browser Mode tests in your CI/CD pipeline, such as GitHub Actions.
What is CI/CD pipeline? (Show details)
Your CI/CD pipeline is the actions that run automatically before you merge/deploy.
Normally, after every Git push, something like GitHub Actions will run all your tests to ensure they are passing.
Getting Vitest Browser Mode set up on your CI/CD provider (like GitHub Actions) is quite straightforward.
BTW if you use GitHub Actions, you can probably copy the template here