Skip to content

Commit

Permalink
Skip webpack only test (#56929)
Browse files Browse the repository at this point in the history
One more small tests skipped that is webpack-only.
  • Loading branch information
timneutkens authored Nov 3, 2023
1 parent 348c550 commit 7cea497
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions test/integration/build-indicator/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,16 @@ describe('Build Activity Indicator', () => {
expect(html).toMatch(/__next-build-watcher/)
await browser.close()
})

it('Shows the build indicator when a page is built during navigation', async () => {
const browser = await webdriver(appPort, '/')
await installCheckVisible(browser)
await browser.elementByCss('#to-a').click()
await waitFor(500)
const wasVisible = await browser.eval('window.showedBuilder')
expect(wasVisible).toBe(true)
await browser.close()
;(process.env.TURBOPACK ? describe.skip : describe)('webpack only', () => {
it('Shows the build indicator when a page is built during navigation', async () => {
const browser = await webdriver(appPort, '/')
await installCheckVisible(browser)
await browser.elementByCss('#to-a').click()
await waitFor(500)
const wasVisible = await browser.eval('window.showedBuilder')
expect(wasVisible).toBe(true)
await browser.close()
})
})

it('Shows build indicator when page is built from modifying', async () => {
Expand Down

0 comments on commit 7cea497

Please sign in to comment.