Unverified Commit 37d372bf authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update flakey app-action test (#78797)

parent 77b8f0e7
......@@ -1531,8 +1531,11 @@ describe('app-dir action handling', () => {
.elementByCss('#thankyounext')
.text()
// Should be the same number
expect(thankYouNext).toEqual(newThankYouNext)
// Should be the same number although in serverless
// it might be eventually consistent
if (!isNextDeploy) {
expect(thankYouNext).toEqual(newThankYouNext)
}
await browser.elementByCss('#back').click()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment