fix emoji tests (#7181)

This commit is contained in:
Joffrey JAFFEUX 2019-03-15 17:15:36 +01:00 committed by GitHub
parent b43f1687ee
commit e57138354d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ QUnit.test("emoji picker has a list of recently used emojis", async assert => {
await click("button.emoji.btn");
await click(
".emoji-picker .section[data-section='people'] button.emoji[title='grinning']"
".emoji-picker .section[data-section='smileys_&_emotion'] button.emoji[title='grinning']"
);
assert.equal(
find('.emoji-picker .section[data-section="recent"]').css("display"),

View File

@ -697,7 +697,7 @@ componentTest("emoji", {
await click("button.emoji");
await click(
'.emoji-picker .section[data-section="people"] button.emoji[title="grinning"]'
'.emoji-picker .section[data-section="smileys_&_emotion"] button.emoji[title="grinning"]'
);
assert.equal(this.get("value"), "hello world.:grinning:");
}