oficina / meet Public

Follow the guest page's sign-in link into the shared chrome's bar

Since f86d4da the guest page's 'sign in' is the bar's 'Sign in', and
TestNativeBrowserAuthentication/guest timed out looking for the old one
(on main as well).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev ef933d187eb02c1ff71ea304cfa967031cea7be4 parent c96ca2c
1 file changed, +3 −2
  • test/browser/native-auth.mjs +3 −2

CI passed — run details

CI log
=== vet ===
go vet ./...
=== fmt ===
=== test ===
go test ./...
ok  	amadan.net/oficina/calls/callscore	7.298s
?   	amadan.net/oficina/calls/cmd/calls	[no test files]
ok  	amadan.net/oficina/calls/internal/calls	1.701s
ok  	amadan.net/oficina/calls/internal/calls/apns	0.007s
ok  	amadan.net/oficina/calls/internal/calls/hub	0.318s
?   	amadan.net/oficina/calls/internal/calls/icons	[no test files]
ok  	amadan.net/oficina/calls/internal/calls/relay	0.004s
ok  	amadan.net/oficina/calls/internal/calls/seal	0.002s
ok  	amadan.net/oficina/calls/internal/callstest	9.149s
?   	amadan.net/oficina/calls/protocol	[no test files]
?   	amadan.net/oficina/calls/scripts/writeestilo	[no test files]
=== migration-check ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo migration check
rastrillo migration check: models and migrations agree
=== race ===
CGO_ENABLED=1 go test -race ./internal/...
ok  	amadan.net/oficina/calls/internal/calls	10.613s
ok  	amadan.net/oficina/calls/internal/calls/apns	1.021s
ok  	amadan.net/oficina/calls/internal/calls/hub	3.027s
?   	amadan.net/oficina/calls/internal/calls/icons	[no test files]
ok  	amadan.net/oficina/calls/internal/calls/relay	1.016s
ok  	amadan.net/oficina/calls/internal/calls/seal	1.012s
ok  	amadan.net/oficina/calls/internal/callstest	26.127s
diff --git a/test/browser/native-auth.mjs b/test/browser/native-auth.mjs
index 25d2624..75bb927 100644
--- a/test/browser/native-auth.mjs
+++ b/test/browser/native-auth.mjs
@@ -13,14 +13,15 @@ try {
process.stdout.write("stage:signin\n");
// A member's target lands on the sign-in page. An invitation now lands on
// the guest screen instead (guest.html, added with guest joining): join in
- // the app, a name form to continue in the browser, and a link to sign in.
+ // the app, a name form to continue in the browser, and the bar's Sign in.
// Only the sign-in page carries the address field, so follow the link when
// that is what this target produced.
const address = page.locator('input[name="address"]');
if ((await address.count()) === 0) {
await Promise.all([
page.waitForURL('**/signin*'),
- page.getByRole('link', { name: 'sign in', exact: true }).click(),
+ // Since the shared chrome (f86d4da) the link is the bar's "Sign in".
+ page.getByRole('link', { name: 'Sign in', exact: true }).first().click(),
]);
}
await address.fill(config.address);