Skip to content

qa-auto-n/Mailfence

Repository files navigation

⭐ Automation tests for mailfence.com

This repository contains e2e test(s) for the mailfence.com website using the Cypress testing framework.

🚀 Prerequisites

Before running the tests, make sure you have the following software installed:

Installation

To install the necessary dependencies, run the following command in your terminal:

cd /project/path
npm install

Configuration

Sensitive data, such as the email and password, can be passed as environment variables when running the tests. This helps to keep the credentials secure. To open Cypress with sensitive data, use the following command:

npx cypress open --env email=[email],password=[password]

Replace email with your actual email address and password with your password.

Running Tests

To run the tests, use the following command:

npx cypress run --env email=[email],password=[password]

Replace email with your actual email address and password with your password.

Running Tests with Docker

Build the docker image with:

docker build -t my-cypress-tests .

Run the Docker container with environment variables:

docker run -it my-cypress-tests npx cypress run --env email=[email],password=[password]

Replace email with your actual email address and password with your password.

Test Files

The test cases are located in the cypress/e2e directory.

🤝 Feedback

Feedback is welcome!

About

Test(s) for the mailfence.com website

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •