Skip to content

Commit 0f7fd9c

Browse files
Merge pull request #30 from qavajs/rename-wait-for-window-error
renamed wait for tab message
2 parents 4fa9601 + d417fef commit 0f7fd9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ When('I switch to {value} window', async function (matcher: MemoryValue) {
109109
await this.expect.poll(
110110
poll,
111111
{
112-
message: `Page matching '${urlOrTitle}' was not found`
112+
message: `expect '${urlOrTitle}' window to be present`
113113
}
114114
).toBeDefined();
115115
const targetPage = await poll() as Page;

0 commit comments

Comments
 (0)