(page, initial)
| 849 | ] |
| 850 | |
| 851 | async function open(page, initial) { |
| 852 | const q = initial != null ? `?initial=${encodeURIComponent(initial)}` : '' |
| 853 | await I.amOnPage(`/form/richtext/${page}${q}`) |
| 854 | await I.waitForFunction(() => window.__editorReady === true, [], 30) |
| 855 | } |
| 856 | |
| 857 | async function submitAndGrab() { |
| 858 | await I.click('#submit') |
no test coverage detected