Hold down the place the picture is looked for

The suite proved a picture was drawn somewhere on the page. Where it belongs
is the account button at the top of the sidebar — the person icon's place —
so that is what the check now names.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
marcandClaude Opus 5 committed 2026-08-21 19:24:45 +02:00
1 parent 5163f87356
commit ead51b9fa0
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -101,6 +101,13 @@ try {
check(created?.signsInWithProvider === true, "and has no password of its own");
check(created?.linkedToProvider === true, "and is marked as belonging to the provider");
/* The picture belongs where the person icon was: in the account button at the
top of the sidebar. That is the place it is looked for. */
check(
(await page.locator('[title="Account"] [data-avatar]').count()) === 1,
"the account button in the sidebar wears the picture instead of the person icon"
);
/* ── what the two people involved see ──
* The one signing in: no password tab, because there is no password behind
* it. The administrator: which accounts these are, without asking anybody. */