sync: update from private repo (ddadfd71)
CI / build-and-test (push) Waiting to run

This commit is contained in:
oss-sync
2026-07-08 23:35:00 +00:00
parent b1292e34b2
commit 77ee3bc426
187 changed files with 19918 additions and 10938 deletions
+6 -6
View File
@@ -353,19 +353,19 @@ test('invite picker lists same-org member, excludes the stranger', async ({ page
expect(fatalErrors, `fatal errors:\n${fatalErrors.join('\n')}`).toEqual([]);
});
// 4. NO visibility selector. The space chat shows the static visibility NOTE and
// never the removed selector control.
test('space chat shows the static visibility note, not a selector', async ({ page }) => {
// 4. NO visibility control at all. Space-chat visibility is a fixed member-only
// scope, so neither the old selector nor the static note chip should render —
// there is nothing for the user to read or choose.
test('space chat exposes neither a visibility selector nor a visibility note (fixed member-only scope)', async ({ page }) => {
const fatalErrors = trackFatalErrors(page);
await login(page, MANAGER.email, MANAGER.password);
await openSharedSpace(page);
await openSeededChat(page);
// The static note is present; the removed selector is absent.
await expect(page.getByTestId('space-chat-visibility-note')).toBeVisible({ timeout: 15_000 });
await expect(page.getByTestId('space-chat-visibility-note')).toContainText('メンバーに公開');
// Both the removed selector and the removed static-note chip are absent.
await expect(page.getByTestId('space-chat-visibility')).toHaveCount(0);
await expect(page.getByTestId('space-chat-visibility-note')).toHaveCount(0);
expect(fatalErrors, `fatal errors:\n${fatalErrors.join('\n')}`).toEqual([]);
});