Skip to content

Commit

Permalink
fix(e2e): await new article content update
Browse files Browse the repository at this point in the history
  • Loading branch information
wlliaml committed Oct 16, 2023
1 parent 5c03a8a commit 5cf0d8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/mutateArticle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ test.describe('Mutate article', () => {
// Goto republished article page
await draftDetail.dialogViewRepublishedArticle.click()
await alicePage.waitForLoadState('networkidle')
await sleep(3 * 1000)
const articleContent = await aliceArticleDetail.content.innerText()
expect(stripSpaces(articleContent)).toBe(stripSpaces(newContent))
})
Expand Down

0 comments on commit 5cf0d8a

Please sign in to comment.