Skip to content

Commit 14c8a35

Browse files
committed
test: fixed renders fallback page via ODB on a non-prerendered dynamic route with fallback: true
1 parent 478062b commit 14c8a35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cypress/e2e/default/dynamic-routes.cy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ describe('Dynamic Routing', () => {
6666
expect(res.status).to.eq(200)
6767
// expect 'odb' until https://github.com/netlify/pillar-runtime/issues/438 is fixed
6868
expect(res.headers).to.have.property('x-nf-render-mode', 'odb')
69-
// expect 'Bitten' until the above is fixed and we can test for fallback 'Loading...' message
70-
expect(res.body).to.contain('Bitten')
69+
expect(res.body).to.contain('Loading...')
7170
})
7271
})
7372
it('serves correct static file on a prerendered dynamic route with fallback: blocking', () => {

0 commit comments

Comments
 (0)