mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
Replaces toolbar popup-menu with select-kit
This commit is contained in:
@ -16,7 +16,7 @@ test("regular user - sufficient trust level", (assert) => {
|
||||
displayPollBuilderButton();
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(exists("button[title='Build Poll']"), "it shows the builder button");
|
||||
assert.ok(exists(".select-kit-row[title='Build Poll']"), "it shows the builder button");
|
||||
});
|
||||
});
|
||||
|
||||
@ -26,7 +26,7 @@ test("regular user - insufficient trust level", (assert) => {
|
||||
displayPollBuilderButton();
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(!exists("button[title='Build Poll']"), "it hides the builder button");
|
||||
assert.ok(!exists(".select-kit-row[title='Build Poll']"), "it hides the builder button");
|
||||
});
|
||||
});
|
||||
|
||||
@ -36,6 +36,6 @@ test("staff - with insufficient trust level", (assert) => {
|
||||
displayPollBuilderButton();
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(exists("button[title='Build Poll']"), "it shows the builder button");
|
||||
assert.ok(exists(".select-kit-row[title='Build Poll']"), "it shows the builder button");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user