Revert font awesome 5 changes

We are still pushing ahead on this 100% just need a bit longer to prepare
all plugins
This commit is contained in:
Sam
2018-11-08 16:12:18 +11:00
parent 0232a3b5e5
commit 42572ff138
131 changed files with 2251 additions and 6736 deletions
@@ -88,7 +88,11 @@ QUnit.test("replying to post - toggle_whisper", async assert => {
await composerActions.expand();
await composerActions.selectRowByValue("toggle_whisper");
assert.ok(find(".composer-fields .whisper .d-icon-eye-slash").length === 1);
assert.ok(
find(".composer-fields .whisper")
.text()
.indexOf(I18n.t("composer.whisper")) > 0
);
});
QUnit.test("replying to post - reply_as_new_topic", async assert => {
@@ -375,7 +375,9 @@ QUnit.test("Composer can toggle whispers", async assert => {
);
assert.ok(
find(".composer-fields .whisper .d-icon-eye-slash").length === 1,
find(".composer-fields .whisper")
.text()
.indexOf(I18n.t("composer.whisper")) > 0,
"it sets the post type to whisper"
);
@@ -385,7 +387,9 @@ QUnit.test("Composer can toggle whispers", async assert => {
);
assert.ok(
find(".composer-fields .whisper .d-icon-eye-slash").length === 0,
find(".composer-fields .whisper")
.text()
.indexOf(I18n.t("composer.whisper")) <= 0,
"it removes the whisper mode"
);
});
@@ -402,7 +406,9 @@ QUnit.test(
);
assert.ok(
find(".composer-fields .whisper .d-icon-eye-slash").length === 1,
find(".composer-fields .whisper")
.text()
.indexOf(I18n.t("composer.whisper")) > 0,
"it sets the post type to whisper"
);
@@ -411,7 +417,9 @@ QUnit.test(
await click("#create-topic");
assert.ok(
find(".composer-fields .whisper .d-icon-eye-slash").length === 0,
find(".composer-fields .whisper")
.text()
.indexOf(I18n.t("composer.whisper")) === -1,
"it should reset the state of the composer's model"
);
@@ -6,7 +6,7 @@ QUnit.test("Viewing Members as anon user", async assert => {
await visit("/groups/discourse");
assert.ok(
count(".avatar-flair .d-icon-adjust") === 1,
count(".avatar-flair .fa-adjust") === 1,
"it displays the group's avatar flair"
);
assert.ok(count(".group-members tr") > 0, "it lists group members");