refactor(Cypress): installed cypress-cucumber-preprocessor and writed a feature file and it's cycode

This commit is contained in:
Simon Priet
2021-09-06 20:39:49 +02:00
parent 30ae95b375
commit a0d70f98f2
214 changed files with 18373 additions and 4889 deletions

669
node_modules/cucumber/package.json generated vendored
View File

@@ -1,484 +1,143 @@
{
"_from": "cucumber@^4.2.1",
"_id": "cucumber@4.2.1",
"_inBundle": false,
"_integrity": "sha512-3gQ0Vv4kSHsvXEFC6b1c+TfLRDzWD1/kU7e5vm8Kh8j35b95k6favan9/4ixcBNqd7UsU1T6FYcawC87+DlNKw==",
"_location": "/cucumber",
"_phantomChildren": {
"becke-ch--regex--s0-0-v1--base--pl--lib": "1.4.0",
"escape-string-regexp": "1.0.5"
},
"_requested": {
"type": "range",
"registry": true,
"raw": "cucumber@^4.2.1",
"name": "cucumber",
"escapedName": "cucumber",
"rawSpec": "^4.2.1",
"saveSpec": null,
"fetchSpec": "^4.2.1"
},
"_requiredBy": [
"/cypress-cucumber-preprocessor"
"name": "cucumber",
"description": "The official JavaScript implementation of Cucumber.",
"keywords": [
"testing",
"bdd",
"cucumber",
"gherkin",
"tests"
],
"_resolved": "https://registry.npmjs.org/cucumber/-/cucumber-4.2.1.tgz",
"_shasum": "64cfff6150bbe6b5e94b173470057353d6206719",
"_spec": "cucumber@^4.2.1",
"_where": "/home/simon/Documents/lifen-autotest/node_modules/cypress-cucumber-preprocessor",
"author": {
"name": "Julien Biezemans",
"email": "jb@jbpros.com",
"url": "http://jbpros.net"
},
"bin": {
"cucumber-js": "bin/cucumber-js"
"version": "4.2.1",
"homepage": "http://github.com/cucumber/cucumber-js",
"author": "Julien Biezemans <jb@jbpros.com> (http://jbpros.net)",
"contributors": [
"Julien Biezemans <jb@jbpros.com> (http://jbpros.net)",
"Fernando Acorreia <fernandoacorreia@gmail.com>",
"Paul Jensen <paulbjensen@gmail.com>",
"Kushal Pisavadia",
"Olivier Melcher <olivier.melcher@gmail.com>",
"Tristan Dunn <tristanzdunn@gmail.com>",
"Ted de Koning",
"Renier Morales <renier@morales-rodriguez.net>",
"Aslak Hellesøy <aslak.hellesoy@gmail.com>",
"Aaron Garvey",
"Omar Gonzalez <omar@almerblank.com>",
"Chris Young <chris@chrisyoung.org>",
"Israel Halle <isra017@gmail.com>",
"Matteo Collina <matteo.collina@gmail.com>",
"Niklas Närhinen <niklas@narhinen.net>",
"Kim, Jang-hwan <janghwan@gmail.com>",
"Michael Zedeler <michael@zedeler.dk>",
"Tom V <tom@toc.com>",
"David Godfrey <reactiveraven@reactiveraven.co.uk>",
"Paul Shannon (http://devpaul.com)",
"Simon Dean <simon@simondean.org> (http://www.simondean.org)",
"John Wright <johngeorge.wright@gmail.com>",
"Johny Jose <johny@playlyfe.com>",
"Marat Dyatko <vectart@gmail.com>",
"Tim Perry <tim.perry@softwire.com>",
"Fedotov Daniil <hairyhum@gmail.com>",
"unknown <jharlin@NormanDev2.telogical.com>",
"Ben Van Treese <vantreeseba@gmail.com>",
"Gabe Hayes <gabriel.hayes@gmail.com>",
"Brian Clozel <brian.clozel@gmail.com>",
"Lukas Degener <l.degener@tarent.de>",
"Simon Lampen <simonlampen@vinsight.net>",
"Eddie Loeffen <eddieloeffen@gmail.com>",
"Stanley Shyiko <stanley.shyiko@gmail.com>",
"Artur Kania <kaniartur@gmail.com>",
"Sam Saccone <sam@samx.it>",
"Craig Morris <craig.michael.morris@gmail.com>",
"Gary Taylor <gary.taylor@hismessages.com>",
"Krispin Schulz <krispin.schulz@blackbridge.com>",
"Elwyn <elwyn@L1.co.nz>",
"Jan-Eric Duden <jeduden@gmail.com>",
"kostya.misura <kostya.misura@gmail.com>",
"Julian <microweb10@gmail.com>",
"nebehr <thorgeir@tut.by>",
"Jesse Harlin <harlinjesse@gmail.com>",
"Sonny Piers <sonny@fastmail.net>",
"Will Farrell <will@mojotech.com>",
"Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>",
"chrismilleruk <chrismilleruk@gmail.com>",
"Mateusz Derks <mateusz.derks@schibsted.pl>",
"Mark Amery <markamery@btinternet.com>",
"Artem Repko <roby-boby@ukr.net>",
"zs-zs <zsolt.zsigmondi@hotmail.com>",
"Dale Gardner <dalegardner@live.com>",
"Charles Rudolph <charles.rudolph@originate.com>",
"Karthik Viswanath <karthik.viswanath-contractor@adp.com>",
"Marcel Hoyer <mhoyer@pixelplastic.de>",
"Artem Bronitsky <quex@yandex.ru>",
"Karine Pires <karine.pires@alterway.fr>",
"Rick Lee-Morlang <rick@lee-morlang.com>",
"Noah Davis <noahd1@yahoo.com>",
"Miika Hänninen <miika.hanninen@gmail.com>",
"Kevin Goslar <kevin.goslar@gmail.com>",
"John Krull <astrom.flux@gmail.com>",
"Maxim Koretskiy <mr.green.tv@gmail.com>",
"seantdg <sm.davis@gmx.com>",
"Marc Burton <marc.burton@first-utility.com>",
"Jonathan Kim <jkimbo@gmail.com>",
"Ádám Gólya <adam.golya@lab.coop>",
"Scott Deakin <scott.deakin@kantar.com>",
"efokschaner <eddyaod@gmail.com>",
"John McLaughlin <john.mjhm@gmail.com>",
"Josh Goldberg <joshuakgoldberg@outlook.com>",
"Artur Pomadowski <artur.pomadowski@gmail.com>",
"Benjamín Eidelman <beneidel+gh@gmail.com>",
"Jan Molak <jan.molak@smartcodeltd.co.uk>",
"dbillingham <dbillinghamuk@yahoo.co.uk>",
"Jonathan Gomez <jonathanbgomez@gmail.com>",
"Oliver Rogers <oli.rogers@gmail.com>",
"Hugues Malphettes <hmalphettes@gmail.com>",
"gforceg <greghedin@gmail.com>",
"Zearin <Zearin@users.noreply.github.com>",
"Cody Ray Hoeft <crhoeft@gmail.com>",
"Florian Ribon <florian.ribon@gmail.com>",
"temyers <temyers@users.noreply.github.com>",
"Martin Delille <martin@phonations.com>",
"yaronassa <yaronassa@users.noreply.github.com>",
"Nico Jansen <jansennico@gmail.com>",
"Łukasz Gandecki <lgandecki@css.edu>",
"Warren <w.green@hotmail.com>",
"Vasily Shelkov <vasilydshelkov@gmail.com>",
"Steve Tooke <tooky@cucumber.io>",
"João Guilherme Farias Duda <jgfd@cin.ufpe.br>",
"szymonprz <szymonprz@gmail.com>",
"Olle Jonsson <olle.jonsson@gmail.com>",
"Darrin Holst <darrinholst@gmail.com>",
"Dmitry Shirokov <deadrunk@gmail.com>",
"Jayson Smith <github@nes.33mail.com>",
"jshifflet <jason.shifflet@gmail.com>",
"Máté Karácsony <k_mate@inf.elte.hu>",
"Ilya Kozhevnikov <github@kozhevnikov.com>",
"Giuseppe DiBella <gd46@njit.edu>",
"Marco Muller <marco@remotemetering.net>",
"Valerio Innocenti Sedili <valerio.innocenti.ext@yoox.com>",
"Alon Diamant <diamant.alon@gmail.com>",
"RolandArgos <roland.ormrod@argos.co.uk>",
"Julian <JuloWaks@users.noreply.github.com>",
"Bruce Lindsay <skynet1024@gmail.com>",
"Josua Schmid <jschmid@fastmail.net>",
"DevSide <thomas.triau@gmail.com>"
],
"repository": {
"type": "git",
"url": "git://github.com/cucumber/cucumber-js.git"
},
"bugs": {
"url": "http://github.com/cucumber/cucumber-js/issues",
"email": "cukes@googlegroups.com"
"email": "cukes@googlegroups.com",
"url": "http://github.com/cucumber/cucumber-js/issues"
},
"directories": {
"lib": "./lib"
},
"main": "./lib/index",
"engines": {
"node": ">=0.10"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Julien Biezemans",
"email": "jb@jbpros.com",
"url": "http://jbpros.net"
},
{
"name": "Fernando Acorreia",
"email": "fernandoacorreia@gmail.com"
},
{
"name": "Paul Jensen",
"email": "paulbjensen@gmail.com"
},
{
"name": "Kushal Pisavadia"
},
{
"name": "Olivier Melcher",
"email": "olivier.melcher@gmail.com"
},
{
"name": "Tristan Dunn",
"email": "tristanzdunn@gmail.com"
},
{
"name": "Ted de Koning"
},
{
"name": "Renier Morales",
"email": "renier@morales-rodriguez.net"
},
{
"name": "Aslak Hellesøy",
"email": "aslak.hellesoy@gmail.com"
},
{
"name": "Aaron Garvey"
},
{
"name": "Omar Gonzalez",
"email": "omar@almerblank.com"
},
{
"name": "Chris Young",
"email": "chris@chrisyoung.org"
},
{
"name": "Israel Halle",
"email": "isra017@gmail.com"
},
{
"name": "Matteo Collina",
"email": "matteo.collina@gmail.com"
},
{
"name": "Niklas Närhinen",
"email": "niklas@narhinen.net"
},
{
"name": "Kim, Jang-hwan",
"email": "janghwan@gmail.com"
},
{
"name": "Michael Zedeler",
"email": "michael@zedeler.dk"
},
{
"name": "Tom V",
"email": "tom@toc.com"
},
{
"name": "David Godfrey",
"email": "reactiveraven@reactiveraven.co.uk"
},
{
"name": "Paul Shannon",
"url": "http://devpaul.com"
},
{
"name": "Simon Dean",
"email": "simon@simondean.org",
"url": "http://www.simondean.org"
},
{
"name": "John Wright",
"email": "johngeorge.wright@gmail.com"
},
{
"name": "Johny Jose",
"email": "johny@playlyfe.com"
},
{
"name": "Marat Dyatko",
"email": "vectart@gmail.com"
},
{
"name": "Tim Perry",
"email": "tim.perry@softwire.com"
},
{
"name": "Fedotov Daniil",
"email": "hairyhum@gmail.com"
},
{
"name": "unknown",
"email": "jharlin@NormanDev2.telogical.com"
},
{
"name": "Ben Van Treese",
"email": "vantreeseba@gmail.com"
},
{
"name": "Gabe Hayes",
"email": "gabriel.hayes@gmail.com"
},
{
"name": "Brian Clozel",
"email": "brian.clozel@gmail.com"
},
{
"name": "Lukas Degener",
"email": "l.degener@tarent.de"
},
{
"name": "Simon Lampen",
"email": "simonlampen@vinsight.net"
},
{
"name": "Eddie Loeffen",
"email": "eddieloeffen@gmail.com"
},
{
"name": "Stanley Shyiko",
"email": "stanley.shyiko@gmail.com"
},
{
"name": "Artur Kania",
"email": "kaniartur@gmail.com"
},
{
"name": "Sam Saccone",
"email": "sam@samx.it"
},
{
"name": "Craig Morris",
"email": "craig.michael.morris@gmail.com"
},
{
"name": "Gary Taylor",
"email": "gary.taylor@hismessages.com"
},
{
"name": "Krispin Schulz",
"email": "krispin.schulz@blackbridge.com"
},
{
"name": "Elwyn",
"email": "elwyn@L1.co.nz"
},
{
"name": "Jan-Eric Duden",
"email": "jeduden@gmail.com"
},
{
"name": "kostya.misura",
"email": "kostya.misura@gmail.com"
},
{
"name": "Julian",
"email": "microweb10@gmail.com"
},
{
"name": "nebehr",
"email": "thorgeir@tut.by"
},
{
"name": "Jesse Harlin",
"email": "harlinjesse@gmail.com"
},
{
"name": "Sonny Piers",
"email": "sonny@fastmail.net"
},
{
"name": "Will Farrell",
"email": "will@mojotech.com"
},
{
"name": "Kevin Kirsche",
"email": "Kev.Kirsche+GitHub@gmail.com"
},
{
"name": "chrismilleruk",
"email": "chrismilleruk@gmail.com"
},
{
"name": "Mateusz Derks",
"email": "mateusz.derks@schibsted.pl"
},
{
"name": "Mark Amery",
"email": "markamery@btinternet.com"
},
{
"name": "Artem Repko",
"email": "roby-boby@ukr.net"
},
{
"name": "zs-zs",
"email": "zsolt.zsigmondi@hotmail.com"
},
{
"name": "Dale Gardner",
"email": "dalegardner@live.com"
},
{
"name": "Charles Rudolph",
"email": "charles.rudolph@originate.com"
},
{
"name": "Karthik Viswanath",
"email": "karthik.viswanath-contractor@adp.com"
},
{
"name": "Marcel Hoyer",
"email": "mhoyer@pixelplastic.de"
},
{
"name": "Artem Bronitsky",
"email": "quex@yandex.ru"
},
{
"name": "Karine Pires",
"email": "karine.pires@alterway.fr"
},
{
"name": "Rick Lee-Morlang",
"email": "rick@lee-morlang.com"
},
{
"name": "Noah Davis",
"email": "noahd1@yahoo.com"
},
{
"name": "Miika Hänninen",
"email": "miika.hanninen@gmail.com"
},
{
"name": "Kevin Goslar",
"email": "kevin.goslar@gmail.com"
},
{
"name": "John Krull",
"email": "astrom.flux@gmail.com"
},
{
"name": "Maxim Koretskiy",
"email": "mr.green.tv@gmail.com"
},
{
"name": "seantdg",
"email": "sm.davis@gmx.com"
},
{
"name": "Marc Burton",
"email": "marc.burton@first-utility.com"
},
{
"name": "Jonathan Kim",
"email": "jkimbo@gmail.com"
},
{
"name": "Ádám Gólya",
"email": "adam.golya@lab.coop"
},
{
"name": "Scott Deakin",
"email": "scott.deakin@kantar.com"
},
{
"name": "efokschaner",
"email": "eddyaod@gmail.com"
},
{
"name": "John McLaughlin",
"email": "john.mjhm@gmail.com"
},
{
"name": "Josh Goldberg",
"email": "joshuakgoldberg@outlook.com"
},
{
"name": "Artur Pomadowski",
"email": "artur.pomadowski@gmail.com"
},
{
"name": "Benjamín Eidelman",
"email": "beneidel+gh@gmail.com"
},
{
"name": "Jan Molak",
"email": "jan.molak@smartcodeltd.co.uk"
},
{
"name": "dbillingham",
"email": "dbillinghamuk@yahoo.co.uk"
},
{
"name": "Jonathan Gomez",
"email": "jonathanbgomez@gmail.com"
},
{
"name": "Oliver Rogers",
"email": "oli.rogers@gmail.com"
},
{
"name": "Hugues Malphettes",
"email": "hmalphettes@gmail.com"
},
{
"name": "gforceg",
"email": "greghedin@gmail.com"
},
{
"name": "Zearin",
"email": "Zearin@users.noreply.github.com"
},
{
"name": "Cody Ray Hoeft",
"email": "crhoeft@gmail.com"
},
{
"name": "Florian Ribon",
"email": "florian.ribon@gmail.com"
},
{
"name": "temyers",
"email": "temyers@users.noreply.github.com"
},
{
"name": "Martin Delille",
"email": "martin@phonations.com"
},
{
"name": "yaronassa",
"email": "yaronassa@users.noreply.github.com"
},
{
"name": "Nico Jansen",
"email": "jansennico@gmail.com"
},
{
"name": "Łukasz Gandecki",
"email": "lgandecki@css.edu"
},
{
"name": "Warren",
"email": "w.green@hotmail.com"
},
{
"name": "Vasily Shelkov",
"email": "vasilydshelkov@gmail.com"
},
{
"name": "Steve Tooke",
"email": "tooky@cucumber.io"
},
{
"name": "João Guilherme Farias Duda",
"email": "jgfd@cin.ufpe.br"
},
{
"name": "szymonprz",
"email": "szymonprz@gmail.com"
},
{
"name": "Olle Jonsson",
"email": "olle.jonsson@gmail.com"
},
{
"name": "Darrin Holst",
"email": "darrinholst@gmail.com"
},
{
"name": "Dmitry Shirokov",
"email": "deadrunk@gmail.com"
},
{
"name": "Jayson Smith",
"email": "github@nes.33mail.com"
},
{
"name": "jshifflet",
"email": "jason.shifflet@gmail.com"
},
{
"name": "Máté Karácsony",
"email": "k_mate@inf.elte.hu"
},
{
"name": "Ilya Kozhevnikov",
"email": "github@kozhevnikov.com"
},
{
"name": "Giuseppe DiBella",
"email": "gd46@njit.edu"
},
{
"name": "Marco Muller",
"email": "marco@remotemetering.net"
},
{
"name": "Valerio Innocenti Sedili",
"email": "valerio.innocenti.ext@yoox.com"
},
{
"name": "Alon Diamant",
"email": "diamant.alon@gmail.com"
},
{
"name": "RolandArgos",
"email": "roland.ormrod@argos.co.uk"
},
{
"name": "Julian",
"email": "JuloWaks@users.noreply.github.com"
},
{
"name": "Bruce Lindsay",
"email": "skynet1024@gmail.com"
},
{
"name": "Josua Schmid",
"email": "jschmid@fastmail.net"
},
{
"name": "DevSide",
"email": "thomas.triau@gmail.com"
}
],
"dependencies": {
"assertion-error-formatter": "^2.0.1",
"babel-runtime": "^6.11.6",
@@ -509,8 +168,6 @@
"util-arity": "^1.0.2",
"verror": "^1.9.0"
},
"deprecated": "The npm package has moved to @cucumber/cucumber",
"description": "The official JavaScript implementation of Cucumber.",
"devDependencies": {
"ansi-html": "^0.0.7",
"babel-cli": "^6.10.1",
@@ -552,47 +209,29 @@
"stream-to-string": "^1.1.0",
"tmp": "^0.0.33"
},
"directories": {
"lib": "./lib"
"scripts": {
"build-browser-example": "BABEL_ENV=browser browserify example/index.js -o dist/browser-example.js -t babelify",
"build-local-continuous": "babel src --watch -d lib --ignore '**/*_spec.js'",
"build-local": "babel src -d lib --ignore '**/*_spec.js'",
"build-release": "BABEL_ENV=browser browserify src/index.js -o dist/cucumber.js -t babelify --standalone Cucumber",
"feature-test": "node ./bin/cucumber-js",
"lint-dependencies": "dependency-lint",
"lint-code": "eslint \"{example,features,scripts,src,test}/**/*.js\"",
"lint-autofix": "eslint --fix \"{example,features,scripts,src,test}/**/*.js\"",
"lint": "yarn run lint-code && yarn run lint-dependencies",
"prefeature-test": "yarn run build-local",
"prepublish": "yarn run build-local",
"test-coverage": "yarn run lint && ./scripts/test-coverage.sh",
"test": "yarn run lint && yarn run unit-test && yarn run feature-test",
"unit-test": "mocha src"
},
"engines": {
"node": ">=0.10"
"bin": {
"cucumber-js": "./bin/cucumber-js"
},
"license": "MIT",
"files": [
"bin/",
"dist/",
"lib/"
],
"homepage": "http://github.com/cucumber/cucumber-js",
"keywords": [
"testing",
"bdd",
"cucumber",
"gherkin",
"tests"
],
"license": "MIT",
"main": "./lib/index",
"name": "cucumber",
"repository": {
"type": "git",
"url": "git://github.com/cucumber/cucumber-js.git"
},
"scripts": {
"build-browser-example": "BABEL_ENV=browser browserify example/index.js -o dist/browser-example.js -t babelify",
"build-local": "babel src -d lib --ignore '**/*_spec.js'",
"build-local-continuous": "babel src --watch -d lib --ignore '**/*_spec.js'",
"build-release": "BABEL_ENV=browser browserify src/index.js -o dist/cucumber.js -t babelify --standalone Cucumber",
"feature-test": "node ./bin/cucumber-js",
"lint": "yarn run lint-code && yarn run lint-dependencies",
"lint-autofix": "eslint --fix \"{example,features,scripts,src,test}/**/*.js\"",
"lint-code": "eslint \"{example,features,scripts,src,test}/**/*.js\"",
"lint-dependencies": "dependency-lint",
"prefeature-test": "yarn run build-local",
"prepublish": "yarn run build-local",
"test": "yarn run lint && yarn run unit-test && yarn run feature-test",
"test-coverage": "yarn run lint && ./scripts/test-coverage.sh",
"unit-test": "mocha src"
},
"version": "4.2.1"
]
}