chore: remove legacy tests (#9183)

This commit is contained in:
liuyi
2024-12-17 17:06:28 +08:00
committed by GitHub
parent 27d4aa7ca7
commit b0e64fe516
79 changed files with 45 additions and 12448 deletions
+1 -3
View File
@@ -7,9 +7,7 @@
"**/bower_components/**",
"**/vendor/**",
"**/examples/**",
"**/__tests__/**",
"**/test/**",
"**/__fixtures__/**"
"**/__tests__/**"
],
"packageRules": [
{
-1
View File
@@ -16,7 +16,6 @@ packages/backend/server/src/base/error/errors.gen.ts
packages/frontend/i18n/src/i18n-generated.ts
packages/frontend/i18n/src/i18n-completenesses.json
packages/frontend/graphql/src/graphql/index.ts
tests/affine-legacy/**/static
.yarnrc.yml
packages/frontend/templates/*.gen.ts
packages/frontend/templates/onboarding
+1 -3
View File
@@ -11,8 +11,7 @@
"tools/*",
"docs/reference",
"tools/@types/*",
"tests/*",
"tests/affine-legacy/*"
"tests/*"
],
"engines": {
"node": "<21.0.0"
@@ -24,7 +23,6 @@
"build:electron": "yarn nx build @affine/electron",
"build:server-native": "yarn nx run-many -t build -p @affine/server-native",
"start:web-static": "yarn workspace @affine/web static-server",
"serve:test-static": "yarn exec serve tests/fixtures --cors -p 8081",
"lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" eslint --report-unused-disable-directives-severity=off . --cache",
"lint:eslint:fix": "yarn lint:eslint --fix",
"lint:prettier": "prettier --ignore-unknown --cache --check .",
@@ -11,9 +11,6 @@
"rootDir": "."
},
"references": [
{
"path": "../../../tests/fixtures"
},
{
"path": "../../../tests/kit"
}
-1
View File
@@ -32,7 +32,6 @@
"zod": "^3.24.1"
},
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
"@emotion/react": "^11.14.0",
"@swc/core": "^1.10.1",
+1 -6
View File
@@ -8,10 +8,5 @@
"outDir": "lib",
"noEmit": false
},
"include": ["vite.config.ts"],
"references": [
{
"path": "../../../tests/fixtures"
}
]
"include": ["vite.config.ts"]
}
+1 -3
View File
@@ -22,8 +22,6 @@
},
{
"path": "../../common/infra"
},
{ "path": "../../../tests/fixtures" }
}
]
}
+1
View File
@@ -4,6 +4,7 @@
"description": "Autogenerated GraphQL client for affine.pro",
"license": "MIT",
"type": "module",
"private": true,
"main": "./src/index.ts",
"module": "./src/index.ts",
"exports": {
+1
View File
@@ -2,6 +2,7 @@
"name": "@affine/i18n",
"description": "",
"type": "module",
"private": true,
"main": "src/index.ts",
"exports": {
".": "./src/index.ts"
@@ -26,16 +26,6 @@ const config: PlaywrightTestConfig = {
retries: 3,
reporter: process.env.CI ? 'github' : 'list',
webServer: [
{
command: 'yarn run serve:test-static',
port: 8081,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
env: {
COVERAGE: process.env.COVERAGE || 'false',
ENABLE_DEBUG_PAGE: '1',
},
},
// Intentionally not building the web, reminds you to run it by yourself.
{
command: 'yarn -T run start:web-static',
-3
View File
@@ -8,9 +8,6 @@
"references": [
{
"path": "../../tests/kit"
},
{
"path": "../../tests/fixtures"
}
]
}
+1 -1
View File
@@ -232,7 +232,7 @@ test('image preview should be shown', async ({ page, browser }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
// enable share page and copy page link
await enableShare(page);
-10
View File
@@ -26,16 +26,6 @@ const config: PlaywrightTestConfig = {
retries: process.env.COPILOT ? 1 : 3,
reporter: process.env.CI ? 'github' : 'list',
webServer: [
{
command: 'yarn run serve:test-static',
port: 8081,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
env: {
COVERAGE: process.env.COVERAGE || 'false',
ENABLE_DEBUG_PAGE: '1',
},
},
// Intentionally not building the web, reminds you to run it by yourself.
{
command: 'yarn -T run start:web-static',
-3
View File
@@ -8,9 +8,6 @@
"references": [
{
"path": "../../tests/kit"
},
{
"path": "../../tests/fixtures"
}
]
}
-3
View File
@@ -8,9 +8,6 @@
"references": [
{
"path": "../../tests/kit"
},
{
"path": "../../tests/fixtures"
}
]
}
-3
View File
@@ -9,9 +9,6 @@
{
"path": "../../tests/kit"
},
{
"path": "../../tests/fixtures"
},
{
"path": "../../packages/frontend/electron-api"
}
@@ -1,4 +0,0 @@
static
fixtures/*.ydoc
test-results
*.zip
@@ -1,12 +0,0 @@
# AFFiNE Legacy 0.6.1-beta.1
This package is used to record legacy data of 0.6.1-beta.1.
Run following commands locally to record data to `tests/fixtures/legacy/0.6.1-beta.1`.
```sh
cd tests/affine-legacy/0.6.1-beta.1
yarn run unzip
yarn run e2e
```
If you want to debug, running `yarn run e2e --ui` is ok. Or using https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright is more better.
@@ -1,36 +0,0 @@
import { patchDataEnhancement } from '@affine-test/kit/e2e-enhance/initializer';
import { SnapshotStorage } from '@affine-test/kit/e2e-enhance/snapshot';
import { test } from '@affine-test/kit/playwright';
import {
clickNewPageButton,
waitForEditorLoad,
} from '@affine-test/kit/utils/page-logic';
test.beforeEach(async ({ page }) => {
await patchDataEnhancement(page);
});
test('record 0.6.1-beta.1 legacy data', async ({ page }) => {
await page.goto('http://localhost:8081/');
await waitForEditorLoad(page);
await clickNewPageButton(page);
const locator = page.locator('v-line').nth(0);
await locator.fill('hello');
await page.keyboard.press('Enter');
await page.keyboard.type('TEST CONTENT', { delay: 50 });
const localStorageData = await page.evaluate(() =>
window.readAffineLocalStorage()
);
const { idbData, binaries } = await page.evaluate(() =>
window.readAffineDatabase()
);
const snapshotStorage = new SnapshotStorage('0.6.1-beta.1');
await snapshotStorage.write({
idbData,
localStorageData,
binaries,
});
});
@@ -1,17 +0,0 @@
{
"name": "@affine-legacy/0.6.1-beta.1",
"description": "AFFiNE 0.6.1-beta.1 static output",
"scripts": {
"unzip": "wget -O static.zip https://github.com/toeverything/AFFiNE/releases/download/v0.6.1-beta.1/web-static.zip && unzip static.zip -d static",
"start": "yarn exec serve -s static -l 8081",
"e2e": "yarn playwright test"
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.1",
"express": "^4.21.2",
"http-proxy-middleware": "^3.0.3",
"serve": "^14.2.4"
},
"version": "0.18.0"
}
@@ -1,41 +0,0 @@
import type {
PlaywrightTestConfig,
PlaywrightWorkerOptions,
} from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './e2e',
fullyParallel: true,
timeout: process.env.CI ? 50_000 : 30_000,
use: {
baseURL: 'http://localhost:8081/',
browserName:
(process.env.BROWSER as PlaywrightWorkerOptions['browserName']) ??
'chromium',
permissions: ['clipboard-read', 'clipboard-write'],
viewport: { width: 1440, height: 800 },
actionTimeout: 5 * 1000,
locale: 'en-US',
trace: 'on-first-retry',
video: 'on-first-retry',
},
forbidOnly: !!process.env.CI,
workers: 4,
retries: 1,
reporter: process.env.CI ? 'github' : 'list',
webServer: [
{
command: 'yarn run start',
port: 8081,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
],
};
if (process.env.CI) {
config.retries = 3;
config.workers = '50%';
}
export default config;
@@ -1,16 +0,0 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"esModuleInterop": true,
"outDir": "lib"
},
"include": ["e2e"],
"references": [
{
"path": "../../../tests/kit"
},
{
"path": "../../../tests/fixtures"
}
]
}
@@ -1,4 +0,0 @@
static
fixtures/*.ydoc
test-results
*.zip
@@ -1,12 +0,0 @@
# AFFiNE Legacy 0.7.0-canary.18
This package is used to record legacy data of 0.7.0-canary.18.
Run following commands locally to record data to `tests/fixtures/legacy/0.7.0-canary.18`.
```sh
cd tests/affine-legacy/0.7.0-canary.18
yarn run unzip
yarn run e2e
```
If you want to debug, running `yarn run e2e --ui` is ok. Or using https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright is more better.
@@ -1,33 +0,0 @@
import { patchDataEnhancement } from '@affine-test/kit/e2e-enhance/initializer';
import { SnapshotStorage } from '@affine-test/kit/e2e-enhance/snapshot';
import { test } from '@affine-test/kit/playwright';
import {
clickNewPageButton,
waitForEditorLoad,
} from '@affine-test/kit/utils/page-logic';
test.beforeEach(async ({ page }) => {
await patchDataEnhancement(page);
});
test('record 0.7.0-canary.18 legacy data', async ({ page }) => {
await page.goto('http://localhost:8081/');
await waitForEditorLoad(page);
await clickNewPageButton(page);
const locator = page.locator('v-line').nth(0);
await locator.fill('hello');
const localStorageData = await page.evaluate(() =>
window.readAffineLocalStorage()
);
const { idbData, binaries } = await page.evaluate(() =>
window.readAffineDatabase()
);
const snapshotStorage = new SnapshotStorage('0.7.0-canary.18');
await snapshotStorage.write({
idbData,
localStorageData,
binaries,
});
});
@@ -1,17 +0,0 @@
{
"name": "@affine-legacy/0.7.0-canary.18",
"description": "AFFiNE 0.7.0-canary.18 static output",
"scripts": {
"unzip": "wget -O static.zip https://github.com/toeverything/AFFiNE/releases/download/v0.7.0-canary.18/web-static.zip && unzip static.zip -d static",
"start": "yarn exec serve -s static -l 8081",
"e2e": "yarn playwright test"
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.1",
"express": "^4.21.2",
"http-proxy-middleware": "^3.0.3",
"serve": "^14.2.4"
},
"version": "0.18.0"
}
@@ -1,41 +0,0 @@
import type {
PlaywrightTestConfig,
PlaywrightWorkerOptions,
} from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './e2e',
fullyParallel: true,
timeout: process.env.CI ? 50_000 : 30_000,
use: {
baseURL: 'http://localhost:8081/',
browserName:
(process.env.BROWSER as PlaywrightWorkerOptions['browserName']) ??
'chromium',
permissions: ['clipboard-read', 'clipboard-write'],
viewport: { width: 1440, height: 800 },
actionTimeout: 5 * 1000,
locale: 'en-US',
trace: 'on-first-retry',
video: 'on-first-retry',
},
forbidOnly: !!process.env.CI,
workers: 4,
retries: 1,
reporter: process.env.CI ? 'github' : 'list',
webServer: [
{
command: 'yarn run start',
port: 8081,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
],
};
if (process.env.CI) {
config.retries = 3;
config.workers = '50%';
}
export default config;
Binary file not shown.
@@ -1,16 +0,0 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"esModuleInterop": true,
"outDir": "lib"
},
"include": ["e2e"],
"references": [
{
"path": "../../../tests/kit"
},
{
"path": "../../../tests/fixtures"
}
]
}
@@ -1,5 +0,0 @@
static
web-static
fixtures/*.ydoc
test-results
*.zip
@@ -1,12 +0,0 @@
# AFFiNE Legacy 0.8.0-canary.7
This package is used to record legacy data of 0.8.0-canary.7.
Run following commands locally to record data to `tests/fixtures/legacy/0.8.0-canary.7`.
```sh
cd tests/affine-legacy/0.8.0-canary.7
yarn run unzip
yarn run e2e
```
If you want to debug, running `yarn run e2e --ui` is ok. Or using https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright is more better.
@@ -1,40 +0,0 @@
import { patchDataEnhancement } from '@affine-test/kit/e2e-enhance/initializer';
import { SnapshotStorage } from '@affine-test/kit/e2e-enhance/snapshot';
import { test } from '@playwright/test';
test.beforeEach(async ({ page }) => {
await patchDataEnhancement(page);
});
test('record 0.8.0-canary.7 database legacy data', async ({ page }) => {
await page.goto('http://localhost:8081/');
await page.waitForSelector('v-line', {
timeout: 10000,
});
await page.getByTestId('new-page-button').click();
const title = page.locator('.affine-default-page-block-title');
await title.pressSequentially('hello');
await page.keyboard.press('Enter', { delay: 50 });
await page.keyboard.press('/', { delay: 50 });
await page.keyboard.press('d');
await page.keyboard.press('a');
await page.keyboard.press('t');
await page.keyboard.press('a');
await page.keyboard.press('b');
await page.keyboard.press('a', { delay: 50 });
await page.keyboard.press('Enter', { delay: 50 });
const localStorageData = await page.evaluate(() =>
window.readAffineLocalStorage()
);
const { idbData, binaries } = await page.evaluate(() =>
window.readAffineDatabase()
);
const snapshotStorage = new SnapshotStorage('0.8.0-canary.7');
await snapshotStorage.write({
idbData,
localStorageData,
binaries,
});
});
@@ -1,17 +0,0 @@
{
"name": "@affine-legacy/0.8.0-canary.7",
"description": "AFFiNE 0.8.0-canary.7 static output",
"scripts": {
"unzip": "wget -O static.zip https://github.com/toeverything/AFFiNE/releases/download/v0.8.0-canary.7/web-static.zip && unzip static.zip",
"start": "yarn exec serve -s web-static -l 8081",
"e2e": "yarn playwright test"
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.1",
"express": "^4.21.2",
"http-proxy-middleware": "^3.0.3",
"serve": "^14.2.4"
},
"version": "0.18.0"
}
@@ -1,41 +0,0 @@
import type {
PlaywrightTestConfig,
PlaywrightWorkerOptions,
} from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './e2e',
fullyParallel: true,
timeout: process.env.CI ? 50_000 : 30_000,
use: {
baseURL: 'http://localhost:8081/',
browserName:
(process.env.BROWSER as PlaywrightWorkerOptions['browserName']) ??
'chromium',
permissions: ['clipboard-read', 'clipboard-write'],
viewport: { width: 1440, height: 800 },
actionTimeout: 5 * 1000,
locale: 'en-US',
trace: 'on-first-retry',
video: 'on-first-retry',
},
forbidOnly: !!process.env.CI,
workers: 4,
retries: 1,
reporter: process.env.CI ? 'github' : 'list',
webServer: [
{
command: 'yarn run start',
port: 8081,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
],
};
if (process.env.CI) {
config.retries = 3;
config.workers = '50%';
}
export default config;
@@ -1,16 +0,0 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"esModuleInterop": true,
"outDir": "lib"
},
"include": ["e2e"],
"references": [
{
"path": "../../../tests/kit"
},
{
"path": "../../../tests/fixtures"
}
]
}
-5
View File
@@ -1,5 +0,0 @@
static
fixtures/*.ydoc
test-results
*.zip
web-static
-12
View File
@@ -1,12 +0,0 @@
# AFFiNE Legacy 0.8.4
This package is used to record legacy data of 0.8.4.
Run following commands locally to record data to `tests/fixtures/legacy/0.8.4`.
```sh
cd tests/affine-legacy/0.8.4
yarn run unzip
yarn run e2e
```
If you want to debug, running `yarn run e2e --ui` is ok. Or using https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright is more better.
@@ -1,54 +0,0 @@
import { patchDataEnhancement } from '@affine-test/kit/e2e-enhance/initializer';
import { SnapshotStorage } from '@affine-test/kit/e2e-enhance/snapshot';
import { getBlockSuiteEditorTitle } from '@affine-test/kit/utils/page-logic';
import { test } from '@playwright/test';
test.beforeEach(async ({ page }) => {
await patchDataEnhancement(page);
});
test('record 0.8.4 surface legacy data', async ({ page }) => {
await page.goto('http://localhost:8081/');
await page.waitForSelector('v-line', {
timeout: 10000,
});
await page.getByTestId('new-page-button').click();
const title = getBlockSuiteEditorTitle(page);
await title.pressSequentially('hello');
await page.keyboard.press('Enter', { delay: 50 });
await page.keyboard.type('world', {
delay: 50,
});
await page.getByTestId('switch-edgeless-mode-button').click({
delay: 50,
});
await page
.locator('edgeless-toolbar edgeless-toolbar-button')
.filter({
hasText: 'Pen',
})
.click({
delay: 50,
});
await page.mouse.move(500, 500);
await page.mouse.down();
await page.mouse.move(500, 600, {
steps: 10,
});
await page.mouse.up();
const localStorageData = await page.evaluate(() =>
window.readAffineLocalStorage()
);
const { idbData, binaries } = await page.evaluate(() =>
window.readAffineDatabase()
);
const snapshotStorage = new SnapshotStorage('0.8.4');
await snapshotStorage.write({
idbData,
localStorageData,
binaries,
});
});
-17
View File
@@ -1,17 +0,0 @@
{
"name": "@affine-legacy/0.8.4",
"description": "AFFiNE 0.8.4 static output",
"scripts": {
"unzip": "wget -O static.zip https://github.com/toeverything/AFFiNE/releases/download/v0.8.4/web-static.zip && unzip static.zip",
"start": "yarn exec serve -s web-static -l 8081",
"e2e": "yarn playwright test"
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.1",
"express": "^4.21.2",
"http-proxy-middleware": "^3.0.3",
"serve": "^14.2.4"
},
"version": "0.18.0"
}
@@ -1,40 +0,0 @@
import type {
PlaywrightTestConfig,
PlaywrightWorkerOptions,
} from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './e2e',
fullyParallel: !process.env.CI,
timeout: process.env.CI ? 50_000 : 30_000,
use: {
baseURL: 'http://localhost:8081/',
browserName:
(process.env.BROWSER as PlaywrightWorkerOptions['browserName']) ??
'chromium',
permissions: ['clipboard-read', 'clipboard-write'],
viewport: { width: 1440, height: 800 },
actionTimeout: 5 * 1000,
locale: 'en-US',
trace: 'on-first-retry',
video: 'on-first-retry',
},
forbidOnly: !!process.env.CI,
workers: process.env.CI ? 1 : 4,
retries: 1,
reporter: process.env.CI ? 'github' : 'list',
webServer: [
{
command: 'yarn run start',
port: 8081,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
],
};
if (process.env.CI) {
config.retries = 3;
}
export default config;
-16
View File
@@ -1,16 +0,0 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"esModuleInterop": true,
"outDir": "lib"
},
"include": ["e2e"],
"references": [
{
"path": "../../../tests/kit"
},
{
"path": "../../../tests/fixtures"
}
]
}
+21 -21
View File
@@ -24,7 +24,7 @@ test('image preview should be shown', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
const locator = page.getByTestId('image-preview-modal');
await expect(locator).toBeVisible();
@@ -41,7 +41,7 @@ test('image go left and right', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -56,7 +56,7 @@ test('image go left and right', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/affine-preview.png');
await importImage(page, 'affine-preview.png');
}
const locator = page.getByTestId('image-preview-modal');
await expect(locator).toBeHidden();
@@ -91,7 +91,7 @@ test('image able to zoom in and out with mouse scroll', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -145,7 +145,7 @@ test('image able to zoom in and out with button click', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -192,7 +192,7 @@ test('image should able to go left and right by buttons', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -207,7 +207,7 @@ test('image should able to go left and right by buttons', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/affine-preview.png');
await importImage(page, 'affine-preview.png');
}
const locator = page.getByTestId('image-preview-modal');
await page.locator('affine-page-image').first().dblclick();
@@ -245,7 +245,7 @@ test('image able to fit to screen by button', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -303,7 +303,7 @@ test('image able to reset zoom to 100%', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -357,7 +357,7 @@ test('image able to copy to clipboard', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -386,7 +386,7 @@ test('image preview should be able to copy image to clipboard on copy event', as
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -413,7 +413,7 @@ test('image able to download', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -444,7 +444,7 @@ test('image should only able to move when image is larger than viewport', async
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -502,7 +502,7 @@ test('image should able to delete and when delete, it will move to previous/next
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -517,7 +517,7 @@ test('image should able to delete and when delete, it will move to previous/next
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/affine-preview.png');
await importImage(page, 'affine-preview.png');
}
const locator = page.getByTestId('image-preview-modal');
await page.locator('affine-page-image').first().dblclick();
@@ -541,7 +541,7 @@ test('image should able to delete and when delete, it will move to previous/next
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/affine-preview.png');
await importImage(page, 'affine-preview.png');
}
await page.locator('affine-page-image').first().dblclick();
await locator.getByTestId('next-image-button').click();
@@ -578,10 +578,10 @@ test('tooltips for all buttons should be visible when hovering', async ({
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
await page.waitForTimeout(500);
blobId = (await page
@@ -682,7 +682,7 @@ test('keypress esc should close the modal', async ({ page }) => {
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
const locator = page.getByTestId('image-preview-modal');
await expect(locator).toBeVisible();
@@ -700,7 +700,7 @@ test('when mouse moves outside, the modal should be closed', async ({
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().dblclick();
const locator = page.getByTestId('image-preview-modal');
await expect(locator).toBeVisible();
@@ -721,7 +721,7 @@ test('caption should be visible and different styles were applied if image zoome
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.keyboard.press('Enter');
await importImage(page, 'http://localhost:8081/large-image.png');
await importImage(page, 'large-image.png');
await page.locator('affine-page-image').first().hover();
await page
.locator('.affine-image-toolbar-container .image-toolbar-button.caption')
-10
View File
@@ -44,16 +44,6 @@ const config: PlaywrightTestConfig = {
reporter: process.env.CI ? 'github' : 'list',
webServer: [
{
command: 'yarn run serve:test-static',
port: 8081,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
env: {
COVERAGE: process.env.COVERAGE || 'false',
ENABLE_DEBUG_PAGE: '1',
},
},
// Intentionally not building the web, reminds you to run it by yourself.
{
command: 'yarn run start:web-static',
-3
View File
@@ -8,9 +8,6 @@
"references": [
{
"path": "../../tests/kit"
},
{
"path": "../../tests/fixtures"
}
]
}
-10
View File
@@ -47,16 +47,6 @@ const config: PlaywrightTestConfig = {
reporter: process.env.CI ? 'github' : 'list',
webServer: [
{
command: 'yarn run serve:test-static',
port: 8081,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
env: {
COVERAGE: process.env.COVERAGE || 'false',
ENABLE_DEBUG_PAGE: '1',
},
},
// Intentionally not building the web, reminds you to run it by yourself.
{
command: 'yarn workspace @affine/mobile static-server',
-3
View File
@@ -8,9 +8,6 @@
"references": [
{
"path": "../../tests/kit"
},
{
"path": "../../tests/fixtures"
}
]
}
-1
View File
@@ -1 +0,0 @@
lib
-5
View File
@@ -1,5 +0,0 @@
{
"name": "debug1",
"email": "debug1@toeverything.info",
"password": "debug1"
}
-5
View File
@@ -1,5 +0,0 @@
{
"name": "debug2",
"email": "debug2@toeverything.info",
"password": "debug2"
}
Binary file not shown.
-530
View File
@@ -1,530 +0,0 @@
[
{
"name": "affine-local",
"version": 1,
"stores": [
{
"name": "milestone",
"keyPath": "id",
"values": []
},
{
"name": "workspace",
"keyPath": "id",
"values": [
{
"id": "sdI1qQamsV",
"updates": [
{
"timestamp": 1699853753756,
"update": "__BINARY__1"
},
{
"timestamp": 1699853753757,
"update": "__BINARY__2"
},
{
"timestamp": 1699853753757,
"update": "__BINARY__3"
},
{
"timestamp": 1699853753757,
"update": "__BINARY__4"
},
{
"timestamp": 1699853753757,
"update": "__BINARY__5"
},
{
"timestamp": 1699853753757,
"update": "__BINARY__6"
},
{
"timestamp": 1699853753758,
"update": "__BINARY__7"
},
{
"timestamp": 1699853753758,
"update": "__BINARY__8"
},
{
"timestamp": 1699853753758,
"update": "__BINARY__9"
},
{
"timestamp": 1699853753759,
"update": "__BINARY__10"
},
{
"timestamp": 1699853753760,
"update": "__BINARY__11"
},
{
"timestamp": 1699853753760,
"update": "__BINARY__12"
},
{
"timestamp": 1699853753761,
"update": "__BINARY__13"
},
{
"timestamp": 1699853753762,
"update": "__BINARY__14"
},
{
"timestamp": 1699853753767,
"update": "__BINARY__15"
},
{
"timestamp": 1699853753768,
"update": "__BINARY__16"
},
{
"timestamp": 1699853753770,
"update": "__BINARY__17"
},
{
"timestamp": 1699853753770,
"update": "__BINARY__18"
},
{
"timestamp": 1699853753771,
"update": "__BINARY__19"
},
{
"timestamp": 1699853753772,
"update": "__BINARY__20"
},
{
"timestamp": 1699853753773,
"update": "__BINARY__21"
},
{
"timestamp": 1699853753774,
"update": "__BINARY__22"
},
{
"timestamp": 1699853753775,
"update": "__BINARY__23"
},
{
"timestamp": 1699853753776,
"update": "__BINARY__24"
},
{
"timestamp": 1699853753777,
"update": "__BINARY__25"
},
{
"timestamp": 1699853753778,
"update": "__BINARY__26"
},
{
"timestamp": 1699853753778,
"update": "__BINARY__27"
},
{
"timestamp": 1699853753779,
"update": "__BINARY__28"
},
{
"timestamp": 1699853753780,
"update": "__BINARY__29"
},
{
"timestamp": 1699853753781,
"update": "__BINARY__30"
},
{
"timestamp": 1699853753782,
"update": "__BINARY__31"
},
{
"timestamp": 1699853753783,
"update": "__BINARY__32"
},
{
"timestamp": 1699853753783,
"update": "__BINARY__33"
},
{
"timestamp": 1699853753784,
"update": "__BINARY__34"
},
{
"timestamp": 1699853753785,
"update": "__BINARY__35"
},
{
"timestamp": 1699853753786,
"update": "__BINARY__36"
},
{
"timestamp": 1699853753787,
"update": "__BINARY__37"
},
{
"timestamp": 1699853753787,
"update": "__BINARY__38"
},
{
"timestamp": 1699853753788,
"update": "__BINARY__39"
},
{
"timestamp": 1699853753789,
"update": "__BINARY__40"
},
{
"timestamp": 1699853753790,
"update": "__BINARY__41"
},
{
"timestamp": 1699853753791,
"update": "__BINARY__42"
},
{
"timestamp": 1699853753792,
"update": "__BINARY__43"
},
{
"timestamp": 1699853753793,
"update": "__BINARY__44"
},
{
"timestamp": 1699853753794,
"update": "__BINARY__45"
},
{
"timestamp": 1699853753794,
"update": "__BINARY__46"
},
{
"timestamp": 1699853753795,
"update": "__BINARY__47"
},
{
"timestamp": 1699853753796,
"update": "__BINARY__48"
},
{
"timestamp": 1699853753797,
"update": "__BINARY__49"
},
{
"timestamp": 1699853753798,
"update": "__BINARY__50"
},
{
"timestamp": 1699853753799,
"update": "__BINARY__51"
},
{
"timestamp": 1699853753800,
"update": "__BINARY__52"
},
{
"timestamp": 1699853753801,
"update": "__BINARY__53"
},
{
"timestamp": 1699853753802,
"update": "__BINARY__54"
},
{
"timestamp": 1699853753802,
"update": "__BINARY__55"
},
{
"timestamp": 1699853753803,
"update": "__BINARY__56"
},
{
"timestamp": 1699853753804,
"update": "__BINARY__57"
},
{
"timestamp": 1699853753805,
"update": "__BINARY__58"
},
{
"timestamp": 1699853753806,
"update": "__BINARY__59"
},
{
"timestamp": 1699853753807,
"update": "__BINARY__60"
},
{
"timestamp": 1699853753807,
"update": "__BINARY__61"
},
{
"timestamp": 1699853753808,
"update": "__BINARY__62"
},
{
"timestamp": 1699853753809,
"update": "__BINARY__63"
},
{
"timestamp": 1699853753810,
"update": "__BINARY__64"
},
{
"timestamp": 1699853753811,
"update": "__BINARY__65"
},
{
"timestamp": 1699853753811,
"update": "__BINARY__66"
},
{
"timestamp": 1699853753812,
"update": "__BINARY__67"
},
{
"timestamp": 1699853753813,
"update": "__BINARY__68"
},
{
"timestamp": 1699853753814,
"update": "__BINARY__69"
},
{
"timestamp": 1699853753815,
"update": "__BINARY__70"
},
{
"timestamp": 1699853753816,
"update": "__BINARY__71"
},
{
"timestamp": 1699853753817,
"update": "__BINARY__72"
},
{
"timestamp": 1699853753818,
"update": "__BINARY__73"
},
{
"timestamp": 1699853753818,
"update": "__BINARY__74"
},
{
"timestamp": 1699853753819,
"update": "__BINARY__75"
},
{
"timestamp": 1699853753820,
"update": "__BINARY__76"
},
{
"timestamp": 1699853754053,
"update": "__BINARY__77"
},
{
"timestamp": 1699853755314,
"update": "__BINARY__78"
},
{
"timestamp": 1699853755516,
"update": "__BINARY__79"
},
{
"timestamp": 1699853755920,
"update": "__BINARY__80"
},
{
"timestamp": 1699853755921,
"update": "__BINARY__81"
},
{
"timestamp": 1699853755922,
"update": "__BINARY__82"
},
{
"timestamp": 1699853755923,
"update": "__BINARY__83"
},
{
"timestamp": 1699853755924,
"update": "__BINARY__84"
},
{
"timestamp": 1699853755925,
"update": "__BINARY__85"
},
{
"timestamp": 1699853755926,
"update": "__BINARY__86"
},
{
"timestamp": 1699853755930,
"update": "__BINARY__87"
},
{
"timestamp": 1699853755932,
"update": "__BINARY__88"
},
{
"timestamp": 1699853755933,
"update": "__BINARY__89"
},
{
"timestamp": 1699853755934,
"update": "__BINARY__90"
},
{
"timestamp": 1699853755935,
"update": "__BINARY__91"
},
{
"timestamp": 1699853756122,
"update": "__BINARY__92"
},
{
"timestamp": 1699853756123,
"update": "__BINARY__93"
},
{
"timestamp": 1699853756124,
"update": "__BINARY__94"
},
{
"timestamp": 1699853756125,
"update": "__BINARY__95"
},
{
"timestamp": 1699853756129,
"update": "__BINARY__96"
},
{
"timestamp": 1699853756130,
"update": "__BINARY__97"
},
{
"timestamp": 1699853756131,
"update": "__BINARY__98"
},
{
"timestamp": 1699853756132,
"update": "__BINARY__99"
},
{
"timestamp": 1699853756134,
"update": "__BINARY__100"
},
{
"timestamp": 1699853756135,
"update": "__BINARY__101"
},
{
"timestamp": 1699853756146,
"update": "__BINARY__102"
},
{
"timestamp": 1699853756154,
"update": "__BINARY__103"
},
{
"timestamp": 1699853756155,
"update": "__BINARY__104"
},
{
"timestamp": 1699853756158,
"update": "__BINARY__105"
},
{
"timestamp": 1699853756161,
"update": "__BINARY__106"
},
{
"timestamp": 1699853756162,
"update": "__BINARY__107"
},
{
"timestamp": 1699853756163,
"update": "__BINARY__108"
},
{
"timestamp": 1699853756164,
"update": "__BINARY__109"
},
{
"timestamp": 1699853756165,
"update": "__BINARY__110"
},
{
"timestamp": 1699853756212,
"update": "__BINARY__111"
},
{
"timestamp": 1699853756266,
"update": "__BINARY__112"
},
{
"timestamp": 1699853756321,
"update": "__BINARY__113"
},
{
"timestamp": 1699853756375,
"update": "__BINARY__114"
},
{
"timestamp": 1699853756435,
"update": "__BINARY__115"
},
{
"timestamp": 1699853756490,
"update": "__BINARY__116"
},
{
"timestamp": 1699853756546,
"update": "__BINARY__117"
},
{
"timestamp": 1699853756607,
"update": "__BINARY__118"
},
{
"timestamp": 1699853756672,
"update": "__BINARY__119"
},
{
"timestamp": 1699853756734,
"update": "__BINARY__120"
},
{
"timestamp": 1699853756806,
"update": "__BINARY__121"
}
]
}
]
}
]
},
{
"name": "page-view",
"version": 1,
"stores": [
{
"name": "view",
"keyPath": "id",
"values": []
}
]
},
{
"name": "sdI1qQamsV_blob",
"version": 1,
"stores": [
{
"name": "blob",
"keyPath": null,
"values": []
}
]
}
]
-607
View File
@@ -1,607 +0,0 @@
[
{
"name": "__BINARY__1",
"start": 0,
"end": 189
},
{
"name": "__BINARY__2",
"start": 189,
"end": 251
},
{
"name": "__BINARY__3",
"start": 251,
"end": 564
},
{
"name": "__BINARY__4",
"start": 564,
"end": 626
},
{
"name": "__BINARY__5",
"start": 626,
"end": 923
},
{
"name": "__BINARY__6",
"start": 923,
"end": 985
},
{
"name": "__BINARY__7",
"start": 985,
"end": 1280
},
{
"name": "__BINARY__8",
"start": 1280,
"end": 1342
},
{
"name": "__BINARY__9",
"start": 1342,
"end": 126036
},
{
"name": "__BINARY__10",
"start": 126036,
"end": 126099
},
{
"name": "__BINARY__11",
"start": 126099,
"end": 126402
},
{
"name": "__BINARY__12",
"start": 126402,
"end": 126467
},
{
"name": "__BINARY__13",
"start": 126467,
"end": 126769
},
{
"name": "__BINARY__14",
"start": 126769,
"end": 126834
},
{
"name": "__BINARY__15",
"start": 126834,
"end": 127137
},
{
"name": "__BINARY__16",
"start": 127137,
"end": 127202
},
{
"name": "__BINARY__17",
"start": 127202,
"end": 127504
},
{
"name": "__BINARY__18",
"start": 127504,
"end": 127569
},
{
"name": "__BINARY__19",
"start": 127569,
"end": 127873
},
{
"name": "__BINARY__20",
"start": 127873,
"end": 127938
},
{
"name": "__BINARY__21",
"start": 127938,
"end": 128261
},
{
"name": "__BINARY__22",
"start": 128261,
"end": 128326
},
{
"name": "__BINARY__23",
"start": 128326,
"end": 128647
},
{
"name": "__BINARY__24",
"start": 128647,
"end": 128712
},
{
"name": "__BINARY__25",
"start": 128712,
"end": 129034
},
{
"name": "__BINARY__26",
"start": 129034,
"end": 129099
},
{
"name": "__BINARY__27",
"start": 129099,
"end": 129370
},
{
"name": "__BINARY__28",
"start": 129370,
"end": 129435
},
{
"name": "__BINARY__29",
"start": 129435,
"end": 129895
},
{
"name": "__BINARY__30",
"start": 129895,
"end": 129960
},
{
"name": "__BINARY__31",
"start": 129960,
"end": 130307
},
{
"name": "__BINARY__32",
"start": 130307,
"end": 130372
},
{
"name": "__BINARY__33",
"start": 130372,
"end": 130738
},
{
"name": "__BINARY__34",
"start": 130738,
"end": 130803
},
{
"name": "__BINARY__35",
"start": 130803,
"end": 131698
},
{
"name": "__BINARY__36",
"start": 131698,
"end": 131763
},
{
"name": "__BINARY__37",
"start": 131763,
"end": 131916
},
{
"name": "__BINARY__38",
"start": 131916,
"end": 131981
},
{
"name": "__BINARY__39",
"start": 131981,
"end": 132435
},
{
"name": "__BINARY__40",
"start": 132435,
"end": 132500
},
{
"name": "__BINARY__41",
"start": 132500,
"end": 132730
},
{
"name": "__BINARY__42",
"start": 132730,
"end": 132795
},
{
"name": "__BINARY__43",
"start": 132795,
"end": 133172
},
{
"name": "__BINARY__44",
"start": 133172,
"end": 133237
},
{
"name": "__BINARY__45",
"start": 133237,
"end": 133466
},
{
"name": "__BINARY__46",
"start": 133466,
"end": 133531
},
{
"name": "__BINARY__47",
"start": 133531,
"end": 133935
},
{
"name": "__BINARY__48",
"start": 133935,
"end": 134000
},
{
"name": "__BINARY__49",
"start": 134000,
"end": 134228
},
{
"name": "__BINARY__50",
"start": 134228,
"end": 134293
},
{
"name": "__BINARY__51",
"start": 134293,
"end": 134626
},
{
"name": "__BINARY__52",
"start": 134626,
"end": 134691
},
{
"name": "__BINARY__53",
"start": 134691,
"end": 134921
},
{
"name": "__BINARY__54",
"start": 134921,
"end": 134986
},
{
"name": "__BINARY__55",
"start": 134986,
"end": 135372
},
{
"name": "__BINARY__56",
"start": 135372,
"end": 135437
},
{
"name": "__BINARY__57",
"start": 135437,
"end": 135679
},
{
"name": "__BINARY__58",
"start": 135679,
"end": 135744
},
{
"name": "__BINARY__59",
"start": 135744,
"end": 136129
},
{
"name": "__BINARY__60",
"start": 136129,
"end": 136194
},
{
"name": "__BINARY__61",
"start": 136194,
"end": 136417
},
{
"name": "__BINARY__62",
"start": 136417,
"end": 136482
},
{
"name": "__BINARY__63",
"start": 136482,
"end": 136758
},
{
"name": "__BINARY__64",
"start": 136758,
"end": 136823
},
{
"name": "__BINARY__65",
"start": 136823,
"end": 137319
},
{
"name": "__BINARY__66",
"start": 137319,
"end": 137384
},
{
"name": "__BINARY__67",
"start": 137384,
"end": 137538
},
{
"name": "__BINARY__68",
"start": 137538,
"end": 137603
},
{
"name": "__BINARY__69",
"start": 137603,
"end": 139400
},
{
"name": "__BINARY__70",
"start": 139400,
"end": 139465
},
{
"name": "__BINARY__71",
"start": 139465,
"end": 139692
},
{
"name": "__BINARY__72",
"start": 139692,
"end": 139757
},
{
"name": "__BINARY__73",
"start": 139757,
"end": 139980
},
{
"name": "__BINARY__74",
"start": 139980,
"end": 140045
},
{
"name": "__BINARY__75",
"start": 140045,
"end": 140266
},
{
"name": "__BINARY__76",
"start": 140266,
"end": 140331
},
{
"name": "__BINARY__77",
"start": 140331,
"end": 278777
},
{
"name": "__BINARY__78",
"start": 278777,
"end": 278804
},
{
"name": "__BINARY__79",
"start": 278804,
"end": 417260
},
{
"name": "__BINARY__80",
"start": 417260,
"end": 417300
},
{
"name": "__BINARY__81",
"start": 417300,
"end": 417388
},
{
"name": "__BINARY__82",
"start": 417388,
"end": 417475
},
{
"name": "__BINARY__83",
"start": 417475,
"end": 417565
},
{
"name": "__BINARY__84",
"start": 417565,
"end": 417655
},
{
"name": "__BINARY__85",
"start": 417655,
"end": 417743
},
{
"name": "__BINARY__86",
"start": 417743,
"end": 417832
},
{
"name": "__BINARY__87",
"start": 417832,
"end": 417922
},
{
"name": "__BINARY__88",
"start": 417922,
"end": 418014
},
{
"name": "__BINARY__89",
"start": 418014,
"end": 418103
},
{
"name": "__BINARY__90",
"start": 418103,
"end": 418193
},
{
"name": "__BINARY__91",
"start": 418193,
"end": 418230
},
{
"name": "__BINARY__92",
"start": 418230,
"end": 418344
},
{
"name": "__BINARY__93",
"start": 418344,
"end": 418493
},
{
"name": "__BINARY__94",
"start": 418493,
"end": 418523
},
{
"name": "__BINARY__95",
"start": 418523,
"end": 418676
},
{
"name": "__BINARY__96",
"start": 418676,
"end": 418706
},
{
"name": "__BINARY__97",
"start": 418706,
"end": 418979
},
{
"name": "__BINARY__98",
"start": 418979,
"end": 419009
},
{
"name": "__BINARY__99",
"start": 419009,
"end": 419210
},
{
"name": "__BINARY__100",
"start": 419210,
"end": 419240
},
{
"name": "__BINARY__101",
"start": 419240,
"end": 419281
},
{
"name": "__BINARY__102",
"start": 419281,
"end": 419323
},
{
"name": "__BINARY__103",
"start": 419323,
"end": 419360
},
{
"name": "__BINARY__104",
"start": 419360,
"end": 419397
},
{
"name": "__BINARY__105",
"start": 419397,
"end": 419438
},
{
"name": "__BINARY__106",
"start": 419438,
"end": 419473
},
{
"name": "__BINARY__107",
"start": 419473,
"end": 419673
},
{
"name": "__BINARY__108",
"start": 419673,
"end": 419708
},
{
"name": "__BINARY__109",
"start": 419708,
"end": 419729
},
{
"name": "__BINARY__110",
"start": 419729,
"end": 419772
},
{
"name": "__BINARY__111",
"start": 419772,
"end": 419792
},
{
"name": "__BINARY__112",
"start": 419792,
"end": 419812
},
{
"name": "__BINARY__113",
"start": 419812,
"end": 419832
},
{
"name": "__BINARY__114",
"start": 419832,
"end": 419852
},
{
"name": "__BINARY__115",
"start": 419852,
"end": 419872
},
{
"name": "__BINARY__116",
"start": 419872,
"end": 419892
},
{
"name": "__BINARY__117",
"start": 419892,
"end": 419912
},
{
"name": "__BINARY__118",
"start": 419912,
"end": 419932
},
{
"name": "__BINARY__119",
"start": 419932,
"end": 419952
},
{
"name": "__BINARY__120",
"start": 419952,
"end": 419972
},
{
"name": "__BINARY__121",
"start": 419972,
"end": 419992
}
]
-7
View File
@@ -1,7 +0,0 @@
{
"jotai-workspaces": "[{\"id\":\"sdI1qQamsV\",\"flavour\":\"local\"}]",
"last_page_id": "-RlV_W_Ey1",
"last_workspace_id": "sdI1qQamsV",
"affine-local-workspace": "[\"sdI1qQamsV\"]",
"is-first-open": "false"
}
Binary file not shown.
-470
View File
@@ -1,470 +0,0 @@
[
{
"name": "IBBNBMBvfp_blob",
"version": 1,
"stores": [
{
"name": "blob",
"keyPath": null,
"values": []
}
]
},
{
"name": "affine-local",
"version": 1,
"stores": [
{
"name": "milestone",
"keyPath": "id",
"values": []
},
{
"name": "workspace",
"keyPath": "id",
"values": [
{
"id": "IBBNBMBvfp",
"updates": [
{
"timestamp": 1697038970936,
"update": "__BINARY__1"
},
{
"timestamp": 1697038970941,
"update": "__BINARY__2"
},
{
"timestamp": 1697038970943,
"update": "__BINARY__3"
},
{
"timestamp": 1697038970946,
"update": "__BINARY__4"
},
{
"timestamp": 1697038970946,
"update": "__BINARY__5"
},
{
"timestamp": 1697038970947,
"update": "__BINARY__6"
},
{
"timestamp": 1697038970948,
"update": "__BINARY__7"
},
{
"timestamp": 1697038970949,
"update": "__BINARY__8"
},
{
"timestamp": 1697038970949,
"update": "__BINARY__9"
},
{
"timestamp": 1697038970964,
"update": "__BINARY__10"
},
{
"timestamp": 1697038970968,
"update": "__BINARY__11"
},
{
"timestamp": 1697038970975,
"update": "__BINARY__12"
},
{
"timestamp": 1697038970978,
"update": "__BINARY__13"
},
{
"timestamp": 1697038970981,
"update": "__BINARY__14"
},
{
"timestamp": 1697038970984,
"update": "__BINARY__15"
},
{
"timestamp": 1697038970987,
"update": "__BINARY__16"
},
{
"timestamp": 1697038970990,
"update": "__BINARY__17"
},
{
"timestamp": 1697038970993,
"update": "__BINARY__18"
},
{
"timestamp": 1697038970996,
"update": "__BINARY__19"
},
{
"timestamp": 1697038971001,
"update": "__BINARY__20"
},
{
"timestamp": 1697038971006,
"update": "__BINARY__21"
},
{
"timestamp": 1697038971009,
"update": "__BINARY__22"
},
{
"timestamp": 1697038971012,
"update": "__BINARY__23"
},
{
"timestamp": 1697038971015,
"update": "__BINARY__24"
},
{
"timestamp": 1697038971017,
"update": "__BINARY__25"
},
{
"timestamp": 1697038971020,
"update": "__BINARY__26"
},
{
"timestamp": 1697038971022,
"update": "__BINARY__27"
},
{
"timestamp": 1697038971025,
"update": "__BINARY__28"
},
{
"timestamp": 1697038971028,
"update": "__BINARY__29"
},
{
"timestamp": 1697038971031,
"update": "__BINARY__30"
},
{
"timestamp": 1697038971034,
"update": "__BINARY__31"
},
{
"timestamp": 1697038971037,
"update": "__BINARY__32"
},
{
"timestamp": 1697038971040,
"update": "__BINARY__33"
},
{
"timestamp": 1697038971042,
"update": "__BINARY__34"
},
{
"timestamp": 1697038971045,
"update": "__BINARY__35"
},
{
"timestamp": 1697038971047,
"update": "__BINARY__36"
},
{
"timestamp": 1697038971050,
"update": "__BINARY__37"
},
{
"timestamp": 1697038971052,
"update": "__BINARY__38"
},
{
"timestamp": 1697038971055,
"update": "__BINARY__39"
},
{
"timestamp": 1697038971058,
"update": "__BINARY__40"
},
{
"timestamp": 1697038971061,
"update": "__BINARY__41"
},
{
"timestamp": 1697038971063,
"update": "__BINARY__42"
},
{
"timestamp": 1697038971066,
"update": "__BINARY__43"
},
{
"timestamp": 1697038971068,
"update": "__BINARY__44"
},
{
"timestamp": 1697038971071,
"update": "__BINARY__45"
},
{
"timestamp": 1697038971074,
"update": "__BINARY__46"
},
{
"timestamp": 1697038971076,
"update": "__BINARY__47"
},
{
"timestamp": 1697038971079,
"update": "__BINARY__48"
},
{
"timestamp": 1697038971081,
"update": "__BINARY__49"
},
{
"timestamp": 1697038971083,
"update": "__BINARY__50"
},
{
"timestamp": 1697038971086,
"update": "__BINARY__51"
},
{
"timestamp": 1697038971089,
"update": "__BINARY__52"
},
{
"timestamp": 1697038971091,
"update": "__BINARY__53"
},
{
"timestamp": 1697038971095,
"update": "__BINARY__54"
},
{
"timestamp": 1697038971098,
"update": "__BINARY__55"
},
{
"timestamp": 1697038971100,
"update": "__BINARY__56"
},
{
"timestamp": 1697038971103,
"update": "__BINARY__57"
},
{
"timestamp": 1697038971106,
"update": "__BINARY__58"
},
{
"timestamp": 1697038971109,
"update": "__BINARY__59"
},
{
"timestamp": 1697038971112,
"update": "__BINARY__60"
},
{
"timestamp": 1697038971114,
"update": "__BINARY__61"
},
{
"timestamp": 1697038971117,
"update": "__BINARY__62"
},
{
"timestamp": 1697038971119,
"update": "__BINARY__63"
},
{
"timestamp": 1697038971123,
"update": "__BINARY__64"
},
{
"timestamp": 1697038971125,
"update": "__BINARY__65"
},
{
"timestamp": 1697038971128,
"update": "__BINARY__66"
},
{
"timestamp": 1697038971131,
"update": "__BINARY__67"
},
{
"timestamp": 1697038971134,
"update": "__BINARY__68"
},
{
"timestamp": 1697038971136,
"update": "__BINARY__69"
},
{
"timestamp": 1697038971139,
"update": "__BINARY__70"
},
{
"timestamp": 1697038971142,
"update": "__BINARY__71"
},
{
"timestamp": 1697038971146,
"update": "__BINARY__72"
},
{
"timestamp": 1697038971149,
"update": "__BINARY__73"
},
{
"timestamp": 1697038971153,
"update": "__BINARY__74"
},
{
"timestamp": 1697038971155,
"update": "__BINARY__75"
},
{
"timestamp": 1697038971158,
"update": "__BINARY__76"
},
{
"timestamp": 1697038971798,
"update": "__BINARY__77"
},
{
"timestamp": 1697038972979,
"update": "__BINARY__78"
},
{
"timestamp": 1697038973588,
"update": "__BINARY__79"
},
{
"timestamp": 1697038973913,
"update": "__BINARY__80"
},
{
"timestamp": 1697038973916,
"update": "__BINARY__81"
},
{
"timestamp": 1697038973920,
"update": "__BINARY__82"
},
{
"timestamp": 1697038973924,
"update": "__BINARY__83"
},
{
"timestamp": 1697038973928,
"update": "__BINARY__84"
},
{
"timestamp": 1697038973931,
"update": "__BINARY__85"
},
{
"timestamp": 1697038973935,
"update": "__BINARY__86"
},
{
"timestamp": 1697038973938,
"update": "__BINARY__87"
},
{
"timestamp": 1697038973942,
"update": "__BINARY__88"
},
{
"timestamp": 1697038973945,
"update": "__BINARY__89"
},
{
"timestamp": 1697038973948,
"update": "__BINARY__90"
},
{
"timestamp": 1697038973951,
"update": "__BINARY__91"
},
{
"timestamp": 1697038974427,
"update": "__BINARY__92"
},
{
"timestamp": 1697038974450,
"update": "__BINARY__93"
},
{
"timestamp": 1697038974453,
"update": "__BINARY__94"
},
{
"timestamp": 1697038974459,
"update": "__BINARY__95"
},
{
"timestamp": 1697038974464,
"update": "__BINARY__96"
},
{
"timestamp": 1697038974467,
"update": "__BINARY__97"
},
{
"timestamp": 1697038974475,
"update": "__BINARY__98"
},
{
"timestamp": 1697038974497,
"update": "__BINARY__99"
},
{
"timestamp": 1697038974501,
"update": "__BINARY__100"
},
{
"timestamp": 1697038974504,
"update": "__BINARY__101"
},
{
"timestamp": 1697038974511,
"update": "__BINARY__102"
},
{
"timestamp": 1697038974515,
"update": "__BINARY__103"
},
{
"timestamp": 1697038974518,
"update": "__BINARY__104"
},
{
"timestamp": 1697038974523,
"update": "__BINARY__105"
},
{
"timestamp": 1697038974527,
"update": "__BINARY__106"
}
]
}
]
}
]
},
{
"name": "page-view",
"version": 1,
"stores": [
{
"name": "view",
"keyPath": "id",
"values": []
}
]
}
]
-532
View File
@@ -1,532 +0,0 @@
[
{
"name": "__BINARY__1",
"start": 0,
"end": 189
},
{
"name": "__BINARY__2",
"start": 189,
"end": 251
},
{
"name": "__BINARY__3",
"start": 251,
"end": 564
},
{
"name": "__BINARY__4",
"start": 564,
"end": 626
},
{
"name": "__BINARY__5",
"start": 626,
"end": 923
},
{
"name": "__BINARY__6",
"start": 923,
"end": 985
},
{
"name": "__BINARY__7",
"start": 985,
"end": 1280
},
{
"name": "__BINARY__8",
"start": 1280,
"end": 1342
},
{
"name": "__BINARY__9",
"start": 1342,
"end": 126036
},
{
"name": "__BINARY__10",
"start": 126036,
"end": 126099
},
{
"name": "__BINARY__11",
"start": 126099,
"end": 126402
},
{
"name": "__BINARY__12",
"start": 126402,
"end": 126467
},
{
"name": "__BINARY__13",
"start": 126467,
"end": 126769
},
{
"name": "__BINARY__14",
"start": 126769,
"end": 126834
},
{
"name": "__BINARY__15",
"start": 126834,
"end": 127137
},
{
"name": "__BINARY__16",
"start": 127137,
"end": 127202
},
{
"name": "__BINARY__17",
"start": 127202,
"end": 127504
},
{
"name": "__BINARY__18",
"start": 127504,
"end": 127569
},
{
"name": "__BINARY__19",
"start": 127569,
"end": 127873
},
{
"name": "__BINARY__20",
"start": 127873,
"end": 127938
},
{
"name": "__BINARY__21",
"start": 127938,
"end": 128261
},
{
"name": "__BINARY__22",
"start": 128261,
"end": 128326
},
{
"name": "__BINARY__23",
"start": 128326,
"end": 128647
},
{
"name": "__BINARY__24",
"start": 128647,
"end": 128712
},
{
"name": "__BINARY__25",
"start": 128712,
"end": 129034
},
{
"name": "__BINARY__26",
"start": 129034,
"end": 129099
},
{
"name": "__BINARY__27",
"start": 129099,
"end": 129370
},
{
"name": "__BINARY__28",
"start": 129370,
"end": 129435
},
{
"name": "__BINARY__29",
"start": 129435,
"end": 129895
},
{
"name": "__BINARY__30",
"start": 129895,
"end": 129960
},
{
"name": "__BINARY__31",
"start": 129960,
"end": 130307
},
{
"name": "__BINARY__32",
"start": 130307,
"end": 130372
},
{
"name": "__BINARY__33",
"start": 130372,
"end": 130738
},
{
"name": "__BINARY__34",
"start": 130738,
"end": 130803
},
{
"name": "__BINARY__35",
"start": 130803,
"end": 131698
},
{
"name": "__BINARY__36",
"start": 131698,
"end": 131763
},
{
"name": "__BINARY__37",
"start": 131763,
"end": 131916
},
{
"name": "__BINARY__38",
"start": 131916,
"end": 131981
},
{
"name": "__BINARY__39",
"start": 131981,
"end": 132435
},
{
"name": "__BINARY__40",
"start": 132435,
"end": 132500
},
{
"name": "__BINARY__41",
"start": 132500,
"end": 132730
},
{
"name": "__BINARY__42",
"start": 132730,
"end": 132795
},
{
"name": "__BINARY__43",
"start": 132795,
"end": 133172
},
{
"name": "__BINARY__44",
"start": 133172,
"end": 133237
},
{
"name": "__BINARY__45",
"start": 133237,
"end": 133466
},
{
"name": "__BINARY__46",
"start": 133466,
"end": 133531
},
{
"name": "__BINARY__47",
"start": 133531,
"end": 133935
},
{
"name": "__BINARY__48",
"start": 133935,
"end": 134000
},
{
"name": "__BINARY__49",
"start": 134000,
"end": 134228
},
{
"name": "__BINARY__50",
"start": 134228,
"end": 134293
},
{
"name": "__BINARY__51",
"start": 134293,
"end": 134626
},
{
"name": "__BINARY__52",
"start": 134626,
"end": 134691
},
{
"name": "__BINARY__53",
"start": 134691,
"end": 134921
},
{
"name": "__BINARY__54",
"start": 134921,
"end": 134986
},
{
"name": "__BINARY__55",
"start": 134986,
"end": 135372
},
{
"name": "__BINARY__56",
"start": 135372,
"end": 135437
},
{
"name": "__BINARY__57",
"start": 135437,
"end": 135679
},
{
"name": "__BINARY__58",
"start": 135679,
"end": 135744
},
{
"name": "__BINARY__59",
"start": 135744,
"end": 136129
},
{
"name": "__BINARY__60",
"start": 136129,
"end": 136194
},
{
"name": "__BINARY__61",
"start": 136194,
"end": 136417
},
{
"name": "__BINARY__62",
"start": 136417,
"end": 136482
},
{
"name": "__BINARY__63",
"start": 136482,
"end": 136758
},
{
"name": "__BINARY__64",
"start": 136758,
"end": 136823
},
{
"name": "__BINARY__65",
"start": 136823,
"end": 137319
},
{
"name": "__BINARY__66",
"start": 137319,
"end": 137384
},
{
"name": "__BINARY__67",
"start": 137384,
"end": 137538
},
{
"name": "__BINARY__68",
"start": 137538,
"end": 137603
},
{
"name": "__BINARY__69",
"start": 137603,
"end": 139400
},
{
"name": "__BINARY__70",
"start": 139400,
"end": 139465
},
{
"name": "__BINARY__71",
"start": 139465,
"end": 139692
},
{
"name": "__BINARY__72",
"start": 139692,
"end": 139757
},
{
"name": "__BINARY__73",
"start": 139757,
"end": 139980
},
{
"name": "__BINARY__74",
"start": 139980,
"end": 140045
},
{
"name": "__BINARY__75",
"start": 140045,
"end": 140266
},
{
"name": "__BINARY__76",
"start": 140266,
"end": 140331
},
{
"name": "__BINARY__77",
"start": 140331,
"end": 278777
},
{
"name": "__BINARY__78",
"start": 278777,
"end": 278804
},
{
"name": "__BINARY__79",
"start": 278804,
"end": 417260
},
{
"name": "__BINARY__80",
"start": 417260,
"end": 417300
},
{
"name": "__BINARY__81",
"start": 417300,
"end": 417388
},
{
"name": "__BINARY__82",
"start": 417388,
"end": 417475
},
{
"name": "__BINARY__83",
"start": 417475,
"end": 417565
},
{
"name": "__BINARY__84",
"start": 417565,
"end": 417655
},
{
"name": "__BINARY__85",
"start": 417655,
"end": 417743
},
{
"name": "__BINARY__86",
"start": 417743,
"end": 417832
},
{
"name": "__BINARY__87",
"start": 417832,
"end": 417922
},
{
"name": "__BINARY__88",
"start": 417922,
"end": 418014
},
{
"name": "__BINARY__89",
"start": 418014,
"end": 418103
},
{
"name": "__BINARY__90",
"start": 418103,
"end": 418193
},
{
"name": "__BINARY__91",
"start": 418193,
"end": 418230
},
{
"name": "__BINARY__92",
"start": 418230,
"end": 418344
},
{
"name": "__BINARY__93",
"start": 418344,
"end": 418493
},
{
"name": "__BINARY__94",
"start": 418493,
"end": 418523
},
{
"name": "__BINARY__95",
"start": 418523,
"end": 418676
},
{
"name": "__BINARY__96",
"start": 418676,
"end": 418706
},
{
"name": "__BINARY__97",
"start": 418706,
"end": 418979
},
{
"name": "__BINARY__98",
"start": 418979,
"end": 419009
},
{
"name": "__BINARY__99",
"start": 419009,
"end": 419210
},
{
"name": "__BINARY__100",
"start": 419210,
"end": 419240
},
{
"name": "__BINARY__101",
"start": 419240,
"end": 419281
},
{
"name": "__BINARY__102",
"start": 419281,
"end": 419323
},
{
"name": "__BINARY__103",
"start": 419323,
"end": 419360
},
{
"name": "__BINARY__104",
"start": 419360,
"end": 419397
},
{
"name": "__BINARY__105",
"start": 419397,
"end": 419438
},
{
"name": "__BINARY__106",
"start": 419438,
"end": 419473
}
]
@@ -1,7 +0,0 @@
{
"jotai-workspaces": "[{\"id\":\"IBBNBMBvfp\",\"flavour\":\"local\"}]",
"last_page_id": "P2JKlb2H46",
"last_workspace_id": "IBBNBMBvfp",
"affine-local-workspace": "[\"IBBNBMBvfp\"]",
"is-first-open": "false"
}
Binary file not shown.
-255
View File
@@ -1,255 +0,0 @@
[
{
"name": "52FVff-1rf_blob",
"version": 1,
"stores": [
{
"name": "blob",
"keyPath": null,
"values": []
}
]
},
{
"name": "52FVff-1rf_blob_mime",
"version": 1,
"stores": [
{
"name": "blob_mime",
"keyPath": null,
"values": []
}
]
},
{
"name": "affine-local",
"version": 1,
"stores": [
{
"name": "milestone",
"keyPath": "id",
"values": []
},
{
"name": "workspace",
"keyPath": "id",
"values": [
{
"id": "52FVff-1rf",
"updates": [
{
"timestamp": 1697039052176,
"update": "__BINARY__1"
},
{
"timestamp": 1697039052473,
"update": "__BINARY__2"
},
{
"timestamp": 1697039052508,
"update": "__BINARY__3"
},
{
"timestamp": 1697039052513,
"update": "__BINARY__4"
},
{
"timestamp": 1697039052647,
"update": "__BINARY__5"
},
{
"timestamp": 1697039052649,
"update": "__BINARY__6"
},
{
"timestamp": 1697039052651,
"update": "__BINARY__7"
},
{
"timestamp": 1697039052652,
"update": "__BINARY__8"
},
{
"timestamp": 1697039052653,
"update": "__BINARY__9"
},
{
"timestamp": 1697039052654,
"update": "__BINARY__10"
},
{
"timestamp": 1697039052655,
"update": "__BINARY__11"
},
{
"timestamp": 1697039052657,
"update": "__BINARY__12"
},
{
"timestamp": 1697039052658,
"update": "__BINARY__13"
},
{
"timestamp": 1697039052659,
"update": "__BINARY__14"
},
{
"timestamp": 1697039052661,
"update": "__BINARY__15"
},
{
"timestamp": 1697039052942,
"update": "__BINARY__16"
},
{
"timestamp": 1697039052943,
"update": "__BINARY__17"
},
{
"timestamp": 1697039052945,
"update": "__BINARY__18"
},
{
"timestamp": 1697039052947,
"update": "__BINARY__19"
}
]
},
{
"id": "space:52FVff-1rf-hello-world",
"updates": [
{
"timestamp": 1697039052209,
"update": "__BINARY__20"
}
]
},
{
"id": "space:wtCoS4jUeY",
"updates": [
{
"timestamp": 1697039052615,
"update": "__BINARY__21"
},
{
"timestamp": 1697039052648,
"update": "__BINARY__22"
},
{
"timestamp": 1697039052650,
"update": "__BINARY__23"
},
{
"timestamp": 1697039052652,
"update": "__BINARY__24"
},
{
"timestamp": 1697039052653,
"update": "__BINARY__25"
},
{
"timestamp": 1697039052655,
"update": "__BINARY__26"
},
{
"timestamp": 1697039052656,
"update": "__BINARY__27"
},
{
"timestamp": 1697039052657,
"update": "__BINARY__28"
},
{
"timestamp": 1697039052659,
"update": "__BINARY__29"
},
{
"timestamp": 1697039052660,
"update": "__BINARY__30"
},
{
"timestamp": 1697039052661,
"update": "__BINARY__31"
},
{
"timestamp": 1697039052730,
"update": "__BINARY__32"
},
{
"timestamp": 1697039052791,
"update": "__BINARY__33"
},
{
"timestamp": 1697039052802,
"update": "__BINARY__34"
},
{
"timestamp": 1697039052803,
"update": "__BINARY__35"
},
{
"timestamp": 1697039052821,
"update": "__BINARY__36"
},
{
"timestamp": 1697039052822,
"update": "__BINARY__37"
},
{
"timestamp": 1697039052823,
"update": "__BINARY__38"
},
{
"timestamp": 1697039052938,
"update": "__BINARY__39"
},
{
"timestamp": 1697039052939,
"update": "__BINARY__40"
},
{
"timestamp": 1697039052940,
"update": "__BINARY__41"
},
{
"timestamp": 1697039052941,
"update": "__BINARY__42"
},
{
"timestamp": 1697039052942,
"update": "__BINARY__43"
},
{
"timestamp": 1697039052944,
"update": "__BINARY__44"
},
{
"timestamp": 1697039052946,
"update": "__BINARY__45"
},
{
"timestamp": 1697039052948,
"update": "__BINARY__46"
},
{
"timestamp": 1697039052949,
"update": "__BINARY__47"
}
]
}
]
}
]
},
{
"name": "page-view",
"version": 1,
"stores": [
{
"name": "view",
"keyPath": "id",
"values": []
}
]
}
]
-237
View File
@@ -1,237 +0,0 @@
[
{
"name": "__BINARY__1",
"start": 0,
"end": 774
},
{
"name": "__BINARY__2",
"start": 774,
"end": 920
},
{
"name": "__BINARY__3",
"start": 920,
"end": 974
},
{
"name": "__BINARY__4",
"start": 974,
"end": 1013
},
{
"name": "__BINARY__5",
"start": 1013,
"end": 1040
},
{
"name": "__BINARY__6",
"start": 1040,
"end": 1067
},
{
"name": "__BINARY__7",
"start": 1067,
"end": 1094
},
{
"name": "__BINARY__8",
"start": 1094,
"end": 1121
},
{
"name": "__BINARY__9",
"start": 1121,
"end": 1155
},
{
"name": "__BINARY__10",
"start": 1155,
"end": 1183
},
{
"name": "__BINARY__11",
"start": 1183,
"end": 1212
},
{
"name": "__BINARY__12",
"start": 1212,
"end": 1242
},
{
"name": "__BINARY__13",
"start": 1242,
"end": 1273
},
{
"name": "__BINARY__14",
"start": 1273,
"end": 1305
},
{
"name": "__BINARY__15",
"start": 1305,
"end": 1337
},
{
"name": "__BINARY__16",
"start": 1337,
"end": 1369
},
{
"name": "__BINARY__17",
"start": 1369,
"end": 1401
},
{
"name": "__BINARY__18",
"start": 1401,
"end": 1433
},
{
"name": "__BINARY__19",
"start": 1433,
"end": 1465
},
{
"name": "__BINARY__20",
"start": 1465,
"end": 141929
},
{
"name": "__BINARY__21",
"start": 141929,
"end": 142063
},
{
"name": "__BINARY__22",
"start": 142063,
"end": 142224
},
{
"name": "__BINARY__23",
"start": 142224,
"end": 142500
},
{
"name": "__BINARY__24",
"start": 142500,
"end": 142684
},
{
"name": "__BINARY__25",
"start": 142684,
"end": 143412
},
{
"name": "__BINARY__26",
"start": 143412,
"end": 143431
},
{
"name": "__BINARY__27",
"start": 143431,
"end": 143449
},
{
"name": "__BINARY__28",
"start": 143449,
"end": 143467
},
{
"name": "__BINARY__29",
"start": 143467,
"end": 143485
},
{
"name": "__BINARY__30",
"start": 143485,
"end": 143503
},
{
"name": "__BINARY__31",
"start": 143503,
"end": 143686
},
{
"name": "__BINARY__32",
"start": 143686,
"end": 143705
},
{
"name": "__BINARY__33",
"start": 143705,
"end": 143723
},
{
"name": "__BINARY__34",
"start": 143723,
"end": 143741
},
{
"name": "__BINARY__35",
"start": 143741,
"end": 143759
},
{
"name": "__BINARY__36",
"start": 143759,
"end": 143777
},
{
"name": "__BINARY__37",
"start": 143777,
"end": 143795
},
{
"name": "__BINARY__38",
"start": 143795,
"end": 143819
},
{
"name": "__BINARY__39",
"start": 143819,
"end": 143831
},
{
"name": "__BINARY__40",
"start": 143831,
"end": 144329
},
{
"name": "__BINARY__41",
"start": 144329,
"end": 144593
},
{
"name": "__BINARY__42",
"start": 144593,
"end": 144768
},
{
"name": "__BINARY__43",
"start": 144768,
"end": 144952
},
{
"name": "__BINARY__44",
"start": 144952,
"end": 145135
},
{
"name": "__BINARY__45",
"start": 145135,
"end": 145318
},
{
"name": "__BINARY__46",
"start": 145318,
"end": 145437
},
{
"name": "__BINARY__47",
"start": 145437,
"end": 145665
}
]
@@ -1,7 +0,0 @@
{
"jotai-workspaces": "[{\"id\":\"52FVff-1rf\",\"flavour\":\"local\",\"version\":2}]",
"last_page_id": "wtCoS4jUeY",
"last_workspace_id": "52FVff-1rf",
"affine-local-workspace": "[\"52FVff-1rf\"]",
"is-first-open": "false"
}
Binary file not shown.
-350
View File
@@ -1,350 +0,0 @@
[
{
"name": "affine-local",
"version": 1,
"stores": [
{
"name": "milestone",
"keyPath": "id",
"values": []
},
{
"name": "workspace",
"keyPath": "id",
"values": [
{
"id": "hsraMjtX5k",
"updates": [
{
"timestamp": 1697039130426,
"update": "__BINARY__1"
},
{
"timestamp": 1697039130428,
"update": "__BINARY__2"
},
{
"timestamp": 1697039130654,
"update": "__BINARY__3"
},
{
"timestamp": 1697039130699,
"update": "__BINARY__4"
},
{
"timestamp": 1697039130701,
"update": "__BINARY__5"
},
{
"timestamp": 1697039130822,
"update": "__BINARY__6"
},
{
"timestamp": 1697039130824,
"update": "__BINARY__7"
},
{
"timestamp": 1697039130826,
"update": "__BINARY__8"
},
{
"timestamp": 1697039130828,
"update": "__BINARY__9"
},
{
"timestamp": 1697039130855,
"update": "__BINARY__10"
},
{
"timestamp": 1697039130857,
"update": "__BINARY__11"
},
{
"timestamp": 1697039130858,
"update": "__BINARY__12"
},
{
"timestamp": 1697039130860,
"update": "__BINARY__13"
},
{
"timestamp": 1697039130861,
"update": "__BINARY__14"
},
{
"timestamp": 1697039130862,
"update": "__BINARY__15"
},
{
"timestamp": 1697039130866,
"update": "__BINARY__16"
},
{
"timestamp": 1697039131400,
"update": "__BINARY__17"
}
]
},
{
"id": "hsraMjtX5k:space:0N0WzwmtK_",
"updates": [
{
"timestamp": 1697039130472,
"update": "__BINARY__18"
}
]
},
{
"id": "hsraMjtX5k:space:3R9X-gMh3m",
"updates": [
{
"timestamp": 1697039130468,
"update": "__BINARY__19"
}
]
},
{
"id": "hsraMjtX5k:space:6gexHy-jto",
"updates": [
{
"timestamp": 1697039130473,
"update": "__BINARY__20"
}
]
},
{
"id": "hsraMjtX5k:space:A4wBRdQZN0",
"updates": [
{
"timestamp": 1697039130485,
"update": "__BINARY__21"
}
]
},
{
"id": "hsraMjtX5k:space:F1SX6cgNxy",
"updates": [
{
"timestamp": 1697039130469,
"update": "__BINARY__22"
}
]
},
{
"id": "hsraMjtX5k:space:PqZ7MLlL_9",
"updates": [
{
"timestamp": 1697039130478,
"update": "__BINARY__23"
}
]
},
{
"id": "hsraMjtX5k:space:Ra-VT4A8dt",
"updates": [
{
"timestamp": 1697039130821,
"update": "__BINARY__24"
},
{
"timestamp": 1697039130823,
"update": "__BINARY__25"
},
{
"timestamp": 1697039130825,
"update": "__BINARY__26"
},
{
"timestamp": 1697039130827,
"update": "__BINARY__27"
},
{
"timestamp": 1697039130856,
"update": "__BINARY__28"
},
{
"timestamp": 1697039130857,
"update": "__BINARY__29"
},
{
"timestamp": 1697039130859,
"update": "__BINARY__30"
},
{
"timestamp": 1697039130860,
"update": "__BINARY__31"
},
{
"timestamp": 1697039130862,
"update": "__BINARY__32"
},
{
"timestamp": 1697039130863,
"update": "__BINARY__33"
},
{
"timestamp": 1697039130864,
"update": "__BINARY__34"
},
{
"timestamp": 1697039130913,
"update": "__BINARY__35"
},
{
"timestamp": 1697039130972,
"update": "__BINARY__36"
},
{
"timestamp": 1697039131030,
"update": "__BINARY__37"
},
{
"timestamp": 1697039131085,
"update": "__BINARY__38"
},
{
"timestamp": 1697039131140,
"update": "__BINARY__39"
},
{
"timestamp": 1697039131404,
"update": "__BINARY__40"
},
{
"timestamp": 1697039132167,
"update": "__BINARY__41"
},
{
"timestamp": 1697039132167,
"update": "__BINARY__42"
},
{
"timestamp": 1697039132189,
"update": "__BINARY__43"
},
{
"timestamp": 1697039132203,
"update": "__BINARY__44"
},
{
"timestamp": 1697039132219,
"update": "__BINARY__45"
},
{
"timestamp": 1697039132236,
"update": "__BINARY__46"
},
{
"timestamp": 1697039132251,
"update": "__BINARY__47"
},
{
"timestamp": 1697039132271,
"update": "__BINARY__48"
},
{
"timestamp": 1697039132287,
"update": "__BINARY__49"
},
{
"timestamp": 1697039132302,
"update": "__BINARY__50"
},
{
"timestamp": 1697039132321,
"update": "__BINARY__51"
}
]
},
{
"id": "hsraMjtX5k:space:bj_cuI1tN7",
"updates": [
{
"timestamp": 1697039130476,
"update": "__BINARY__52"
}
]
},
{
"id": "hsraMjtX5k:space:fFoDX2J1Z5",
"updates": [
{
"timestamp": 1697039130477,
"update": "__BINARY__53"
}
]
},
{
"id": "hsraMjtX5k:space:gc5FeppNDv-hello-world",
"updates": [
{
"timestamp": 1697039130467,
"update": "__BINARY__54"
}
]
},
{
"id": "hsraMjtX5k:space:kBB4lzhm7C",
"updates": [
{
"timestamp": 1697039130486,
"update": "__BINARY__55"
}
]
},
{
"id": "hsraMjtX5k:space:nQd2Bdvoqz",
"updates": [
{
"timestamp": 1697039130479,
"update": "__BINARY__56"
}
]
},
{
"id": "hsraMjtX5k:space:z_v6LOqNpp",
"updates": [
{
"timestamp": 1697039130469,
"update": "__BINARY__57"
}
]
}
]
}
]
},
{
"name": "hsraMjtX5k_blob",
"version": 1,
"stores": [
{
"name": "blob",
"keyPath": null,
"values": []
}
]
},
{
"name": "hsraMjtX5k_blob_mime",
"version": 1,
"stores": [
{
"name": "blob_mime",
"keyPath": null,
"values": []
}
]
},
{
"name": "page-view",
"version": 1,
"stores": [
{
"name": "view",
"keyPath": "id",
"values": []
}
]
}
]
-287
View File
@@ -1,287 +0,0 @@
[
{
"name": "__BINARY__1",
"start": 0,
"end": 35
},
{
"name": "__BINARY__2",
"start": 35,
"end": 4639
},
{
"name": "__BINARY__3",
"start": 4639,
"end": 4802
},
{
"name": "__BINARY__4",
"start": 4802,
"end": 4868
},
{
"name": "__BINARY__5",
"start": 4868,
"end": 4909
},
{
"name": "__BINARY__6",
"start": 4909,
"end": 4939
},
{
"name": "__BINARY__7",
"start": 4939,
"end": 4969
},
{
"name": "__BINARY__8",
"start": 4969,
"end": 4999
},
{
"name": "__BINARY__9",
"start": 4999,
"end": 5029
},
{
"name": "__BINARY__10",
"start": 5029,
"end": 5066
},
{
"name": "__BINARY__11",
"start": 5066,
"end": 5097
},
{
"name": "__BINARY__12",
"start": 5097,
"end": 5129
},
{
"name": "__BINARY__13",
"start": 5129,
"end": 5162
},
{
"name": "__BINARY__14",
"start": 5162,
"end": 5196
},
{
"name": "__BINARY__15",
"start": 5196,
"end": 5231
},
{
"name": "__BINARY__16",
"start": 5231,
"end": 5266
},
{
"name": "__BINARY__17",
"start": 5266,
"end": 5303
},
{
"name": "__BINARY__18",
"start": 5303,
"end": 9423
},
{
"name": "__BINARY__19",
"start": 9423,
"end": 12533
},
{
"name": "__BINARY__20",
"start": 12533,
"end": 14760
},
{
"name": "__BINARY__21",
"start": 14760,
"end": 18476
},
{
"name": "__BINARY__22",
"start": 18476,
"end": 158902
},
{
"name": "__BINARY__23",
"start": 158902,
"end": 163325
},
{
"name": "__BINARY__24",
"start": 163325,
"end": 163459
},
{
"name": "__BINARY__25",
"start": 163459,
"end": 163620
},
{
"name": "__BINARY__26",
"start": 163620,
"end": 163895
},
{
"name": "__BINARY__27",
"start": 163895,
"end": 164079
},
{
"name": "__BINARY__28",
"start": 164079,
"end": 164806
},
{
"name": "__BINARY__29",
"start": 164806,
"end": 164825
},
{
"name": "__BINARY__30",
"start": 164825,
"end": 164843
},
{
"name": "__BINARY__31",
"start": 164843,
"end": 164861
},
{
"name": "__BINARY__32",
"start": 164861,
"end": 164879
},
{
"name": "__BINARY__33",
"start": 164879,
"end": 164897
},
{
"name": "__BINARY__34",
"start": 164897,
"end": 165080
},
{
"name": "__BINARY__35",
"start": 165080,
"end": 165099
},
{
"name": "__BINARY__36",
"start": 165099,
"end": 165117
},
{
"name": "__BINARY__37",
"start": 165117,
"end": 165135
},
{
"name": "__BINARY__38",
"start": 165135,
"end": 165153
},
{
"name": "__BINARY__39",
"start": 165153,
"end": 165171
},
{
"name": "__BINARY__40",
"start": 165171,
"end": 165211
},
{
"name": "__BINARY__41",
"start": 165211,
"end": 165469
},
{
"name": "__BINARY__42",
"start": 165469,
"end": 165596
},
{
"name": "__BINARY__43",
"start": 165596,
"end": 165732
},
{
"name": "__BINARY__44",
"start": 165732,
"end": 165882
},
{
"name": "__BINARY__45",
"start": 165882,
"end": 166044
},
{
"name": "__BINARY__46",
"start": 166044,
"end": 166216
},
{
"name": "__BINARY__47",
"start": 166216,
"end": 166404
},
{
"name": "__BINARY__48",
"start": 166404,
"end": 166605
},
{
"name": "__BINARY__49",
"start": 166605,
"end": 166819
},
{
"name": "__BINARY__50",
"start": 166819,
"end": 167046
},
{
"name": "__BINARY__51",
"start": 167046,
"end": 167286
},
{
"name": "__BINARY__52",
"start": 167286,
"end": 177177
},
{
"name": "__BINARY__53",
"start": 177177,
"end": 185089
},
{
"name": "__BINARY__54",
"start": 185089,
"end": 190349
},
{
"name": "__BINARY__55",
"start": 190349,
"end": 195939
},
{
"name": "__BINARY__56",
"start": 195939,
"end": 284834
},
{
"name": "__BINARY__57",
"start": 284834,
"end": 287903
}
]
-7
View File
@@ -1,7 +0,0 @@
{
"jotai-workspaces": "[{\"id\":\"hsraMjtX5k\",\"flavour\":\"local\",\"version\":3}]",
"last_page_id": "Ra-VT4A8dt",
"last_workspace_id": "hsraMjtX5k",
"affine-local-workspace": "[\"hsraMjtX5k\"]",
"is-first-open": "false"
}
-4
View File
@@ -1,4 +0,0 @@
# fixtures/legacy
The legacy data of affine is stored here to do migration testing.
Running e2e testing in `tests/affine-legacy` will record data to here.
-8063
View File
File diff suppressed because it is too large Load Diff
-7
View File
@@ -1,7 +0,0 @@
{
"name": "@affine-test/fixtures",
"exports": {
"./*": "./*"
},
"version": "0.18.0"
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

-13
View File
@@ -1,13 +0,0 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"noEmit": false,
"outDir": "lib",
"moduleResolution": "NodeNext",
"module": "NodeNext",
"resolveJsonModule": true
},
"include": [".", "./*.json", "./legacy/**/*.json"],
"exclude": ["./tsconfig.json"]
}
-5
View File
@@ -1,5 +0,0 @@
{
"name": "Alex Yang",
"email": "alex.yang@example.org",
"password": "123456"
}
-5
View File
@@ -1,5 +0,0 @@
{
"name": "Boying Li",
"email": "boying.li@example.org",
"password": "654321"
}
-18
View File
@@ -1,18 +0,0 @@
import { dirname, join } from 'node:path';
import type { Page } from '@playwright/test';
declare global {
function readAffineDatabase(): Promise<any>;
function writeAffineDatabase(data: any, binaries: any): Promise<void>;
function readAffineLocalStorage(): Promise<any>;
function writeAffineLocalStorage(data: any): Promise<void>;
}
export async function patchDataEnhancement(page: Page) {
const idbPath = join(dirname(require.resolve('idb')), 'umd.js');
await page.addInitScript({ path: idbPath });
const patchPath = join(__dirname, './storage-patch.js');
await page.addInitScript({ path: patchPath });
}
-109
View File
@@ -1,109 +0,0 @@
import { readFile, writeFile } from 'node:fs/promises';
import { dirname, join } from 'node:path';
import { mkdirp, readJSON } from 'fs-extra';
interface SnapshotData {
idbData: Record<string, any>;
localStorageData: Record<string, string>;
binaries: Record<string, number[]>;
}
interface BinaryIndexData {
name: string;
start: number;
end: number;
}
export class SnapshotStorage {
idbFilePath: string;
localStorageFilePath: string;
binaryIndexPath: string;
binaryFilePath: string;
constructor(version: string) {
// The snapshots data is stored in "@affine-test/fixtures/legacy", just keep all fixtures in one place
const legacyReadMeFilePath = require.resolve(
'@affine-test/fixtures/legacy/README.md'
);
const dir = dirname(legacyReadMeFilePath);
this.idbFilePath = join(dir, version, 'idb.json');
this.binaryFilePath = join(dir, version, 'idb.bin');
this.binaryIndexPath = join(dir, version, 'idb_index.json');
this.localStorageFilePath = join(dir, version, 'local-storage.json');
}
async read(): Promise<SnapshotData> {
const {
idbFilePath,
localStorageFilePath,
binaryIndexPath,
binaryFilePath,
} = this;
const [idbData, localStorageData, binaryIndexArr, binaryContent] =
await Promise.all([
readJSON(idbFilePath),
readJSON(localStorageFilePath),
readJSON(binaryIndexPath) as Promise<BinaryIndexData[]>,
readFile(binaryFilePath),
]);
const binaries: Record<string, number[]> = {};
for (const index of binaryIndexArr) {
const chunk = binaryContent.subarray(index.start, index.end);
binaries[index.name] = Array.from(chunk);
}
return {
binaries,
idbData,
localStorageData,
};
}
async write(data: SnapshotData) {
const {
idbFilePath,
localStorageFilePath,
binaryIndexPath,
binaryFilePath,
} = this;
const { idbData, localStorageData, binaries } = data;
await mkdirp(dirname(idbFilePath));
const binaryIndexData: BinaryIndexData[] = [];
const binaryBuffers: Buffer[] = [];
let currentIndex = 0;
for (const [name, value] of Object.entries(binaries)) {
const buffer = Buffer.from(value);
const endIndex = currentIndex + buffer.length;
binaryIndexData.push({
name,
start: currentIndex,
end: endIndex,
});
binaryBuffers.push(buffer);
currentIndex += buffer.length;
}
await Promise.all([
writeFile(
localStorageFilePath,
JSON.stringify(localStorageData, null, 2),
'utf-8'
),
writeFile(idbFilePath, JSON.stringify(idbData, null, 2), 'utf-8'),
writeFile(
binaryIndexPath,
JSON.stringify(binaryIndexData, null, 2),
'utf-8'
),
writeFile(binaryFilePath, Buffer.concat(binaryBuffers), 'utf-8'),
]);
}
}
-141
View File
@@ -1,141 +0,0 @@
/**
* @type {import('idb')}
*/
const idb = window.idb;
const createUniqueIndex = (() => {
let index = 0;
return () => ++index;
})();
function replaceBinary(value, binaries) {
if (value instanceof Uint8Array) {
const name = `__BINARY__${createUniqueIndex()}`;
binaries[name] = Array.from(value);
return name;
}
if (Array.isArray(value)) {
return value.map(item => replaceBinary(item, binaries));
}
if (typeof value === 'object' && value !== null) {
const replaced = {};
for (const key of Object.keys(value)) {
replaced[key] = replaceBinary(value[key], binaries);
}
return replaced;
}
return value;
}
function recoveryBinary(value, binaries) {
if (typeof value === 'string') {
const arr = binaries[value];
if (arr) {
return new Uint8Array(arr);
}
}
if (Array.isArray(value)) {
return value.map(item => recoveryBinary(item, binaries));
}
if (typeof value === 'object' && value !== null) {
const result = {};
for (const key of Object.keys(value)) {
result[key] = recoveryBinary(value[key], binaries);
}
return result;
}
return value;
}
async function readAffineDatabase() {
const idbData = [];
const binaries = {};
const databases = await indexedDB.databases();
for (const databaseInfo of databases) {
const idbDatabase = await idb.openDB(
databaseInfo.name,
databaseInfo.version
);
if (!idbDatabase) {
throw new Error('idbDatabase is null');
}
const stores = [];
const objectStoreNames = Array.from(idbDatabase.objectStoreNames);
const transaction = idbDatabase.transaction(objectStoreNames, 'readonly');
for (const storeName of objectStoreNames) {
const objectStore = transaction.objectStore(storeName);
const objectValues = await objectStore.getAll();
stores.push({
name: storeName,
keyPath: objectStore.keyPath,
values: replaceBinary(objectValues, binaries),
});
}
idbData.push({ ...databaseInfo, stores });
}
return { idbData, binaries };
}
async function writeAffineDatabase(allDatabases, binaries) {
for (const database of allDatabases) {
const idbDatabase = await idb.openDB(database.name, database.version, {
upgrade(db) {
for (const objectStore of database.stores) {
db.createObjectStore(objectStore.name, {
keyPath: objectStore.keyPath,
});
}
},
});
for (const store of database.stores) {
const transaction = idbDatabase.transaction(store.name, 'readwrite');
const objectStore = transaction.objectStore(store.name);
for (const value of store.values) {
await objectStore.add(recoveryBinary(value, binaries));
}
}
}
}
async function readAffineLocalStorage() {
const data = {};
const keys = [
'jotai-workspaces',
'last_page_id',
'last_workspace_id',
'affine-local-workspace',
'is-first-open',
];
for (const key of keys) {
const value = window.localStorage.getItem(key);
data[key] = value;
}
return data;
}
async function writeAffineLocalStorage(data) {
for (const [key, value] of Object.entries(data)) {
window.localStorage.setItem(key, value);
}
}
window.readAffineDatabase = readAffineDatabase;
window.writeAffineDatabase = writeAffineDatabase;
window.readAffineLocalStorage = readAffineLocalStorage;
window.writeAffineLocalStorage = writeAffineLocalStorage;
+17 -22
View File
@@ -1,28 +1,23 @@
import { join } from 'node:path';
import type { Page } from '@playwright/test';
import { focusInlineEditor } from './page-logic';
export async function importImage(page: Page, pathInFixtures: string) {
await page.evaluate(() => {
// Force fallback to input[type=file] in tests
// See https://github.com/microsoft/playwright/issues/8850
// @ts-expect-error allow
window.showOpenFilePicker = undefined;
});
export async function importImage(page: Page, url: string) {
await focusInlineEditor(page);
await page.evaluate(
([url]) => {
const clipData = {
'text/html': `<img alt={'Sample image'} src=${url} />`,
};
const e = new ClipboardEvent('paste', {
clipboardData: new DataTransfer(),
});
Object.defineProperty(e, 'target', {
writable: false,
value: document,
});
Object.entries(clipData).forEach(([key, value]) => {
e.clipboardData?.setData(key, value);
});
document.dispatchEvent(e);
},
[url]
);
const fileChooser = page.waitForEvent('filechooser');
// open slash menu
await page.keyboard.type('/image', { delay: 50 });
await page.keyboard.press('Enter');
await (
await fileChooser
).setFiles(join(__dirname, '../../fixtures', pathInFixtures));
// TODO(@catsjuice): wait for image to be loaded more reliably
await page.waitForTimeout(1000);
}
-62
View File
@@ -1,62 +0,0 @@
import type Test from '@playwright/test';
import type { BrowserContext } from '@playwright/test';
import express from 'express';
import { createProxyMiddleware } from 'http-proxy-middleware';
import { waitForEditorLoad } from './page-logic';
export async function check8080Available(context: BrowserContext) {
// make sure 8080 is ready
const page = await context.newPage();
await page.goto('http://localhost:8080/');
await waitForEditorLoad(page);
await page.close();
}
export function setupProxyServer(test: typeof Test, dir: string) {
let app: express.Express;
let server: ReturnType<express.Express['listen']>;
test.beforeEach(() => {
app = express();
app.use(express.static(dir));
server = app.listen(8081);
});
test.afterEach(() => {
server.close();
});
return {
get app() {
return app;
},
get server() {
return server;
},
switchToNext: async function () {
// close previous express server
await new Promise<void>((resolve, reject) => {
server.close(err => {
if (err) {
reject(err);
}
resolve();
});
});
app = express();
app.use(
createProxyMiddleware({
target: 'http://localhost:8080',
pathFilter: ['**'],
changeOrigin: true,
})
);
return new Promise<void>(resolve => {
server = app.listen(8081, () => {
console.log('proxy to next.js server');
resolve();
});
});
},
};
}
-13
View File
@@ -66,7 +66,6 @@
"@affine/graphql": ["./packages/frontend/graphql/src"],
"@affine/electron/scripts/*": ["./packages/frontend/electron/scripts/*"],
"@affine-test/kit/*": ["./tests/kit/*"],
"@affine-test/fixtures/*": ["./tests/fixtures/*"],
"@toeverything/infra": ["./packages/common/infra/src"],
"@affine/native": ["./packages/frontend/native/index.d.ts"],
"@affine/native/*": ["./packages/frontend/native/*"],
@@ -152,24 +151,12 @@
{
"path": "./tests/affine-mobile"
},
{
"path": "./tests/affine-legacy/0.7.0-canary.18"
},
{
"path": "./tests/affine-legacy/0.8.0-canary.7"
},
{
"path": "./tests/affine-cloud"
},
{
"path": "./tests/affine-desktop"
},
{
"path": "./tests/affine-legacy/0.8.4"
},
{
"path": "./tests/affine-legacy/0.6.1-beta.1"
},
// Others
{
"path": "./tsconfig.node.json"
-55
View File
@@ -19,54 +19,6 @@ __metadata:
languageName: node
linkType: hard
"@affine-legacy/0.6.1-beta.1@workspace:tests/affine-legacy/0.6.1-beta.1":
version: 0.0.0-use.local
resolution: "@affine-legacy/0.6.1-beta.1@workspace:tests/affine-legacy/0.6.1-beta.1"
dependencies:
"@affine-test/kit": "workspace:*"
"@playwright/test": "npm:=1.49.1"
express: "npm:^4.21.2"
http-proxy-middleware: "npm:^3.0.3"
serve: "npm:^14.2.4"
languageName: unknown
linkType: soft
"@affine-legacy/0.7.0-canary.18@workspace:tests/affine-legacy/0.7.0-canary.18":
version: 0.0.0-use.local
resolution: "@affine-legacy/0.7.0-canary.18@workspace:tests/affine-legacy/0.7.0-canary.18"
dependencies:
"@affine-test/kit": "workspace:*"
"@playwright/test": "npm:=1.49.1"
express: "npm:^4.21.2"
http-proxy-middleware: "npm:^3.0.3"
serve: "npm:^14.2.4"
languageName: unknown
linkType: soft
"@affine-legacy/0.8.0-canary.7@workspace:tests/affine-legacy/0.8.0-canary.7":
version: 0.0.0-use.local
resolution: "@affine-legacy/0.8.0-canary.7@workspace:tests/affine-legacy/0.8.0-canary.7"
dependencies:
"@affine-test/kit": "workspace:*"
"@playwright/test": "npm:=1.49.1"
express: "npm:^4.21.2"
http-proxy-middleware: "npm:^3.0.3"
serve: "npm:^14.2.4"
languageName: unknown
linkType: soft
"@affine-legacy/0.8.4@workspace:tests/affine-legacy/0.8.4":
version: 0.0.0-use.local
resolution: "@affine-legacy/0.8.4@workspace:tests/affine-legacy/0.8.4"
dependencies:
"@affine-test/kit": "workspace:*"
"@playwright/test": "npm:=1.49.1"
express: "npm:^4.21.2"
http-proxy-middleware: "npm:^3.0.3"
serve: "npm:^14.2.4"
languageName: unknown
linkType: soft
"@affine-test/affine-cloud-copilot@workspace:tests/affine-cloud-copilot":
version: 0.0.0-use.local
resolution: "@affine-test/affine-cloud-copilot@workspace:tests/affine-cloud-copilot"
@@ -125,12 +77,6 @@ __metadata:
languageName: unknown
linkType: soft
"@affine-test/fixtures@workspace:*, @affine-test/fixtures@workspace:tests/fixtures":
version: 0.0.0-use.local
resolution: "@affine-test/fixtures@workspace:tests/fixtures"
languageName: unknown
linkType: soft
"@affine-test/kit@workspace:*, @affine-test/kit@workspace:tests/kit":
version: 0.0.0-use.local
resolution: "@affine-test/kit@workspace:tests/kit"
@@ -13780,7 +13726,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@toeverything/infra@workspace:packages/common/infra"
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine/debug": "workspace:*"
"@affine/env": "workspace:*"
"@affine/templates": "workspace:*"