refactor(core): refactor atom to use di (#5831)
To support multiple instances, this PR removes some atoms and implements them using the new DI system. removed atom - `pageSettingsAtom` - `currentPageIdAtom` - `currentModeAtom`
This commit is contained in:
@@ -264,6 +264,7 @@ test('assert the recent browse pages are on the recent list', async ({
|
||||
{
|
||||
const title = getBlockSuiteEditorTitle(page);
|
||||
await title.click();
|
||||
await page.waitForTimeout(200);
|
||||
await title.pressSequentially('sgtokidoki', { delay: 100 });
|
||||
await expect(title).toHaveText('sgtokidoki');
|
||||
}
|
||||
@@ -276,6 +277,7 @@ test('assert the recent browse pages are on the recent list', async ({
|
||||
{
|
||||
const title = getBlockSuiteEditorTitle(page);
|
||||
await title.click();
|
||||
await page.waitForTimeout(200);
|
||||
await title.pressSequentially('theliquidhorse', { delay: 100 });
|
||||
await expect(title).toHaveText('theliquidhorse');
|
||||
}
|
||||
@@ -288,6 +290,7 @@ test('assert the recent browse pages are on the recent list', async ({
|
||||
{
|
||||
const title = getBlockSuiteEditorTitle(page);
|
||||
await title.click();
|
||||
await page.waitForTimeout(200);
|
||||
await title.pressSequentially('battlekot', { delay: 100 });
|
||||
await expect(title).toHaveText('battlekot');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user