MCPcopy
hub / github.com/codeceptjs/CodeceptJS / submitAndGrab

Function submitAndGrab

test/helper/webapi.js:857–861  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

855 }
856
857 async function submitAndGrab() {
858 await I.click('#submit')
859 await I.waitForElement('#result', 15)
860 return I.grabTextFrom('#result')
861 }
862
863 for (const ed of editors) {
864 describe(ed.name, () => {

Callers 1

testsFunction · 0.85

Calls 3

clickMethod · 0.45
waitForElementMethod · 0.45
grabTextFromMethod · 0.45

Tested by

no test coverage detected