Skip to content

Commit

Permalink
fix invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Oct 1, 2024
1 parent bd5657f commit 5f1b70f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/app-dir/revalidatetag-rsc/revalidatetag-rsc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ describe('revalidateTag-rsc', () => {
await browser.refresh()
const randomNumber2 = await browser.elementById('data').text()
expect(randomNumber).toEqual(randomNumber2)

await browser.elementByCss('#revalidate-via-page').click()
await browser.waitForElementByCss('#home')
// need to refresh to evict client router cache
await browser.refresh()
await browser.elementByCss('#home').click()
await browser.waitForElementByCss('#data')
const randomNumber3 = await browser.elementById('data').text()
Expand Down

0 comments on commit 5f1b70f

Please sign in to comment.