MCPcopy
hub / github.com/vercel/next.js / runCommonTests

Function runCommonTests

test/integration/link-ref-pages/test/index.test.ts:57–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57function runCommonTests() {
58 // See https://github.com/vercel/next.js/issues/18437
59 it('should not have a race condition with a click handler', async () => {
60 const browser = await webdriver(appPort, '/click-away-race-condition')
61 await browser.elementByCss('#click-me').click()
62 await browser.waitForElementByCss('#the-menu')
63 })
64}
65
66describe('Invalid hrefs', () => {
67 ;(process.env.TURBOPACK_BUILD ? describe.skip : describe)(

Callers 1

index.test.tsFile · 0.70

Calls 5

webdriverFunction · 0.85
clickMethod · 0.80
elementByCssMethod · 0.80
waitForElementByCssMethod · 0.80
itFunction · 0.50

Tested by

no test coverage detected