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

Method seeInPopup

lib/helper/Puppeteer.js:544–548  ·  view source on GitHub ↗

* {{> seeInPopup }}

(text)

Source from the content-addressed store, hash-verified

542 * {{> seeInPopup }}
543 */
544 async seeInPopup(text) {
545 popupStore.assertPopupVisible()
546 const popupText = await popupStore.popup.message()
547 stringIncludes('text in popup').assert(text, popupText)
548 }
549
550 /**
551 * Set current page

Calls 2

assertPopupVisibleMethod · 0.80
assertMethod · 0.80

Tested by

no test coverage detected