UX: puts back share-panel as floating pane on post actions (#7066)

This commit is contained in:
Joffrey JAFFEUX
2019-02-26 14:15:25 +01:00
committed by GitHub
parent 6ea9f5c9c5
commit d04c4bf8e7
14 changed files with 367 additions and 186 deletions

View File

@ -24,12 +24,9 @@ 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"
);
assert.ok(exists("#share-link"), "it shows the share modal");
});
QUnit.test("Showing and hiding the edit controls", async assert => {