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', () => { ...@@ -1531,8 +1531,11 @@ describe('app-dir action handling', () => {
.elementByCss('#thankyounext') .elementByCss('#thankyounext')
.text() .text()
// Should be the same number // Should be the same number although in serverless
expect(thankYouNext).toEqual(newThankYouNext) // it might be eventually consistent
if (!isNextDeploy) {
expect(thankYouNext).toEqual(newThankYouNext)
}
await browser.elementByCss('#back').click() 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