mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-10 22:38:44 +02:00
chore(deps): update webdriverio monorepo to v10 (#3678)
* chore(deps): update webdriverio monorepo to v10 * fix e2e test --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
1 parent
4f29d3a938
commit
974af951a5
6 files changed
+1562
-1952
No files matched your search
@@ -11,6 +11,7 @@ import {
|
||||
startFixtureServer,
|
||||
type FixtureServer
|
||||
} from './test/helpers/server.js'
|
||||
import { executeAsync } from './test/helpers/execute.js'
|
||||
|
||||
const dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||
const repoRoot = path.resolve(dirname, '..', '..')
|
||||
@@ -190,7 +191,8 @@ export const config: WebdriverIO.Config = {
|
||||
await browser.waitUntil(
|
||||
async () => {
|
||||
try {
|
||||
const ready: unknown = await browser.executeAsync(
|
||||
const ready: unknown = await executeAsync(
|
||||
browser,
|
||||
'var done = arguments[arguments.length - 1]; done(typeof window.__TAURI__ !== "undefined");'
|
||||
)
|
||||
return ready === true
|
||||
|
||||
Reference in new issue
Block a user