pi-ext
bugabingas pi extensions
owned by admin
test(the-system): disable browser opening in e2e
286cb56177da087b6493fcfcaa260335220e9d6f
Oliver Jan Krylow <oliver@bugabinga.net> ·
SSH signature · not checked
Browse filesCompare with HEAD
Changed files (2)
extensions/the-system/__e2e__/renderer.spec.ts
Modified205 205 runtime.
endProposal();
206 206 const notice
= await runtime.
open(
root);
207 + expect(notice).
toContain(
"Browser: Browser opener disabled");
207 208 const url
= notice.
match(
/http:\/\/127\.0\.0\.1:\d+\/\?k=[^\s]+/)?.[
0];
208 209 expect(url).
toBeTruthy();
209 210 await page.
goto(url
?? "");
extensions/the-system/mise.toml
Modified12 12 description =
"Run mockup browser E2E tests" 13 13 depends = [
"//:install"]
14 +env = {
NODE_ENV =
"test" }
14 15 run =
"npm exec -- playwright test --config playwright.config.ts"