|
|
|
@ -23,6 +23,7 @@ const getBrowserLogs = async function (browser: NightwatchBrowser) { |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const debugValues = async function (browser: NightwatchBrowser, field: string, expected: any) { |
|
|
|
|
return new Promise((resolve) => { |
|
|
|
|
if (!expected) { |
|
|
|
@ -96,8 +97,8 @@ const checkForAcceptAndRemember = async function (browser: NightwatchBrowser) { |
|
|
|
|
* |
|
|
|
|
* @param {NightwatchBrowser} browser |
|
|
|
|
* @param {string} buttonText the button which needs to be clicked formatted as pluginname:methodname, ie 'fileManager:writeFile' |
|
|
|
|
* @param {any} methodResult can be a string expected or an object. it is the result of the method called. strings are evaluated as part of the result, an object should be exactly the result |
|
|
|
|
* @param {any} eventResult can be a string expected or an object. it is the event generated by the method called. strings are evaluated as part of the result, an object should be exactly the result |
|
|
|
|
* @param {any} methodResult can be a string expected or an object. it is the result of the method called. |
|
|
|
|
* @param {any} eventResult can be a string expected or an object. it is the event generated by the method called. |
|
|
|
|
* @param {any} payload can be a string expected or an object. it is the payload passed to the call |
|
|
|
|
* @return {Promise} |
|
|
|
|
*/ |
|
|
|
|