feat: modify default avatar (#2034)

This commit is contained in:
Qi
2023-04-20 17:41:29 +08:00
committed by GitHub
parent f8d1513bb6
commit 4a1c15c1e9
5 changed files with 200 additions and 49 deletions

View File

@@ -24,9 +24,6 @@ test('should create a page with a local first avatar', async ({ page }) => {
await page.getByTestId('workspace-name').click();
await page.getByTestId('workspace-card').nth(0).click();
await page.waitForTimeout(1000);
const text = await page.getByTestId('workspace-avatar').textContent();
// default avatar for default workspace
expect(text).toBe('D');
await page.getByTestId('workspace-name').click();
await page.getByTestId('workspace-card').nth(1).click();
const blobUrl = await page