Replaces toolbar popup-menu with select-kit

This commit is contained in:
Joffrey JAFFEUX
2017-12-13 10:49:32 +01:00
committed by GitHub
parent d5293aeae2
commit c1c31b99ce
21 changed files with 250 additions and 172 deletions

View File

@ -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");
});
});