Switch apps e2e (#317)

This commit is contained in:
Will Chen
2025-06-02 22:49:02 -07:00
committed by GitHub
parent 81345153fc
commit 83eb721323

View 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);
});