Skip to content

A platform for community discussion. Free, open, simple.

Fix desktop test too

Penar Musarajbbd00a34882f
diff --git a/test/javascripts/acceptance/share-and-invite-desktop-test.js.es6 b/test/javascripts/acceptance/share-and-invite-desktop-test.js.es6
index 137a8279a45..d7491f6147c 100644
--- a/test/javascripts/acceptance/share-and-invite-desktop-test.js.es6
+++ b/test/javascripts/acceptance/share-and-invite-desktop-test.js.es6
@@ -44,9 +44,8 @@ QUnit.test("Topic footer button", async assert => {
"it shows the topic sharing url"
);
- assert.equal(
- find(".share-and-invite.modal .social-link").length,
- 3,
+ assert.ok(
+ find(".share-and-invite.modal .social-link").length > 1,
"it shows social sources"
);