Skip to content

Commit 9574396

Browse files
committed
fix: update OpenInPicker aria-label in browser tests
Upstream's new ChatView.browser.tsx tests for Kiro and VSCodium look for a button with aria-label="Copy options" (upstream's label) but the fork uses the more semantic "Select editor". Update both test lookups to the fork's label.
1 parent 19eae71 commit 9574396

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/src/components/ChatView.browser.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
19031903
try {
19041904
await waitForServerConfigToApply();
19051905
const menuButton = await waitForElement(
1906-
() => document.querySelector('button[aria-label="Copy options"]'),
1906+
() => document.querySelector('button[aria-label="Select editor"]'),
19071907
"Unable to find Open picker button.",
19081908
);
19091909
(menuButton as HTMLButtonElement).click();
@@ -1952,7 +1952,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
19521952
try {
19531953
await waitForServerConfigToApply();
19541954
const menuButton = await waitForElement(
1955-
() => document.querySelector('button[aria-label="Copy options"]'),
1955+
() => document.querySelector('button[aria-label="Select editor"]'),
19561956
"Unable to find Open picker button.",
19571957
);
19581958
(menuButton as HTMLButtonElement).click();

0 commit comments

Comments
 (0)