Switch apps e2e (#317)
This commit is contained in:
13
e2e-tests/switch_apps.spec.ts
Normal file
13
e2e-tests/switch_apps.spec.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { test } from "./helpers/test_helper";
|
||||
import { expect } from "@playwright/test";
|
||||
|
||||
test("switch apps", async ({ po }) => {
|
||||
await po.setUp();
|
||||
await po.sendPrompt("hi");
|
||||
const firstAppName = await po.getCurrentAppName();
|
||||
|
||||
await po.goToAppsTab();
|
||||
await po.sendPrompt("second-app");
|
||||
const secondAppName = await po.getCurrentAppName();
|
||||
expect(secondAppName).not.toBe(firstAppName);
|
||||
});
|
||||
Reference in New Issue
Block a user