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

Function submitForm

test/e2e/app-dir/actions/app-action.test.ts:662–668  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

660 })
661
662 async function submitForm() {
663 await browser.elementById('name').type('foo')
664 await browser.elementById('submit').click()
665 await retry(async () => {
666 expect(await browser.url()).toContain('/header')
667 })
668 }
669
670 await submitForm()
671

Callers 1

app-action.test.tsFile · 0.85

Calls 6

retryFunction · 0.90
elementByIdMethod · 0.80
clickMethod · 0.80
urlMethod · 0.65
expectFunction · 0.50
typeMethod · 0.45

Tested by

no test coverage detected