feat: modify current workspace label to a dot (#3399)

This commit is contained in:
Qi
2023-07-27 13:37:31 +08:00
committed by GitHub
parent bc27412425
commit bc263e7afb
3 changed files with 26 additions and 14 deletions

View File

@@ -21,7 +21,7 @@ test('should create a page with a local first avatar', async ({
await page.getByTestId('workspace-name').click();
await page.getByTestId('workspace-card').nth(1).click();
await page.getByTestId('settings-modal-trigger').click();
await page.getByText('current').click();
await page.getByTestId('current-workspace-label').click();
await page
.getByTestId('upload-avatar')
.setInputFiles(resolve(rootDir, 'tests', 'fixtures', 'smile.png'));