Skip to content

Commit

Permalink
Isolate E2E test workers in user-specific folders
Browse files Browse the repository at this point in the history
  • Loading branch information
joonashak committed Dec 24, 2024
1 parent 4e19d54 commit 02da43c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions testing/e2e/fixtures/auth.fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ export const authFixture = test.extend<{}, { account: Account }>({
`http://localhost:4001/clone-bay-mocking/login?eveId=${eveId}`,
);

const folderName = `E2E Folder ${account.eveId}`;
await page.goto("/system/J100001");
await page.getByLabel("Open Settings Menu").click();
await page.getByRole("menuitem", { name: "Folder Options" }).click();
await page.getByRole("button", { name: "New Folder" }).click();
await page.getByLabel("Name").fill(folderName);
await page.getByRole("button", { name: "Create" }).click();
await page.getByLabel("Active Folder").click();
await page.getByRole("option", { name: folderName, exact: true }).click();

await use(page);
},
});
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const SettingsMenu = () => {

return (
<>
<IconButton onClick={handleClick}>
<IconButton onClick={handleClick} aria-label="Open Settings Menu">
<SettingsIcon sx={{ width: "auto", height: 70 }} />
</IconButton>
<Menu
Expand Down

0 comments on commit 02da43c

Please sign in to comment.