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
@@ -10,10 +10,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.0.0-20230806233219-17ca6eee-nightly",
"@blocksuite/blocks": "0.0.0-20230806233219-17ca6eee-nightly",
"@blocksuite/global": "0.0.0-20230806233219-17ca6eee-nightly",
"@blocksuite/store": "0.0.0-20230806233219-17ca6eee-nightly",
"@blocksuite/block-std": "0.0.0-20230807164933-9f6fb698-nightly",
"@blocksuite/blocks": "0.0.0-20230807164933-9f6fb698-nightly",
"@blocksuite/global": "0.0.0-20230807164933-9f6fb698-nightly",
"@blocksuite/store": "0.0.0-20230807164933-9f6fb698-nightly",
"@playwright/test": "^1.36.2",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.0.0-20230806233219-17ca6eee-nightly",
"@blocksuite/blocks": "0.0.0-20230806233219-17ca6eee-nightly",
"@blocksuite/global": "0.0.0-20230806233219-17ca6eee-nightly",
"@blocksuite/store": "0.0.0-20230806233219-17ca6eee-nightly",
"@blocksuite/block-std": "0.0.0-20230807164933-9f6fb698-nightly",
"@blocksuite/blocks": "0.0.0-20230807164933-9f6fb698-nightly",
"@blocksuite/global": "0.0.0-20230807164933-9f6fb698-nightly",
"@blocksuite/store": "0.0.0-20230807164933-9f6fb698-nightly",
"@playwright/test": "^1.36.2",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
@@ -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();
});
+5 -1
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');