From 7fa02712bf4f2f7e82e21fc08442aba87733b02f Mon Sep 17 00:00:00 2001 From: Mirone Date: Fri, 20 Dec 2024 16:25:56 +0800 Subject: [PATCH] test: fix attachment path --- .github/workflows/build-test.yml | 2 +- blocksuite/tests-legacy/attachment.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 97e2087c8fd02..de4146f95d1ca 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -128,7 +128,7 @@ jobs: electron-install: false full-cache: true - - name: Run Playground Build + - name: Run playground build run: yarn workspace @blocksuite/playground build - name: Run playwright tests diff --git a/blocksuite/tests-legacy/attachment.spec.ts b/blocksuite/tests-legacy/attachment.spec.ts index d68b4fd0d5e01..9de5a4509a16f 100644 --- a/blocksuite/tests-legacy/attachment.spec.ts +++ b/blocksuite/tests-legacy/attachment.spec.ts @@ -39,7 +39,7 @@ import { import { test } from './utils/playwright.js'; const FILE_NAME = 'test-card-1.png'; -const FILE_PATH = `../packages/playground/public/${FILE_NAME}`; +const FILE_PATH = `../playground/public/${FILE_NAME}`; const FILE_ID = 'ejImogf-Tb7AuKY-v94uz1zuOJbClqK-tWBxVr_ksGA='; const FILE_SIZE = 45801;