@uuv/cypress
Version:
A solution to facilitate the writing and execution of E2E tests understandable by any human being using cucumber(BDD) and cypress
19 lines (18 loc) • 714 B
JavaScript
;
/**
* Software Name : UUV
*
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT License,
* see the "LICENSE" file for more details
*
* Authors: NJAKO MOLOM Louis Fredice & SERVICAL Stanley
* Software description: Make test writing fast, understandable by any human
* understanding English or French.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const cypress_cucumber_preprocessor_1 = require("@badeball/cypress-cucumber-preprocessor");
(0, cypress_cucumber_preprocessor_1.When)("je suis une phrase custom qui vérifie l'existence d'un noeud par le sélecteur {string}", function (selector) {
return cy.get(selector).should("exist");
});