fix: update title on tab (#1360)
This commit is contained in:
committed by
GitHub
parent
98ccf17196
commit
0f82851766
@@ -118,7 +118,7 @@ export const EditorModeSwitch: React.FC<EditorModeSwitchProps> = ({
|
|||||||
>
|
>
|
||||||
<AnimateRadioItem
|
<AnimateRadioItem
|
||||||
isLeft={true}
|
isLeft={true}
|
||||||
label={t('Paper')}
|
label={t('Page')}
|
||||||
icon={<PaperItem />}
|
icon={<PaperItem />}
|
||||||
active={mode === 'page'}
|
active={mode === 'page'}
|
||||||
status={radioItemStatus.left}
|
status={radioItemStatus.left}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { clickPageMoreActions } from './libs/page-logic';
|
|||||||
import { test } from './libs/playwright';
|
import { test } from './libs/playwright';
|
||||||
loadPage();
|
loadPage();
|
||||||
|
|
||||||
test.describe('Change page mode(Paper or Edgeless)', () => {
|
test.describe('Change page mode(Page or Edgeless)', () => {
|
||||||
test('Switch to edgeless by switch edgeless item', async ({ page }) => {
|
test('Switch to edgeless by switch edgeless item', async ({ page }) => {
|
||||||
const switcher = page.locator('[data-testid=editor-mode-switcher]');
|
const switcher = page.locator('[data-testid=editor-mode-switcher]');
|
||||||
const box = await switcher.boundingBox();
|
const box = await switcher.boundingBox();
|
||||||
|
|||||||
Reference in New Issue
Block a user