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

View File

@@ -1,45 +1,47 @@
{
"_from": "cypress-cucumber-preprocessor",
"_id": "cypress-cucumber-preprocessor@4.2.0",
"_inBundle": false,
"_integrity": "sha512-iVm+gUROvg8lDIFStP4/B+0xHAwj6c6HCoUtkZqq8Ee/tcqe2Vlhz1eAq2Q5+tzmCk2/CIh06suvqB+RQpjWBw==",
"_location": "/cypress-cucumber-preprocessor",
"_phantomChildren": {
"ms": "2.1.3"
},
"_requested": {
"type": "tag",
"registry": true,
"raw": "cypress-cucumber-preprocessor",
"name": "cypress-cucumber-preprocessor",
"escapedName": "cypress-cucumber-preprocessor",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#DEV:/",
"#USER"
],
"_resolved": "https://registry.npmjs.org/cypress-cucumber-preprocessor/-/cypress-cucumber-preprocessor-4.2.0.tgz",
"_shasum": "9b41b7e58940e5fdb478cd41434c93ed62bd397b",
"_spec": "cypress-cucumber-preprocessor",
"_where": "/home/simon/Documents/lifen-autotest",
"author": {
"name": "Lukasz Gandecki"
"name": "cypress-cucumber-preprocessor",
"version": "4.2.0",
"description": "Run gherkin-syntaxed specs with cypress.io",
"main": "lib/index.js",
"scripts": {
"test": "eslint . && jest && npm run test:all",
"test:all": "cypress run --spec \"**/*.features\"",
"test:each": "cypress run --spec \"**/*.feature\"",
"test:debug": "jest && DEBUG=cypress:* cypress open\n",
"fixStyle": "eslint . --fix",
"semantic-release": "semantic-release"
},
"bin": {
"cypress-tags": "cypress-tags.js"
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"pre-commit": "lint-staged && jest"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/TheBrainFamily/cypress-cucumber-preprocessor.git"
},
"keywords": [
"cucumber",
"gherkin",
"cypress",
"testing"
],
"author": "Lukasz Gandecki",
"license": "MIT",
"bugs": {
"url": "https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/issues"
},
"bundleDependencies": false,
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"homepage": "https://github.com/TheBrainFamily/cypress-cucumber-preprocessor#readme",
"dependencies": {
"@cypress/browserify-preprocessor": "^3.0.1",
"chai": "^4.2.0",
@@ -56,8 +58,6 @@
"minimist": "^1.2.5",
"through": "^2.3.8"
},
"deprecated": false,
"description": "Run gherkin-syntaxed specs with cypress.io",
"devDependencies": {
"commitizen": "^4.2.1",
"cypress": "^5.1.0",
@@ -74,13 +74,6 @@
"prettier": "2.1.2",
"semantic-release": "^17.1.1"
},
"homepage": "https://github.com/TheBrainFamily/cypress-cucumber-preprocessor#readme",
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"pre-commit": "lint-staged && jest"
}
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/lib/testHelpers/setupTestFramework.js"
@@ -94,32 +87,9 @@
"<rootDir>/lib/*.test.js"
]
},
"keywords": [
"cucumber",
"gherkin",
"cypress",
"testing"
],
"license": "MIT",
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"main": "lib/index.js",
"name": "cypress-cucumber-preprocessor",
"repository": {
"type": "git",
"url": "git+https://github.com/TheBrainFamily/cypress-cucumber-preprocessor.git"
},
"scripts": {
"fixStyle": "eslint . --fix",
"semantic-release": "semantic-release",
"test": "eslint . && jest && npm run test:all",
"test:all": "cypress run --spec \"**/*.features\"",
"test:debug": "jest && DEBUG=cypress:* cypress open\n",
"test:each": "cypress run --spec \"**/*.feature\""
},
"version": "4.2.0"
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}