Skip to content

Commit

Permalink
test: add docker sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan_Chen committed Apr 29, 2024
1 parent 34d992d commit 4bea7b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/tests/src/utils/playwrightOperation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1476,13 +1476,13 @@ export async function validateBot(
}
} catch (error) {
console.log(error);
await page.screenshot({
path: getPlaywrightScreenshotPath("sending_message_after"),
fullPage: true,
});
// reopen skip login
await frame?.waitForSelector(`p:has-text("${options?.expected}")`);
console.log("reopen skip step");
console.log("verify bot successfully!!!");
await page.waitForTimeout(Timeout.shortTimeLoading);
return;
}

await frame?.waitForSelector(`p:has-text("${options?.expected}")`);
console.log("verify bot successfully!!!");
console.log(`${options?.expected}`);
Expand Down

0 comments on commit 4bea7b2

Please sign in to comment.