mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
REFACTOR: Replace some fa-*
uses with helpers
This commit is contained in:
@ -264,7 +264,7 @@ QUnit.test("Composer can toggle between reply and createTopic", assert => {
|
||||
|
||||
click('.topic-post:eq(0) button.reply');
|
||||
click('button.options');
|
||||
click('.popup-menu .fa-eye-slash');
|
||||
click('.popup-menu .d-icon-eye-slash');
|
||||
andThen(() => {
|
||||
assert.ok(
|
||||
find('.composer-fields .whisper').text().indexOf(I18n.t("composer.whisper")) > 0,
|
||||
@ -286,7 +286,7 @@ QUnit.test("Composer can toggle between reply and createTopic", assert => {
|
||||
});
|
||||
|
||||
click('button.options');
|
||||
click('.popup-menu .fa-eye-slash');
|
||||
click('.popup-menu .d-icon-eye-slash');
|
||||
andThen(() => {
|
||||
assert.ok(
|
||||
find('.composer-fields .whisper').text().indexOf(I18n.t("composer.unlist")) > 0,
|
||||
@ -334,4 +334,4 @@ QUnit.test("Composer draft with dirty reply can toggle to edit", assert => {
|
||||
andThen(() => {
|
||||
assert.equal(find('.d-editor-input').val().indexOf('This is the first post.'), 0, 'it populates the input with the post text');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user