|
|
|
@ -1,3 +1,4 @@ |
|
|
|
|
/* eslint-disable prefer-rest-params */ |
|
|
|
|
import { NightwatchBrowser } from 'nightwatch' |
|
|
|
|
|
|
|
|
|
require('dotenv').config() |
|
|
|
@ -7,6 +8,7 @@ type LoadPlugin = { |
|
|
|
|
url: string |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
|
export default function (browser: NightwatchBrowser, callback: VoidFunction, url?: string, preloadPlugins = true, loadPlugin?: LoadPlugin, hideToolTips: boolean = true): void { |
|
|
|
|
browser |
|
|
|
|
.url(url || 'http://127.0.0.1:8080') |
|
|
|
|