Skip to content

Commit

Permalink
changes after review - part II
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo committed Apr 2, 2024
1 parent ce6eb95 commit 0a43383
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions e2e/client/playwright/article-versions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ test.describe('article versions', async () => {
await page.goto('/#/workspace/monitoring');
await monitoring.selectDeskOrWorkspace('Sports');

await page.locator(s('article-item=story 2')).hover();
await page.locator(s('article-item=story 2')).locator(s('context-menu-button')).click();
await page.locator(s('context-menu'))
.getByRole('button', {name: 'Edit', exact: true})
.click();
await monitoring.executeActionOnMonitoringItem(
page.locator(s('article-item=story 2')),
'Edit',
);
await page.locator(s('authoring', 'field-slugline')).fill('story 2.1');
await page.locator(s('authoring-topbar', 'save')).click();
await expect(page.locator(s('authoring', 'field-slugline'))).toHaveValue('story 2.1');
Expand Down

0 comments on commit 0a43383

Please sign in to comment.