Skip to content

Commit b366f89

Browse files
committed
fix(test): update unpublish test
1 parent 832f074 commit b366f89

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

e2e/tests/document-actions/unpublish.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ test(`should be able to unpublish a published document`, async ({page, createDra
1313

1414
const documentStatus = page.getByTestId('pane-footer-document-status')
1515
const publishButton = page.getByTestId('action-publish')
16-
const contextFooterMenu = page.getByTestId('action-menu-button')
17-
const unpublishButton = page.getByTestId('action-Unpublish')
16+
const unpublishButton = page.getByTestId('action-unpublish')
1817
const titleInput = page.getByTestId('field-title').getByTestId('string-input')
1918

2019
const unpublishModal = page
@@ -40,7 +39,6 @@ test(`should be able to unpublish a published document`, async ({page, createDra
4039

4140
await expect(publishedButton).toBeEnabled()
4241
await publishedButton.click()
43-
await contextFooterMenu.click()
4442
await expect(unpublishButton).toBeVisible()
4543
await unpublishButton.click()
4644

0 commit comments

Comments
 (0)