@wordpress/e2e-test-utils-playwright
Version:
End-To-End (E2E) test utils for WordPress.
15 lines • 601 B
TypeScript
/**
* Delete all the widgets in the widgets screen.
*
* @this {import('./index').RequestUtils}
*/
export function deleteAllWidgets(this: import("./index").RequestUtils): Promise<void>;
/**
* Add a widget block to the widget area.
*
* @this {import('./index').RequestUtils}
* @param {string} serializedBlock The serialized content of the inserted block HTML.
* @param {string} widgetAreaId The ID of the widget area.
*/
export function addWidgetBlock(this: import("./index").RequestUtils, serializedBlock: string, widgetAreaId: string): Promise<void>;
//# sourceMappingURL=widgets.d.ts.map