chore: bump version (#3947)

This commit is contained in:
Alex Yang
2023-08-24 21:45:16 -05:00
committed by GitHub
parent 61ac597cba
commit 98b8fbc8cf
22 changed files with 227 additions and 214 deletions

View File

@@ -31,13 +31,13 @@
"wait-on": "^7.0.1"
},
"devDependencies": {
"@blocksuite/block-std": "0.0.0-20230824081236-b25a3da9-nightly",
"@blocksuite/blocks": "0.0.0-20230824081236-b25a3da9-nightly",
"@blocksuite/editor": "0.0.0-20230824081236-b25a3da9-nightly",
"@blocksuite/global": "0.0.0-20230824081236-b25a3da9-nightly",
"@blocksuite/block-std": "0.0.0-20230824205952-3df3727b-nightly",
"@blocksuite/blocks": "0.0.0-20230824205952-3df3727b-nightly",
"@blocksuite/editor": "0.0.0-20230824205952-3df3727b-nightly",
"@blocksuite/global": "0.0.0-20230824205952-3df3727b-nightly",
"@blocksuite/icons": "^2.1.31",
"@blocksuite/lit": "0.0.0-20230824081236-b25a3da9-nightly",
"@blocksuite/store": "0.0.0-20230824081236-b25a3da9-nightly",
"@blocksuite/lit": "0.0.0-20230824205952-3df3727b-nightly",
"@blocksuite/store": "0.0.0-20230824205952-3df3727b-nightly",
"chromatic": "^6.22.0",
"react": "18.2.0",
"react-dom": "18.2.0",

View File

@@ -125,3 +125,34 @@ SearchPage.parameters = {
},
}),
};
export const ImportPage: StoryFn = () => {
return <FakeApp />;
};
ImportPage.play = async ({ canvasElement }) => {
const canvas = within(canvasElement);
await waitFor(() => {
assertExists(canvasElement.querySelector('v-line'));
});
await waitFor(() => {
assertExists(
canvasElement.querySelector('[data-testid="header-dropDownButton"]')
);
});
await userEvent.click(canvas.getByTestId('header-dropDownButton'));
await waitFor(() => {
assertExists(
canvasElement.querySelector('[data-testid="editor-option-menu-import"]')
);
});
await userEvent.click(canvas.getByTestId('editor-option-menu-import'));
};
ImportPage.decorators = [withRouter];
ImportPage.parameters = {
reactRouter: reactRouterParameters({
routing: reactRouterOutlets(routes),
location: {
path: '/',
},
}),
};