Skip to content

erodm09/ProtonMtests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProtonMtests

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:

Screenshot 2022-03-29 at 10 24 23

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.

Screenshot 2022-03-29 at 10 26 04

On these scripts the user is expected to execute the beforEach, and create a folder without folder colors and without inhereting a parent

Screenshot 2022-03-29 at 10 29 14

It is expected that the folder is created without a parenting folder attached.

Screenshot 2022-03-29 at 10 32 03

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.

Screenshot 2022-03-29 at 10 34 55

  1. Fork this repo

clone this repo to a local directory

git clone https://github.com/erodm09/ProtonMtests.git

cd into the cloned repo

cd ProtonMtests

install the node_modules

npm install

About

Tests for folders and labels settings for ProtonMail Web client on Cypress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors