From 7cea497626ac2fe5e130807917faf9e0e6cd9f2e Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Fri, 3 Nov 2023 02:37:21 +0100 Subject: [PATCH] Skip webpack only test (#56929) One more small tests skipped that is webpack-only. --- .../build-indicator/test/index.test.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/test/integration/build-indicator/test/index.test.js b/test/integration/build-indicator/test/index.test.js index 886d34beb1478..30a6ac8624d5d 100644 --- a/test/integration/build-indicator/test/index.test.js +++ b/test/integration/build-indicator/test/index.test.js @@ -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 () => {