-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
6854 configure cucumber and step definitions
- Loading branch information
Showing
55 changed files
with
10,547 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,7 @@ | |
.vscode | ||
public/app.js | ||
.pre-commit-config.yaml | ||
# E2E tests | ||
!e2e/yarn.lock | ||
e2e/node_modules | ||
e2e/reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["@babel/preset-typescript", "@babel/preset-env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"localhost": "http://0.0.0.0:8080/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"header logo": {"role": "heading", "name": "header-logo" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"Currency Amount" : { "role": "spinbutton", "name": "Decimal Amount"} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"Start in Javascript": { "role": "link", "name": "Start in Javascript" }, | ||
"Start in Haskell": { "role": "link", "name": "Start in Haskell" }, | ||
"Start in Marlowe": { "role": "link", "name": "Start in Marlowe" }, | ||
"Start in Blockly": { "role": "link", "name": "Start in Blockly" }, | ||
"Open existing project": { "role": "button", "name": "Open existing project" }, | ||
"Open an example": { "role": "button", "name": "Open an example" }, | ||
"Login with github": { "role": "heading", "name": "Login with github" }, | ||
"Escrow header": { "role": "heading", "name": "Escrow" }, | ||
"Escrow Haskell": { "role": "button", "name": "Escrow Haskell" }, | ||
"Escrow Javascript": { "role": "button", "name": "Escrow Javascript" }, | ||
"Escrow Marlowe": { "role": "button", "name": "Escrow Marlowe" }, | ||
"Escrow Blockly": { "role": "button", "name": "Escrow Blockly" }, | ||
"Escrow with Collateral header": { "role": "heading", "name": "Escrow With Collateral" }, | ||
"Escrow with Collateral Haskell": { "role": "button", "name": "Escrow With Collateral Haskell" }, | ||
"Escrow with Collateral Javascript": { "role": "button", "name": "Escrow With Collateral Javascript" }, | ||
"Escrow with Collateral Marlowe": { "role": "button", "name": "Escrow With Collateral Marlowe" }, | ||
"Escrow with Collateral Blockly": { "role": "button", "name": "Escrow With Collateral Blockly" }, | ||
"Zero Coupon Bond header": { "role": "heading", "name": "Zero Coupon Bond" }, | ||
"Zero Coupon Bond Haskell": { "role": "button", "name": "Zero Coupon Bond Haskell" }, | ||
"Zero Coupon Bond Javascript": { "role": "button", "name": "Zero Coupon Bond Javascript" }, | ||
"Zero Coupon Bond Marlowe": { "role": "button", "name": "Zero Coupon Bond Marlowe" }, | ||
"Zero Coupon Bond Blockly": { "role": "button", "name": "Zero Coupon Bond Blockly" }, | ||
"Coupon Bond Guaranteed header": { "role": "heading", "name": "Coupon Bond Guaranteed" }, | ||
"Coupon Bond Guaranteed Haskell": { "role": "button", "name": "Coupon Bond Guaranteed Haskell" }, | ||
"Coupon Bond Guaranteed Javascript": { "role": "button", "name": "Coupon Bond Guaranteed Javascript" }, | ||
"Coupon Bond Guaranteed Marlowe": { "role": "button", "name": "Coupon Bond Guaranteed Marlowe" }, | ||
"Coupon Bond Guaranteed Blockly": { "role": "button", "name": "Coupon Bond Guaranteed Blockly" }, | ||
"Swap header": { "role": "heading", "name": "Swap" }, | ||
"Swap Haskell": { "role": "button", "name": "Swap Haskell" }, | ||
"Swap Javascript": { "role": "button", "name": "Swap Javascript" }, | ||
"Swap Marlowe": { "role": "button", "name": "Swap Marlowe" }, | ||
"Swap Blockly": { "role": "button", "name": "Swap Blockly" }, | ||
"Contract For Differences header": { "role": "heading", "name": "Contract For Differences" }, | ||
"Contract For Differences Haskell": { "role": "button", "name": "Contract For Differences Haskell" }, | ||
"Contract For Differences Javascript": { "role": "button", "name": "Contract For Differences Javascript" }, | ||
"Contract For Differences Marlowe": { "role": "button", "name": "Contract For Differences Marlowe" }, | ||
"Contract For Differences Blockly": { "role": "button", "name": "Contract For Differences Blockly" }, | ||
"Contract For Differences with Oracle header": { "role": "heading", "name": "Contract For Differences with Oracle" }, | ||
"Contract For Differences with Oracle Haskell": { "role": "button", "name": "Contract For Differences with Oracle Haskell" }, | ||
"Contract For Differences with Oracle Javascript": { "role": "button", "name": "Contract For Differences with Oracle Javascript" }, | ||
"Contract For Differences with Oracle Marlowe": { "role": "button", "name": "Contract For Differences with Oracle Marlowe" }, | ||
"Contract For Differences with Oracle Blockly": { "role": "button", "name": "Contract For Differences with Oracle Blockly" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"JS Editor": { "role": "textbox", "name": "Editor content;Press Alt+F1 for Accessibility Options."} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"editor header": { "role": "heading", "name": "project-title"}, | ||
"playground editor": { "role": "heading", "name": "javascript-editor"}, | ||
"Compile": { "role": "button", "name": "Compile"}, | ||
"Send To Simulator": { "role": "button", "name": "Send to Simulator"}, | ||
"JS Editor": { "role": "textbox", "name": "Editor content;Press Alt+F1 for Accessibility Options."} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"home": { | ||
"route": "/", | ||
"regex": "^/#/$" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("./dist"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"use strict"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
"use strict"; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.getJsonFromFile = exports.envNumber = exports.env = void 0; | ||
var env = function env(key) { | ||
var value = process.env[key]; | ||
if (!value) { | ||
throw Error("No environment variable found for ".concat(key)); | ||
} | ||
return value; | ||
}; | ||
exports.env = env; | ||
var getJsonFromFile = function getJsonFromFile(path) { | ||
return require("".concat(process.cwd()).concat(path)); | ||
}; | ||
exports.getJsonFromFile = getJsonFromFile; | ||
var envNumber = function envNumber(key) { | ||
return Number(env[key]); | ||
}; | ||
exports.envNumber = envNumber; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"use strict"; | ||
|
||
var _dotenv = _interopRequireDefault(require("dotenv")); | ||
var _cucumberHtmlReporter = _interopRequireDefault(require("cucumber-html-reporter")); | ||
var _parseEnv = require("../env/parseEnv"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
_dotenv["default"].config({ | ||
path: (0, _parseEnv.env)('COMMON_CONFIG_FILE') | ||
}); | ||
var options = { | ||
theme: 'bootstrap', | ||
jsonFile: (0, _parseEnv.env)('JSON_REPORT_FILE'), | ||
output: (0, _parseEnv.env)('HTML_REPORT_FILE'), | ||
screenshotsDirectory: (0, _parseEnv.env)('SCREENSHOT_PATH'), | ||
storeScreenshots: true, | ||
reportSuiteAsScenarios: true, | ||
launchReport: false | ||
}; | ||
_cucumberHtmlReporter["default"].generate(options); |
Oops, something went wrong.