FIX: show error message if the topic deletion fails (#8723)

This commit is contained in:
Arpit Jalan
2020-01-16 00:58:03 +05:30
committed by GitHub
parent 2db7b3d9c7
commit 0bc65fa60e
3 changed files with 18 additions and 16 deletions
@@ -207,6 +207,14 @@ QUnit.test(
}
);
QUnit.skip("Deleting a topic", async assert => {
await visit("/t/internationalization-localization/280");
await click(".topic-post:eq(0) button.show-more-actions");
await click(".widget-button.delete");
assert.ok(exists(".widget-button.recover"), "it shows the recover button");
});
acceptance("Topic featured links", {
loggedIn: true,
settings: {