mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 04:31:48 +08:00
Fix e2e tests
This commit is contained in:
parent
4f5351151c
commit
a1860c02d5
@ -21,7 +21,7 @@ test.describe('Svelte', () => {
|
||||
test('Story have a documentation', async ({ page }) => {
|
||||
const sbPage = new SbPage(page);
|
||||
|
||||
sbPage.navigateToStory('example/button', 'docs');
|
||||
await sbPage.navigateToStory('example/button', 'docs');
|
||||
const root = sbPage.previewRoot();
|
||||
const argsTable = root.locator('.docblock-argstable');
|
||||
await expect(argsTable).toContainText('Is this the principal call to action on the page');
|
||||
|
Loading…
x
Reference in New Issue
Block a user