Skip to content

Commit

Permalink
[Emoji picker tests TS migration 12/N] Migrate some more gif tests
Browse files Browse the repository at this point in the history
Bug: b:270220102
Change-Id: Ide296000afc313b34b95f77cdc7d699f1c9e3299
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4291778
Commit-Queue: John Palmer <jopalmer@chromium.org>
Reviewed-by: Zac Partridge <zacpartridge@google.com>
Cr-Commit-Position: refs/heads/main@{#1115548}
  • Loading branch information
John Palmer authored and Chromium LUCI CQ committed Mar 10, 2023
1 parent 2f30316 commit e211e48
Show file tree
Hide file tree
Showing 5 changed files with 575 additions and 585 deletions.
5 changes: 3 additions & 2 deletions chrome/test/data/webui/chromeos/emoji_picker/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ build_webui_tests("build") {
target_gen_dir) ]
ts_deps = [
"//chrome/browser/resources/chromeos/emoji_picker:build_ts",
"//ui/webui/resources/cr_elements:build_ts",
"//ui/webui/resources/js:build_ts",
]
files = [
"emoji_picker_browsertest.js",
"emoji_picker_extension_categories.js",
"emoji_picker_extension_emoji_test.js",
"emoji_picker_extension_emoticon_test.js",
"emoji_picker_extension_gif.js",
"emoji_picker_extension_gif.ts",
"emoji_picker_extension_symbol_test.js",
"emoji_picker_extension_test.js",
"emoji_picker_gif_test.js",
"emoji_picker_gif_test.ts",
"emoji_picker_http_error_gif_test.ts",
"emoji_picker_offline_gif_test.ts",
"emoji_picker_prefix_search_test.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export function categoryTestSuite(category) {
return null;
};


categoryIndex = categoryList.indexOf(category);

// Wait until emoji data is loaded before executing tests.
Expand Down

0 comments on commit e211e48

Please sign in to comment.