-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
After updating to WDIO8 and wdio-wait-for 3.0.1 I started to get this "Condition is not a function" whenever I try to use "urlContains"
Simple code :
import { urlContains } from 'wdio-wait-for';
export async function crossSellHandler(option: string) {
await basePage.waitForPageStopLoadding()
return await browser.waitUntil(urlContains("/test/"), { timeout: 60000, timeoutMsg: "Test page is not displayed" });
Error :
Error: Condition is not a function
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async World.crossSellHandler (...\test.ts:17:12)
Any clues where to look? The same code was properly working before updating.
FYI : It works fine with version 2.2.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed