Add project files
This commit is contained in:
15
e2e-tests/smart_context_options.spec.ts
Normal file
15
e2e-tests/smart_context_options.spec.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { test } from "./helpers/test_helper";
|
||||
|
||||
test("switching smart context mode saves the right setting", async ({ po }) => {
|
||||
await po.setUpDyadPro();
|
||||
const proModesDialog = await po.openProModesDialog({
|
||||
location: "home-chat-input-container",
|
||||
});
|
||||
await po.snapshotSettings();
|
||||
await proModesDialog.setSmartContextMode("balanced");
|
||||
await po.snapshotSettings();
|
||||
await proModesDialog.setSmartContextMode("off");
|
||||
await po.snapshotSettings();
|
||||
await proModesDialog.setSmartContextMode("conservative");
|
||||
await po.snapshotSettings();
|
||||
});
|
||||
Reference in New Issue
Block a user