parent
fdcb818216
commit
b135971f60
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 4.6 KiB |
@ -0,0 +1,200 @@ |
|||||||
|
<head> |
||||||
|
<title>Nightwatch Reporter</title> |
||||||
|
<!-- Required meta tags --> |
||||||
|
<meta charset="utf-8"> |
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
||||||
|
|
||||||
|
<!-- Bootstrap CSS --> |
||||||
|
<link rel="stylesheet" href="css/bootstrap.min.css"> |
||||||
|
<link rel="stylesheet" href="css/style.css"> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
|
||||||
|
<div id="wrap"> |
||||||
|
<div id="main"> |
||||||
|
<section id="navigation"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<nav class="navbar navbar-expand-lg"> |
||||||
|
<a class="navbar-brand" href="https://nightwatchjs.org" target="_blank"><div class="logo"></div></a> |
||||||
|
</nav> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
<section id="auxbar"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row"> |
||||||
|
<div class="auxcol col-md-4 align-items-center"> |
||||||
|
<div class="auxcontainer"> |
||||||
|
<div class="auxbox autobox"> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="auxcol col-md-4 align-items-center"> |
||||||
|
<div class="auxcontainer align-h-center"> |
||||||
|
<h1>Nightwatch.js – <strong>Test Report</strong></h1> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
|
||||||
|
|
||||||
|
<section id="sessions"> |
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<div class="container-fluid"> |
||||||
|
|
||||||
|
<div id="s1" class="sessionbox"> |
||||||
|
|
||||||
|
<div class="sessionbox-indicator indicator-error sessionbox-padding"> |
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-1"> |
||||||
|
<div class="statusbadge statusbadge-error">Error</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-11 separator-l"> |
||||||
|
<div class="row sessionbox-head"> |
||||||
|
<div class="col-md-8"> |
||||||
|
xterm.test |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div id="tabs-s1" class="row sessionbox-tabs"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<nav> |
||||||
|
<div class="nav nav-tabs" id="nav-tab1" role="tablist"> |
||||||
|
<a class="nav-item nav-link active" id="nav-s1-t1-tab" data-bs-toggle="tab" href="#nav-s1-t1" role="tab" aria-controls="nav-s1-t1" aria-selected="true">Details</a> |
||||||
|
<a class="nav-item nav-link" id="nav-s1-t3-tab" data-bs-toggle="tab" href="#nav-s1-t3" role="tab" aria-controls="nav-s1-t3" aria-selected="true">Raw HTTP Log</a> |
||||||
|
</div> |
||||||
|
</nav> |
||||||
|
|
||||||
|
<div class="tab-content" id="nav-tab1Content"> |
||||||
|
<div class="tab-pane show active" id="nav-s1-t1" role="tabpanel" aria-labelledby="nav-home-tab"> |
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<div class="statgroup autobox"> |
||||||
|
<div class="statbox autobox"> |
||||||
|
<div class="label-sessionfull">Status</div> |
||||||
|
<div class="stat-sessionfull">PASSED</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="statgroup autobox"> |
||||||
|
<div class="statbox autobox"> |
||||||
|
<div class="label-sessionfull">Tests</div> |
||||||
|
<div class="stat-sessionfull">0</div> |
||||||
|
</div> |
||||||
|
<div class="statbox autobox"> |
||||||
|
<div class="label-sessionfull">Failed</div> |
||||||
|
<div class="stat-sessionfull">0</div> |
||||||
|
</div> |
||||||
|
<div class="statbox autobox"> |
||||||
|
<div class="label-sessionfull">Errors</div> |
||||||
|
<div class="stat-sessionfull">1</div> |
||||||
|
</div> |
||||||
|
<div class="statbox autobox"> |
||||||
|
<div class="label-sessionfull">Module Path</div> |
||||||
|
<div class="stat-sessionfull">/build-e2e/remixdesktop/test/tests/app/xterm.test.js</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="statgroup autobox"> |
||||||
|
<div class="statbox autobox"> |
||||||
|
<div class="label-sessionfull">Duration</div> |
||||||
|
<div class="stat-sessionfull">0.000 secs</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="tab-pane raw-http-log" id="nav-s1-t3" role="tabpanel" aria-labelledby="nav-contact-tab"> |
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<div class="raw-http-log code-sessionfull"><div style="margin-left: -15px;margin-top: 10px; background: #0c5460"> Request <b><span style="color:#0AA">POST /wd/hub/session </span></b></div><div>{ |
||||||
|
desiredCapabilities: { |
||||||
|
browserName: <span style="color:#0A0">'chrome'<span style="color:#FFF">, |
||||||
|
javascriptEnabled: <span style="color:#A50">true<span style="color:#FFF">, |
||||||
|
acceptSslCerts: <span style="color:#A50">true<span style="color:#FFF">, |
||||||
|
<span style="color:#0A0">'goog:chromeOptions'<span style="color:#FFF">: { |
||||||
|
binary: <span style="color:#0A0">'release/linux-unpacked/remixdesktop --e2e-local'<span style="color:#FFF">, |
||||||
|
args: [] |
||||||
|
}, |
||||||
|
name: <span style="color:#0A0">'Xterm Test'<span style="color:#FFF"> |
||||||
|
}, |
||||||
|
capabilities: { |
||||||
|
alwaysMatch: { |
||||||
|
browserName: <span style="color:#0A0">'chrome'<span style="color:#FFF">, |
||||||
|
<span style="color:#0A0">'goog:chromeOptions'<span style="color:#FFF">: { |
||||||
|
binary: <span style="color:#0A0">'release/linux-unpacked/remixdesktop --e2e-local'<span style="color:#FFF">, |
||||||
|
args: [] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
}</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></div><div style="margin-left: -15px;margin-top: 10px; background: #0c5460"> Response 500 POST /wd/hub/session (160ms)</div><div>{ |
||||||
|
value: { |
||||||
|
error: <span style="color:#0A0">'session not created'<span style="color:#FFF">, |
||||||
|
message: <span style="color:#0A0">'Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Response code 500. Message: unknown error: no chrome binary at release/linux-unpacked/remixdesktop --e2e-local \n'<span style="color:#FFF"> + |
||||||
|
<span style="color:#0A0">"Host info: host: 'Ubuntuns', ip: '127.0.1.1'\n"<span style="color:#FFF"> + |
||||||
|
<span style="color:#0A0">"Build info: version: '4.9.0', revision: 'd7057100a6'\n"<span style="color:#FFF"> + |
||||||
|
<span style="color:#0A0">"System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-39-generic', java.version: '11.0.21'\n"<span style="color:#FFF"> + |
||||||
|
<span style="color:#0A0">'Driver info: driver.version: unknown\n'<span style="color:#FFF"> + |
||||||
|
<span style="color:#0A0">"Build info: version: '4.9.0', revision: 'd7057100a6'\n"<span style="color:#FFF"> + |
||||||
|
<span style="color:#0A0">"System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-39-generic', java.version: '11.0.21'\n"<span style="color:#FFF"> + |
||||||
|
<span style="color:#0A0">'Driver info: driver.version: unknown'<span style="color:#FFF">, |
||||||
|
stacktrace: <span style="color:#0A0">''<span style="color:#FFF"> |
||||||
|
} |
||||||
|
}</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></div></div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<div id="sessionfull-accordion"> |
||||||
|
|
||||||
|
|
||||||
|
<div class="card"> |
||||||
|
<div class="card-header" id="h2"> |
||||||
|
<h5 class="mb-0"> |
||||||
|
<button class="btn btn-link" style="background-image:none"> |
||||||
|
open app |
||||||
|
<span class ="float-right"> |
||||||
|
<a href="#" class="btn btn-sm btn-secondary disabled" role="button" style="font-size: 0.65em">skipped</a> |
||||||
|
</span> |
||||||
|
</button> |
||||||
|
</h5> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<section id="footer"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row footerstarbg"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<nav class="footer-box"> |
||||||
|
<div class="footer-links"> |
||||||
|
<a class="cr" href="https://nightwatchjs.org" target="_blank">© 2022 Nightwatch.js</a> |
||||||
|
</nav> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
<script src="js/bootstrap.min.js"></script> |
||||||
|
</body> |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,56 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||||
|
<testsuites errors="1" |
||||||
|
failures="0" |
||||||
|
tests="0"> |
||||||
|
|
||||||
|
<testsuite name="xterm.test" |
||||||
|
errors="1" failures="0" hostname="" id="" package="xterm.test" skipped="1" |
||||||
|
tests="0" time="0.000" timestamp=""> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<system-err> |
||||||
|
An error occurred while creating a new Selenium Server session: [SessionNotCreatedError] Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Response code 500. Message: unknown error: no chrome binary at release/linux-unpacked/remixdesktop --e2e-local |
||||||
|
Host info: host: 'Ubuntuns', ip: '127.0.1.1' |
||||||
|
Build info: version: '4.9.0', revision: 'd7057100a6' |
||||||
|
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-39-generic', java.version: '11.0.21' |
||||||
|
Driver info: driver.version: unknown |
||||||
|
Build info: version: '4.9.0', revision: 'd7057100a6' |
||||||
|
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-39-generic', java.version: '11.0.21' |
||||||
|
Driver info: driver.version: unknown |
||||||
|
</system-err> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<error message="An error occurred while creating a new Selenium Server session: [SessionNotCreatedError] Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Response code 500. Message: unknown error: no chrome binary at release/linux-unpacked/remixdesktop --e2e-local |
||||||
|
Host info: host: 'Ubuntuns', ip: '127.0.1.1' |
||||||
|
Build info: version: '4.9.0', revision: 'd7057100a6' |
||||||
|
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-39-generic', java.version: '11.0.21' |
||||||
|
Driver info: driver.version: unknown |
||||||
|
Build info: version: '4.9.0', revision: 'd7057100a6' |
||||||
|
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-39-generic', java.version: '11.0.21' |
||||||
|
Driver info: driver.version: unknown"><![CDATA[ |
||||||
|
SessionNotCreatedError: An error occurred while creating a new Selenium Server session: [SessionNotCreatedError] Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Response code 500. Message: unknown error: no chrome binary at release/linux-unpacked/remixdesktop --e2e-local |
||||||
|
Host info: host: 'Ubuntuns', ip: '127.0.1.1' |
||||||
|
Build info: version: '4.9.0', revision: 'd7057100a6' |
||||||
|
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-39-generic', java.version: '11.0.21' |
||||||
|
Driver info: driver.version: unknown |
||||||
|
Build info: version: '4.9.0', revision: 'd7057100a6' |
||||||
|
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-39-generic', java.version: '11.0.21' |
||||||
|
Driver info: driver.version: unknown |
||||||
|
at Object.throwDecodedError (/home/bunsen/code/remix-project/apps/remixdesktop/node_modules/selenium-webdriver/lib/error.js:522:15) |
||||||
|
at parseHttpResponse (/home/bunsen/code/remix-project/apps/remixdesktop/node_modules/selenium-webdriver/lib/http.js:589:13) |
||||||
|
at Executor.execute (/home/bunsen/code/remix-project/apps/remixdesktop/node_modules/selenium-webdriver/lib/http.js:514:28) |
||||||
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) |
||||||
|
]]></error> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<testcase |
||||||
|
name="open app" classname="xterm.test"> |
||||||
|
<skipped /> |
||||||
|
</testcase> |
||||||
|
|
||||||
|
|
||||||
|
</testsuite> |
||||||
|
</testsuites> |
@ -0,0 +1,15 @@ |
|||||||
|
module.exports = { |
||||||
|
baseURL: 'https://selenium-release.storage.googleapis.com', |
||||||
|
drivers: { |
||||||
|
chrome: { |
||||||
|
version: '114.0.1788.0', |
||||||
|
arch: process.arch, |
||||||
|
baseURL: 'https://chromedriver.storage.googleapis.com' |
||||||
|
}, |
||||||
|
chromiumedge: { |
||||||
|
version: '114.0.1788.0', |
||||||
|
arch: process.arch, |
||||||
|
baseURL: 'https://msedgedriver.azureedge.net/' |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,2 @@ |
|||||||
|
{"openedFolders":["/home/bunsen/Documents/remix-reward"], |
||||||
|
"recentFolders":["/home/bunsen/Documents/remix-reward"]} |
@ -0,0 +1,67 @@ |
|||||||
|
module.exports = { |
||||||
|
src_folders: ['build-e2e/remixdesktop/test/tests/app'], |
||||||
|
output_folder: './reports/tests', |
||||||
|
custom_assertions_path: '', |
||||||
|
page_objects_path: '', |
||||||
|
globals_path: '', |
||||||
|
test_settings: { |
||||||
|
default: { |
||||||
|
selenium_port: 4444, |
||||||
|
selenium_host: 'localhost', |
||||||
|
globals: { |
||||||
|
waitForConditionTimeout: 10000, |
||||||
|
asyncHookTimeout: 100000 |
||||||
|
}, |
||||||
|
screenshots: { |
||||||
|
enabled: true, |
||||||
|
path: './reports/screenshots', |
||||||
|
on_failure: true, |
||||||
|
on_error: true |
||||||
|
}, |
||||||
|
|
||||||
|
}, |
||||||
|
macos: { |
||||||
|
desiredCapabilities: { |
||||||
|
browserName: 'chrome', |
||||||
|
javascriptEnabled: true, |
||||||
|
acceptSslCerts: true, |
||||||
|
'goog:chromeOptions': { |
||||||
|
"binary": "electron .", |
||||||
|
"args": [ |
||||||
|
"--folder=test/contracts", |
||||||
|
"--remix-ide-url=http://localhost:8080", |
||||||
|
"--e2e" |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
linuxlocal: { |
||||||
|
desiredCapabilities: { |
||||||
|
browserName: 'chrome', |
||||||
|
javascriptEnabled: true, |
||||||
|
acceptSslCerts: true, |
||||||
|
'goog:chromeOptions': { |
||||||
|
"binary": "release/linux-unpacked/remixdesktop", |
||||||
|
"args": [ |
||||||
|
"--e2e-local", |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
windows: { |
||||||
|
desiredCapabilities: { |
||||||
|
browserName: 'chrome', |
||||||
|
javascriptEnabled: true, |
||||||
|
acceptSslCerts: true, |
||||||
|
'goog:chromeOptions': { |
||||||
|
"binary": "./out/remixconnect-win32-x64/remixconnect.exe", |
||||||
|
"args": [ |
||||||
|
"--folder=test/contracts", |
||||||
|
"--remix-ide-url=http://localhost:8080", |
||||||
|
"--e2e" |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,13 @@ |
|||||||
|
import { NightwatchBrowser } from 'nightwatch' |
||||||
|
|
||||||
|
|
||||||
|
module.exports = { |
||||||
|
before: function (browser: NightwatchBrowser, done: VoidFunction) { |
||||||
|
done() |
||||||
|
}, |
||||||
|
'open app': function (browser: NightwatchBrowser) { |
||||||
|
browser |
||||||
|
.pause() |
||||||
|
.end() |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,108 @@ |
|||||||
|
// Merge custom command types with nightwatch types
|
||||||
|
/* eslint-disable no-use-before-define */ |
||||||
|
import {NightwatchBrowser} from 'nightwatch' // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||||
|
export type callbackCheckVerifyCallReturnValue = (values: string[]) => {message: string; pass: boolean} |
||||||
|
|
||||||
|
declare module 'nightwatch' { |
||||||
|
export interface NightwatchCustomCommands { |
||||||
|
clickLaunchIcon(icon: string): NightwatchBrowser |
||||||
|
switchBrowserTab(index: number): NightwatchBrowser |
||||||
|
scrollAndClick(target: string): NightwatchBrowser |
||||||
|
scrollInto(target: string): NightwatchBrowser |
||||||
|
testContracts(fileName: string, contractCode: NightwatchContractContent, compiledContractNames: string[]): NightwatchBrowser |
||||||
|
setEditorValue(value: string, callback?: () => void): NightwatchBrowser |
||||||
|
addFile(name: string, content: NightwatchContractContent): NightwatchBrowser |
||||||
|
verifyContracts(compiledContractNames: string[], opts?: {wait: number; version?: string; runs?: string}): NightwatchBrowser |
||||||
|
selectAccount(account?: string): NightwatchBrowser |
||||||
|
clickFunction(fnFullName: string, expectedInput?: NightwatchClickFunctionExpectedInput): NightwatchBrowser |
||||||
|
testFunction(txHash: string, expectedInput: NightwatchTestFunctionExpectedInput): NightwatchBrowser |
||||||
|
goToVMTraceStep(step: number, incr?: number): NightwatchBrowser |
||||||
|
checkVariableDebug(id: string, debugValue: NightwatchCheckVariableDebugValue): NightwatchBrowser |
||||||
|
addAtAddressInstance(address: string, isValidFormat: boolean, isValidChecksum: boolean, isAbi?: boolean): NightwatchBrowser |
||||||
|
modalFooterOKClick(id?: string): NightwatchBrowser |
||||||
|
clickInstance(index: number): NightwatchBrowser |
||||||
|
journalLastChildIncludes(val: string): NightwatchBrowser |
||||||
|
executeScriptInTerminal(script: string): NightwatchBrowser |
||||||
|
clearEditableContent(cssSelector: string): NightwatchBrowser |
||||||
|
journalChildIncludes(val: string, opts = {shouldHaveOnlyOneOccurence: boolean}): NightwatchBrowser |
||||||
|
debugTransaction(index: number): NightwatchBrowser |
||||||
|
checkElementStyle(cssSelector: string, styleProperty: string, expectedResult: string): NightwatchBrowser |
||||||
|
openFile(name: string): NightwatchBrowser |
||||||
|
refreshPage(): NightwatchBrowser |
||||||
|
verifyLoad(): NightwatchBrowser |
||||||
|
renamePath(path: string, newFileName: string, renamedPath: string): NightwatchBrowser |
||||||
|
rightClickCustom(cssSelector: string): NightwatchBrowser |
||||||
|
scrollToLine(line: number): NightwatchBrowser |
||||||
|
waitForElementContainsText(id: string, value: string, timeout?: number): NightwatchBrowser |
||||||
|
getModalBody(callback: (value: string, cb: VoidFunction) => void): NightwatchBrowser |
||||||
|
modalFooterCancelClick(id?: string): NightwatchBrowser |
||||||
|
selectContract(contractName: string): NightwatchBrowser |
||||||
|
createContract(inputParams: string): NightwatchBrowser |
||||||
|
getAddressAtPosition(index: number, cb: (pos: string) => void): NightwatchBrowser |
||||||
|
testConstantFunction(address: string, fnFullName: string, expectedInput: NightwatchTestConstantFunctionExpectedInput | null, expectedOutput: string): NightwatchBrowser |
||||||
|
getEditorValue(callback: (content: string) => void): NightwatchBrowser |
||||||
|
getInstalledPlugins(cb: (plugins: string[]) => void): NightwatchBrowser |
||||||
|
verifyCallReturnValue(address: string, checks: string[] | callbackCheckVerifyCallReturnValue): NightwatchBrowser |
||||||
|
testEditorValue(testvalue: string): NightwatchBrowser |
||||||
|
removeFile(path: string, workspace: string): NightwatchBrowser |
||||||
|
switchBrowserWindow(url: string, windowName: string, cb: (browser: NightwatchBrowser, window?: NightwatchCallbackResult<Window>) => void): NightwatchBrowser |
||||||
|
setupMetamask(passphrase: string, password: string): NightwatchBrowser |
||||||
|
signMessage(msg: string, callback: (hash: {value: string}, signature: {value: string}) => void): NightwatchBrowser |
||||||
|
setSolidityCompilerVersion(version: string): NightwatchBrowser |
||||||
|
clickElementAtPosition(cssSelector: string, index: number, opt?: {forceSelectIfUnselected: boolean}): NightwatchBrowser |
||||||
|
notContainsText(cssSelector: string, text: string): NightwatchBrowser |
||||||
|
sendLowLevelTx(address: string, value: string, callData: string): NightwatchBrowser |
||||||
|
journalLastChild(val: string): NightwatchBrowser |
||||||
|
checkTerminalFilter(filter: string, test: string): NightwatchBrowser |
||||||
|
noWorkerErrorFor(version: string): NightwatchBrowser |
||||||
|
validateValueInput(selector: string, valueTosSet: string[], expectedValue: string): NightwatchBrowser |
||||||
|
checkAnnotations(type: string): NightwatchBrowser |
||||||
|
checkAnnotationsNotPresent(type: string): NightwatchBrowser |
||||||
|
getLastTransactionHash(callback: (hash: string) => void) |
||||||
|
currentWorkspaceIs(name: string): NightwatchBrowser |
||||||
|
addLocalPlugin(this: NightwatchBrowser, profile: Profile & LocationProfile & ExternalProfile): NightwatchBrowser |
||||||
|
acceptAndRemember(this: NightwatchBrowser, remember: boolean, accept: boolean): NightwatchBrowser |
||||||
|
clearConsole(this: NightwatchBrowser): NightwatchBrowser |
||||||
|
clearTransactions(this: NightwatchBrowser): NightwatchBrowser |
||||||
|
getBrowserLogs(this: NightwatchBrowser): NightwatchBrowser |
||||||
|
currentSelectedFileIs(name: string): NightwatchBrowser |
||||||
|
switchWorkspace: (workspaceName: string) => NightwatchBrowser |
||||||
|
switchEnvironment: (provider: string) => NightwatchBrowser |
||||||
|
connectToExternalHttpProvider: (url: string, identifier: string) => NightwatchBrowser |
||||||
|
waitForElementNotContainsText: (id: string, value: string, timeout: number = 10000) => NightwatchBrowser |
||||||
|
hideToolTips: (this: NightwatchBrowser) => NightwatchBrowser |
||||||
|
enableClipBoard: () => NightwatchBrowser |
||||||
|
} |
||||||
|
|
||||||
|
export interface NightwatchBrowser { |
||||||
|
api: this |
||||||
|
emit: (status: string) => void |
||||||
|
fullscreenWindow: (result?: any) => this |
||||||
|
keys(keysToSend: string, callback?: (this: NightwatchAPI, result: NightwatchCallbackResult<void>) => void): NightwatchBrowser |
||||||
|
sendKeys: (selector: string, inputValue: string | string[], callback?: (this: NightwatchAPI, result: NightwatchCallbackResult<void>) => void) => NightwatchBrowser |
||||||
|
} |
||||||
|
|
||||||
|
export interface NightwatchAPI { |
||||||
|
keys(keysToSend: string, callback?: (this: NightwatchAPI, result: NightwatchCallbackResult<void>) => void): NightwatchAPI |
||||||
|
} |
||||||
|
|
||||||
|
export interface NightwatchContractContent { |
||||||
|
content: string |
||||||
|
} |
||||||
|
|
||||||
|
export interface NightwatchClickFunctionExpectedInput { |
||||||
|
types: string |
||||||
|
values: string |
||||||
|
} |
||||||
|
|
||||||
|
export interface NightwatchTestFunctionExpectedInput { |
||||||
|
[key: string]: any |
||||||
|
} |
||||||
|
|
||||||
|
export interface NightwatchTestConstantFunctionExpectedInput { |
||||||
|
types: string |
||||||
|
values: string |
||||||
|
} |
||||||
|
|
||||||
|
export type NightwatchCheckVariableDebugValue = NightwatchTestFunctionExpectedInput |
||||||
|
} |
@ -0,0 +1,7 @@ |
|||||||
|
{ |
||||||
|
"extends": "./tsconfig.json", |
||||||
|
"compilerOptions": { |
||||||
|
"outDir": "build-e2e" |
||||||
|
}, |
||||||
|
"include": ["test/**/*.ts", "test/**/*.js", "../remix-ide-e2e/src/commands"] |
||||||
|
} |
@ -1,17 +1,21 @@ |
|||||||
{ |
{ |
||||||
"compilerOptions": { |
"compilerOptions": { |
||||||
"target": "es6", |
"jsx": "react-jsx", |
||||||
|
"target": "ES6", |
||||||
|
"allowJs": true, |
||||||
"module": "commonjs", |
"module": "commonjs", |
||||||
"skipLibCheck": true, |
"skipLibCheck": true, |
||||||
"esModuleInterop": true, |
"esModuleInterop": true, |
||||||
"noImplicitAny": true, |
"noImplicitAny": false, |
||||||
"allowSyntheticDefaultImports": true, |
|
||||||
"sourceMap": true, |
"sourceMap": true, |
||||||
"strictPropertyInitialization": false, |
"baseUrl": ".", |
||||||
"strict": true, |
|
||||||
"outDir": "build", |
"outDir": "build", |
||||||
"rootDir": "./src/", |
"moduleResolution": "node", |
||||||
"noEmitOnError": true, |
"resolveJsonModule": true, |
||||||
"typeRoots": ["node_modules/@types", "./types"] |
"paths": { |
||||||
} |
"*": ["node_modules/*"] |
||||||
|
}, |
||||||
|
"typeRoots": ["src/**/*.d.ts", "node_modules/@types", "test/**/*.d.ts", "../remix-ide-e2e/src/**/*.d.ts"] |
||||||
|
}, |
||||||
|
"include": ["src/**/*"] |
||||||
} |
} |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue