fix: show teacher introductions as standalone clickable bubbles

This commit is contained in:
鲨鱼辣椒 committed 2026-09-29 17:16:37 +08:00
1 parent 2922f35e4b
commit 3a175101c9
11 files changed
+43 -26

No files matched your search

+3
View File
@@ -2221,6 +2221,9 @@ test('teacher introductions collapse after three operation replies and remain av
await page.evaluate(() => { window.location.hash = '/chat'; });
const introductions = page.getByTestId('teacher-welcomes');
await expect(introductions.locator('.teacher-welcome-card')).toHaveCount(2);
await expect(introductions).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)');
await expect(introductions.getByText('来认识一下')).toHaveCount(0);
await expect(introductions.getByRole('button', { name: '先自己试试' })).toHaveCount(0);
const startedAt = await page.evaluate(() => Date.now());
for (let round = 1; round <= 3; round++) {
for (const status of ['running', 'idle'] as const) {