Repository navigation
docs(examples): list a local Moli sign-in example - #1944
Conversation
Register the community sign-in example at its pinned source commit and reuse the existing Moli integration logo with source attribution. Verified locally: - pnpm check:examples - NODE_USE_ENV_PROXY=1 pnpm check:examples --online (70 examples OK) - Fresh copy matching the pinned example: 2 tests passed on Moli 1.1.25
There was a problem hiding this comment.
No issues found across 3 files
Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.
View guided diff | Re-trigger cubic
okwasniewski
left a comment
There was a problem hiding this comment.
[claude-opus-5-5] automated review on behalf of @okwasniewski
Checked at 27becc6 (main 9d240ac): the entry, the icon, and the linked example at lexmount/moli@c99f3fd.
The example works as described. npm ci && npm test with Moli 1.1.25 (macOS arm64, Node 24.19): 2 passed. Mutation: with /logout no longer revoking the session, the second test fails on toHaveURL('/login'), so it really checks sign-out. node scripts/check-examples.ts and --online: 70 examples OK. moli.png is byte-identical to docs/images/integrations/moli.png. CI green.
Must fix
- none
Should fix
- The example vendors
packages/moli/srcfrom 29a0261 intovendor/moli/(identical to that commit) because@e2e-dev/moliis not on npm yet. That's fine for now, but once the package publishes, please switch the example to@e2e-dev/moliin a follow-up and bump the pinned SHA here. Otherwise the listed example teaches copying the provider instead of installing it, and it drifts from the integration docs (docs/integrations/moli.mdxsaysnpm install @e2e-dev/moli).
Nits
examples/examples.json: the other browser-vendor entries (Lightpanda, KERNEL, Notte) use titles like "Testing in X with e2e". Consider "Testing sign-in in a local Moli browser with e2e" or similar.- "No API keys required." holds for every locator-only example. Dropping it keeps the description to what's specific here.
Heads up, not blocking: the example pins e2e 0.23.1 / @e2e-dev/web 0.16.0, so the pinned commit keeps working. Bumping it past the WebDriver BiDi web driver (#1503) will break it with today's Moli builds: located-node actions (fill, tap) and app.screenshot fail on Moli over the BiDi mapper. The fix belongs on the e2e side (drive Moli's native BiDi endpoint), not in this example.
|
Thanks for this! Moli is a partner, so this entry should be
Here's the entry to use. Move it to sit after the {
"slug": "moli",
"title": "Testing sign-in with e2e in a local Moli browser",
"shortTitle": "Moli",
"description": "Test a sign-in form locally with Moli. Capture the signed-in dashboard and verify that signing out blocks access. No API keys required.",
"icon": "moli.png",
"source": "partner",
"repository": "https://github.com/lexmount/moli/tree/main/examples/e2e-sign-in",
"author": {
"name": "Lexmount",
"github": "lexmount",
"website": "https://browser.lexmount.com"
},
"license": "Apache-2.0",
"licenseUrl": "https://github.com/lexmount/moli/blob/main/examples/e2e-sign-in/LICENSE",
"tags": {
"framework": [
"nodejs"
],
"useCase": [
"authentication"
],
"platform": [
"web"
]
}
},If |
|
@kacperkapusciak Thanks! Working on it. |
Place Moli after Lightpanda in the partner group, link Lexmount's landing page and the example LICENSE, and follow the example on main. Verified locally: - pnpm check:examples (70 examples OK) - NODE_USE_ENV_PROXY=1 node scripts/check-examples.ts --online (70 examples OK) - Landing page, LICENSE, and dashboard screenshot return HTTP 200
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.
View guided diff | Re-trigger cubic
What and why
examples/icons/and record its source.Verified
Ran it locally: yes
From a fresh copy matching the pinned commit, on macOS arm64 with Node 26.7.0 and Moli 1.1.25:
npm ci, thenPORT=14271 MOLI_PATH="$HOME/.local/bin/moli" E2E_TELEMETRY_DISABLED=1 npm test:pnpm check:examplesandNODE_USE_ENV_PROXY=1 pnpm check:examples --online:examples/examples.json: 70 examples OK.The pinned README and its dashboard screenshot are publicly accessible.