mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 10:36:32 +08:00
4ad77f3382
Still supported in plugins though.
10 lines
332 B
JavaScript
10 lines
332 B
JavaScript
import selectKit from "discourse/tests/helpers/select-kit-helper";
|
|
import { click, visit } from "@ember/test-helpers";
|
|
|
|
export async function displayPollBuilderButton() {
|
|
await visit("/");
|
|
await click("#create-topic");
|
|
await click(".d-editor-button-bar .options");
|
|
await selectKit(".toolbar-popup-menu-options").expand();
|
|
}
|