chore: bump version (#3606)

This commit is contained in:
Alex Yang
2023-08-07 23:01:47 -04:00
committed by GitHub
parent b147624f1c
commit d101db2a39
23 changed files with 224 additions and 207 deletions

View File

@@ -22,24 +22,24 @@ test('database is useable', async ({ page }) => {
await waitEditorLoad(page);
await newPage(page);
await waitEditorLoad(page);
const title = await getBlockSuiteEditorTitle(page);
const title = getBlockSuiteEditorTitle(page);
await title.type('test title');
await page.keyboard.press('Enter');
expect(await title.innerText()).toBe('test title');
await addDatabase(page);
const database = page.locator('.affine-database-table');
const database = page.locator('affine-database');
await expect(database).toBeVisible();
await page.reload();
await waitEditorLoad(page);
await newPage(page);
await waitEditorLoad(page);
const title2 = await getBlockSuiteEditorTitle(page);
title2.type('test title2');
const title2 = getBlockSuiteEditorTitle(page);
await title2.type('test title2');
await page.waitForTimeout(500);
expect(await title2.innerText()).toBe('test title2');
await page.keyboard.press('Enter');
await addDatabase(page);
const database2 = page.locator('.affine-database-table');
const database2 = page.locator('affine-database');
await expect(database2).toBeVisible();
});

View File

@@ -699,7 +699,11 @@ test('caption should be visible and different styles were applied if image zoome
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await page.locator('img').first().hover();
await page.locator('icon-button').first().click();
await page
.locator('.embed-editing-state')
.locator('icon-button')
.first()
.click();
await page.getByPlaceholder('Write a caption').fill(sampleCaption);
await page.locator('img').first().dblclick();
const locator = page.getByTestId('image-preview-modal');