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 +1,12 @@
../jsesc/bin/jsesc
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@"
else
exec node "$basedir/../jsesc/bin/jsesc" "$@"
fi

17
node_modules/regjsparser/node_modules/.bin/jsesc.cmd generated vendored Normal file
View File

@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jsesc\bin\jsesc" %*

28
node_modules/regjsparser/node_modules/.bin/jsesc.ps1 generated vendored Normal file
View File

@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args
} else {
& "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../jsesc/bin/jsesc" $args
} else {
& "node$exe" "$basedir/../jsesc/bin/jsesc" $args
}
$ret=$LASTEXITCODE
}
exit $ret

View File

@@ -1,84 +1,55 @@
{
"_from": "jsesc@~0.5.0",
"_id": "jsesc@0.5.0",
"_inBundle": false,
"_integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
"_location": "/regjsparser/jsesc",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "jsesc@~0.5.0",
"name": "jsesc",
"escapedName": "jsesc",
"rawSpec": "~0.5.0",
"saveSpec": null,
"fetchSpec": "~0.5.0"
},
"_requiredBy": [
"/regjsparser"
],
"_resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
"_shasum": "e7dee66e35d6fc16f710fe91d5cf69f70f08911d",
"_spec": "jsesc@~0.5.0",
"_where": "/home/simon/Documents/lifen-autotest/node_modules/regjsparser",
"author": {
"name": "Mathias Bynens",
"url": "http://mathiasbynens.be/"
},
"bin": {
"jsesc": "bin/jsesc"
},
"bugs": {
"url": "https://github.com/mathiasbynens/jsesc/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "A JavaScript library for escaping JavaScript strings while generating the shortest possible valid output.",
"devDependencies": {
"coveralls": "^2.10.0",
"grunt": "^0.4.5",
"grunt-shell": "^0.7.0",
"grunt-template": "^0.2.3",
"istanbul": "^0.3.0",
"qunit-extras": "^1.2.0",
"qunitjs": "~1.11.0",
"regenerate": "^0.6.2",
"requirejs": "^2.1.14"
},
"directories": {
"test": "tests"
},
"files": [
"LICENSE-MIT.txt",
"jsesc.js",
"bin/",
"man/"
],
"homepage": "http://mths.be/jsesc",
"keywords": [
"string",
"escape",
"javascript",
"tool"
],
"licenses": [
{
"type": "MIT",
"url": "http://mths.be/mit"
}
],
"main": "jsesc.js",
"man": [
"man/jsesc.1"
],
"name": "jsesc",
"repository": {
"type": "git",
"url": "git+https://github.com/mathiasbynens/jsesc.git"
},
"scripts": {
"test": "node tests/tests.js"
},
"version": "0.5.0"
"name": "jsesc",
"version": "0.5.0",
"description": "A JavaScript library for escaping JavaScript strings while generating the shortest possible valid output.",
"homepage": "http://mths.be/jsesc",
"main": "jsesc.js",
"bin": "bin/jsesc",
"man": "man/jsesc.1",
"keywords": [
"string",
"escape",
"javascript",
"tool"
],
"licenses": [
{
"type": "MIT",
"url": "http://mths.be/mit"
}
],
"author": {
"name": "Mathias Bynens",
"url": "http://mathiasbynens.be/"
},
"repository": {
"type": "git",
"url": "https://github.com/mathiasbynens/jsesc.git"
},
"bugs": {
"url": "https://github.com/mathiasbynens/jsesc/issues"
},
"files": [
"LICENSE-MIT.txt",
"jsesc.js",
"bin/",
"man/"
],
"directories": {
"test": "tests"
},
"scripts": {
"test": "node tests/tests.js"
},
"devDependencies": {
"coveralls": "^2.10.0",
"grunt": "^0.4.5",
"grunt-shell": "^0.7.0",
"grunt-template": "^0.2.3",
"istanbul": "^0.3.0",
"qunit-extras": "^1.2.0",
"qunitjs": "~1.11.0",
"regenerate": "^0.6.2",
"requirejs": "^2.1.14"
}
}

View File

@@ -1,46 +1,17 @@
{
"_from": "regjsparser@^0.6.4",
"_id": "regjsparser@0.6.9",
"_inBundle": false,
"_integrity": "sha512-ZqbNRz1SNjLAiYuwY0zoXW8Ne675IX5q+YHioAGbCw4X96Mjl2+dcX9B2ciaeyYjViDAfvIjFpQjJgLttTEERQ==",
"_location": "/regjsparser",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "regjsparser@^0.6.4",
"name": "regjsparser",
"escapedName": "regjsparser",
"rawSpec": "^0.6.4",
"saveSpec": null,
"fetchSpec": "^0.6.4"
"name": "regjsparser",
"version": "0.6.9",
"author": "'Julian Viereck' <julian.viereck@gmail.com>",
"license": "BSD-2-Clause",
"main": "./parser",
"bin": "bin/parser",
"homepage": "https://github.com/jviereck/regjsparser",
"repository": {
"type": "git",
"url": "git@github.com:jviereck/regjsparser.git"
},
"_requiredBy": [
"/regexpu-core"
],
"_resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.9.tgz",
"_shasum": "b489eef7c9a2ce43727627011429cf833a7183e6",
"_spec": "regjsparser@^0.6.4",
"_where": "/home/simon/Documents/lifen-autotest/node_modules/regexpu-core",
"author": {
"name": "'Julian Viereck'",
"email": "julian.viereck@gmail.com"
},
"bin": {
"regjsparser": "bin/parser"
},
"bugs": {
"url": "https://github.com/jviereck/regjsparser/issues"
},
"bundleDependencies": false,
"dependencies": {
"jsesc": "~0.5.0"
},
"deprecated": false,
"description": "Parsing the JavaScript's RegExp in JavaScript.",
"devDependencies": {
"regenerate": "~1.0.1",
"unicode-11.0.0": "^0.7.8"
"scripts": {
"test": "node test/index.js"
},
"files": [
"bin/",
@@ -48,16 +19,11 @@
"parser.js",
"README.md"
],
"homepage": "https://github.com/jviereck/regjsparser",
"license": "BSD-2-Clause",
"main": "./parser",
"name": "regjsparser",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/jviereck/regjsparser.git"
"dependencies": {
"jsesc": "~0.5.0"
},
"scripts": {
"test": "node test/index.js"
},
"version": "0.6.9"
"devDependencies": {
"regenerate": "~1.0.1",
"unicode-11.0.0": "^0.7.8"
}
}