Skip to content

Commit 6600d2f

Browse files
committed
chore: cleanup
1 parent 4aff703 commit 6600d2f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ To install and set up the project, follow these steps:
1313
1. Ensure you have Node.js v20 installed. You can download it from the [official Node.js website](https://nodejs.org/).
1414
2. Clone the repository to your local machine.
1515
3. Install the project dependencies using npm - `npm install`.
16+
4. Setup Docker to run E2E tests via Playwright ([Docker Desktop](https://www.docker.com/products/docker-desktop/) or [Docker Engine](https://docs.docker.com/engine/install/)).
1617

1718
This will install all the necessary packages and dependencies required to run the project.
1819

e2e-tests/code-editing-and-ast-interaction.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test(`should change code, then highlight code and AST nodes matching ESQuery sel
77

88
// focus code editor textbox
99
await page
10-
.getByRole("region", { name: "Code Editor" })
10+
.getByRole("region", { name: "Code Editor Panel" })
1111
.getByRole("textbox")
1212
.nth(1)
1313
.click();

e2e-tests/tools.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test("should switch to each tool and show it", async ({ page }) => {
44
await page.goto("/");
55

66
await expect(
7-
page.getByRole("region", { name: "Code Analysis Tools" }),
7+
page.getByRole("region", { name: "Code Analysis Tools Panel" }),
88
).toHaveScreenshot("tools-ast.png");
99

1010
await page.getByRole("button", { name: "Scope" }).click();
@@ -13,12 +13,12 @@ test("should switch to each tool and show it", async ({ page }) => {
1313
await page.mouse.move(0, 0);
1414

1515
await expect(
16-
page.getByRole("region", { name: "Code Analysis Tools" }),
16+
page.getByRole("region", { name: "Code Analysis Tools Panel" }),
1717
).toHaveScreenshot("tools-scope.png");
1818

1919
await page.getByRole("button", { name: "Code Path" }).click();
2020

2121
await expect(
22-
page.getByRole("region", { name: "Code Analysis Tools" }),
22+
page.getByRole("region", { name: "Code Analysis Tools Panel" }),
2323
).toHaveScreenshot("tools-code-path.png");
2424
});

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function App() {
3131
defaultSize={50}
3232
minSize={25}
3333
role="region"
34-
aria-label="Code Editor"
34+
aria-label="Code Editor Panel"
3535
>
3636
<EsquerySelectorInput />
3737
<Editor
@@ -56,7 +56,7 @@ function App() {
5656
defaultSize={50}
5757
minSize={25}
5858
role="region"
59-
aria-label="Code Analysis Tools"
59+
aria-label="Code Analysis Tools Panel"
6060
>
6161
<div className="bg-muted overflow-auto h-[70dvh] sm:h-full relative flex flex-col">
6262
<div className="flex sm:items-center flex-col sm:flex-row justify-between p-4 gap-2 z-10">

0 commit comments

Comments
 (0)