eslint
This commit is contained in:
parent
3815216206
commit
829f809dc8
@ -6,8 +6,6 @@
|
|||||||
* @license Apache-2.0
|
* @license Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const utils = require("./browserUtils.js");
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// desktop UI
|
// desktop UI
|
||||||
before: browser => {
|
before: browser => {
|
||||||
@ -154,16 +152,3 @@ module.exports = {
|
|||||||
browser.end();
|
browser.end();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* Clears the current recipe and loads a new operation.
|
|
||||||
*
|
|
||||||
* @param {string} opName
|
|
||||||
* @param {Browser} browser
|
|
||||||
*/
|
|
||||||
function loadOp(opName, browser) {
|
|
||||||
return browser
|
|
||||||
.useCss()
|
|
||||||
.click("#clr-recipe")
|
|
||||||
.urlHash("op=" + opName);
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user