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:
renovate[bot]andLucas Nogueira authored and GitHub committed 2026-10-09 12:56:10 -03:00
1 parent 4f29d3a938
commit 974af951a5
6 files changed
+1562 -1952

No files matched your search

+4 -2
View File
@@ -18,6 +18,7 @@ import {
FIXTURE_SERVER_PORT,
type FixtureServer
} from './test/helpers/server.js'
import { executeAsync } from './test/helpers/execute.js'
export type MobilePlatform = 'android' | 'ios'
@@ -243,7 +244,7 @@ export function mobileConfig(platform: MobilePlatform): WebdriverIO.Config {
'no WEBVIEW context appeared — is the app a debug build (webview debugging enabled)?'
}
)
// The specs run the page through `executeAsync`, and the XCUITest driver
// The specs run the page through async scripts, and the XCUITest driver
// starts with a script timeout of 0 (every async script times out at
// once) rather than the 30s the other drivers default to.
await browser.setTimeout({ script: 30_000 })
@@ -251,7 +252,8 @@ export function mobileConfig(platform: MobilePlatform): 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