Update slash clear test to expect formatted mode label
The composer refactor changed the agent-mode button's accessibility
label from the raw mode id ("load-test") to the formatted label
("Load test"). The user-facing change is intentional. Bring the test
in line with the new label.
This commit is contained in:
@@ -126,7 +126,7 @@ async function expectReplacementDraftMatchesPreviousSetup(page: Page): Promise<v
|
|||||||
await expect(
|
await expect(
|
||||||
page.getByRole("button", { name: "Select model (Ten second stream)" }),
|
page.getByRole("button", { name: "Select model (Ten second stream)" }),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
await expect(page.getByRole("button", { name: "Select agent mode (load-test)" })).toBeVisible();
|
await expect(page.getByRole("button", { name: "Select agent mode (Load test)" })).toBeVisible();
|
||||||
}
|
}
|
||||||
|
|
||||||
async function createAgentFromReplacementDraft(page: Page): Promise<void> {
|
async function createAgentFromReplacementDraft(page: Page): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user