Fix share button in post menu

This commit is contained in:
Penar Musaraj
2019-02-20 16:27:59 -05:00
parent 353eeef72a
commit cc1f9e7be6
2 changed files with 40 additions and 0 deletions

View File

@ -22,6 +22,14 @@ acceptance("Topic", {
}
});
QUnit.test("Share Modal", async assert => {
await visit("/t/internationalization-localization/280");
await click(".topic-post:first-child button.share");
assert.ok(exists(".modal.share-and-invite"), "it shows the share and invite modal");
});
QUnit.test("Showing and hiding the edit controls", async assert => {
await visit("/t/internationalization-localization/280");