Tag: Cypress
How to delete previous downloaded files in Cypress
To delete previous downloaded files in Cypress, you can use the fs (file system) module to delete the files before each test run. First, you will need to install the fs module by running the following command in…
Read More »Generate Cypress MochAwesome Reporter
Cypress compatibility: node >= 14Cypress >= 6.7.0 Setup: or or command line import ‘cypress-mochawesome-reporter/register’; const { defineConfig } = require(‘cypress’); module.exports = defineConfig({ reporter: ‘cypress-mochawesome-reporter’, reporterOptions: { charts: true, reportPageTitle: ‘custom-title’, embeddedScreenshots: true, inlineAssets: true, saveAllAttempts: false,…
Read More »Cypress Studio and it’s usage?
Problem Statement We don’t have any way in cypress where we can create test cases without writing any code and it was a bit tough to understand the various actions /commands in cypress, especially for new users. Solution Cypress.io…
Read More »