Skip to content

Commit

Permalink
Updated publish button locator.
Browse files Browse the repository at this point in the history
  • Loading branch information
MillenniumFalconMechanic committed Jan 19, 2024
1 parent dc4d491 commit d935258
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/tests/features/collection/revision.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ describe("Collection Revision @loggedIn", () => {
await page.reload();

// We have faked changes in datasets; publish button should be enabled.
const publishButton = await page.$(getTestID("publish-collection-button"));
await tryUntil(
async () => {
const publishButton = await page.$(
getTestID("publish-collection-button")
);
await expect(publishButton).toBeEnabled();
},
{ page }
Expand Down

0 comments on commit d935258

Please sign in to comment.