Tests for folders and labels settings for ProtonMail Web client on Cypress
This repo contains the tests written in Cypress.
The tests are written to be directly compared from the ProtoMail webclient app
Each test covers the same functionality found in the settings page for Folder and Labels utilizing the Cypress framework
The steps below will take you all the way through Cypress. It is assumed you have nothing installed except for node + git.
Before each tests case the following will be executed:
With this the user will go to the specified URL on the cypress.json file as BaseUrl and execute a login with email and password specified on the script
User logged in and creates a folder and user creates a label. It is expectd with this that the folder as named was created along with the label.
On these scripts the user is expected to execute the beforEach, and create a folder without folder colors and without inhereting a parent
It is expected that the folder is created without a parenting folder attached.
Folder and label edits are done with these scripts while pressing the edit button and editing the name and saving the folder/label edited. It is expected that the name changed as detailed on the script.
On this script the delete feature for folders and labels is tested. It is expected that the record selected that contains the name on the script will be deleted.
- Fork this repo
git clone https://github.com/erodm09/ProtonMtests.git
cd ProtonMtests
npm install




