feat(core): enable callout in canary (#11302)

This commit is contained in:
EYHN
2025-03-31 16:10:18 +08:00
committed by GitHub
parent 8bea31698e
commit 24c382d3aa
2 changed files with 1 additions and 7 deletions
@@ -103,7 +103,7 @@ export const AFFINE_FLAGS = {
description: description:
'com.affine.settings.workspace.experimental-features.enable-callout.description', 'com.affine.settings.workspace.experimental-features.enable-callout.description',
configurable: isCanaryBuild, configurable: isCanaryBuild,
defaultState: false, defaultState: isCanaryBuild,
}, },
enable_embed_iframe_block: { enable_embed_iframe_block: {
category: 'blocksuite', category: 'blocksuite',
@@ -11,12 +11,6 @@ import { expect, test } from '@playwright/test';
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await openHomePage(page); await openHomePage(page);
await page.getByTestId('settings-modal-trigger').click();
await page.getByText('Experimental features').click();
await page.getByText('I am aware of the risks, and').click();
await page.getByTestId('experimental-confirm-button').click();
await page.getByTestId('enable_callout').locator('span').click();
await page.getByTestId('modal-close-button').click();
await page.getByTestId('sidebar-new-page-button').click(); await page.getByTestId('sidebar-new-page-button').click();
await page.locator('affine-paragraph v-line div').click(); await page.locator('affine-paragraph v-line div').click();
}); });