UNPKG

@wordpress/e2e-test-utils

Version:
11 lines 449 B
/** * Publishes the post without the pre-publish checks, * resolving once the request is complete (once a notice is displayed). * * @return {Promise} Promise resolving when publish is complete. */ export async function publishPostWithPrePublishChecksDisabled() { await page.click('.editor-post-publish-button'); return page.waitForSelector('.components-snackbar'); } //# sourceMappingURL=publish-post-with-pre-publish-checks-disabled.js.map