Skip to content

Commit

Permalink
Merge branch 'main' into snyk-upgrade-0489f7b81b051b02b77037f28e2cb101
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardsph authored Jan 8, 2025
2 parents 1172d41 + 498dc34 commit 41db9ce
Show file tree
Hide file tree
Showing 7 changed files with 1,646 additions and 1,925 deletions.
6 changes: 4 additions & 2 deletions e2e/manage.playwright.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ test("resources page", async ({ page, auth, visible, setup, browserName }) => {
await page.getByTestId(`grant-actions-${fileName}`).click();
await expect(page.getByTestId(`grant-popover-${fileName}`)).toBeVisible();

// Test the popover closes on blur.
await page.getByTestId("agent-info-box").click();
await expect(page.getByTestId(`grant-popover-${fileName}`)).not.toBeVisible();

// Open the sidebar
await page
.getByTestId(
Expand All @@ -291,8 +295,6 @@ test("resources page", async ({ page, auth, visible, setup, browserName }) => {
)}]-resource[${sharedFileIri}]`
)
.click();
// The popover was purposefully not closed to check it closes on blur.
await expect(page.getByTestId(`grant-popover-${fileName}`)).not.toBeVisible();

// Access grant was read only - so that should be reflected in the information in the sidebar
await visible(page.getByTestId("sidebar-access-mode-read"));
Expand Down
Loading

0 comments on commit 41db9ce

Please sign in to comment.