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
@@ -3,6 +3,7 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import { browser } from '@wdio/globals'
|
||||
import { executeAsync } from './execute.js'
|
||||
import type * as TauriApi from '@tauri-apps/api'
|
||||
import type * as Autostart from '@tauri-apps/plugin-autostart'
|
||||
import type * as BarcodeScanner from '@tauri-apps/plugin-barcode-scanner'
|
||||
@@ -173,7 +174,7 @@ export async function tauri<R, A extends unknown[]>(
|
||||
}
|
||||
});
|
||||
`
|
||||
const raw: unknown = await browser.executeAsync(script, ...args)
|
||||
const raw: unknown = await executeAsync(browser, script, ...args)
|
||||
const outcome = (
|
||||
typeof raw === 'string' ? JSON.parse(raw) : raw
|
||||
) as PageOutcome<Awaited<R>> | null
|
||||
|
||||
Reference in new issue
Block a user