Home » Cypress

BDD Framework in Cypress

BDD in Cypress

What is BDD? This is a development method which has evolved from the Test-driven development process. Behavior Driven development is mostly about technical insight and business knowledge. Why use BDD Framework? Before the BDD framework, everyone was using…

Read More »

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

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 »

Rest API Response Codes

Here are some sample Response Codes which we will normally see while performing REST API testing through any REST API client. #1) 100 SeriesThese are temporary informational Responses 100 -Continue 101 -Switching Protocols 102 -Processing #2) 200 SeriesThe…

Read More »

Cypress commands: Cheat Sheet

Cypress automation can be simple if you know the most of it’s commands as 90% of your script can be done base on Cypress commands. Let’s have a quick look the most useful commands in Cypress: /// <reference…

Read More »

Multiple Cucumber HTML reporter in Cypress

It is very important to have a report on our test automation project. A good report allows us to evaluate the current status of the project and the overall quality of the product. Now a days Cypress allow…

Read More »

How to integrate Cucumber-BDD framework in Cypress??

Install the plugin by running: npm install –save-dev cypress-cucumber-preprocessor Cypress Configuration Add it to your plugins: Go to & update at  cypress/plugins/index.js const cucumber = require(‘cypress-cucumber-preprocessor’).default module.exports = (on, config) => { on(‘file:preprocessor’, cucumber()) } Add support for…

Read More »