comparison hg-web/e2e/BUILD @ 223:0e7b9464248d hg-web

[hg-web] Add browser route regression coverage
author MrJuneJune <me@mrjunejune.com>
date Sun, 02 Aug 2026 10:07:40 -0700
parents
children
comparison
equal deleted inserted replaced
222:a8d6435dc021 223:0e7b9464248d
1 load("@aspect_rules_js//js:defs.bzl", "js_test")
2 load("@hg_web_npm//:defs.bzl", "npm_link_all_packages")
3
4 exports_files([
5 "package-lock.json",
6 "package.json",
7 "pnpm-lock.yaml",
8 ])
9
10 npm_link_all_packages(name = "node_modules")
11
12 js_test(
13 name = "app_e2e_test",
14 entry_point = "app_e2e_test.js",
15 data = [
16 ":node_modules/playwright-core",
17 "//hg-web:hg_web_server",
18 "@playwright_chromium_linux//:chromium",
19 "@playwright_chromium_linux//:chrome",
20 ],
21 env = {
22 "CHROMIUM_PATH": "$(rootpath @playwright_chromium_linux//:chrome)",
23 },
24 no_copy_to_bin = ["@playwright_chromium_linux//:chromium"],
25 size = "large",
26 target_compatible_with = [
27 "@platforms//cpu:x86_64",
28 "@platforms//os:linux",
29 ],
30 timeout = "long",
31 )