Files
discourse/plugins/poll/test/javascripts/helpers/display-poll-builder-button.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
332 B
JavaScript
Raw Normal View History

import { click, visit } from "@ember/test-helpers";
2023-10-10 19:38:59 +01:00
import selectKit from "discourse/tests/helpers/select-kit-helper";
2020-02-03 14:22:14 +01:00
export async function displayPollBuilderButton() {
await visit("/");
await click("#create-topic");
await click(".d-editor-button-bar .options");
await selectKit(".toolbar-popup-menu-options").expand();
}