File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
packages/cypress-commands Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- import { CommandsAndQueries } from ' ./CommandsAndQueries.tsx ' ;
1
+ import { Footer , TableOfContent } from ' @sb/components ' ;
2
2
import { Meta } from ' @storybook/addon-docs' ;
3
3
import API from ' ./api.json' ;
4
- import { Footer , TableOfContent } from ' @sb/components ' ;
4
+ import { CommandsAndQueries } from ' ./CommandsAndQueries.tsx ' ;
5
5
6
6
<Meta title = " Commands" />
7
7
@@ -11,6 +11,8 @@ import { Footer, TableOfContent } from '@sb/components';
11
11
12
12
Here you can find all available Commands of the ` @ui5/webcomponents-cypress-commands ` package.
13
13
14
- <CommandsAndQueries api = { API .children [1 ].children [0 ].children [0 ].children } />
14
+ <CommandsAndQueries
15
+ api = { API .children .find ((file ) => file .name === ' src/commands' )?.children ?.[0 ]?.children ?.[0 ]?.children ?? []}
16
+ />
15
17
16
18
<Footer />
Original file line number Diff line number Diff line change 1
- import { CommandsAndQueries } from ' ./CommandsAndQueries.tsx ' ;
1
+ import { Footer , TableOfContent } from ' @sb/components ' ;
2
2
import { Meta } from ' @storybook/addon-docs' ;
3
3
import API from ' ./api.json' ;
4
- import { Footer , TableOfContent } from ' @sb/components ' ;
4
+ import { CommandsAndQueries } from ' ./CommandsAndQueries.tsx ' ;
5
5
6
6
<Meta title = " Queries" />
7
7
@@ -11,6 +11,8 @@ import { Footer, TableOfContent } from '@sb/components';
11
11
12
12
Here you can find all available Queries of the ` @ui5/webcomponents-cypress-commands ` package.
13
13
14
- <CommandsAndQueries api = { API .children [2 ].children [0 ].children [0 ].children } />
14
+ <CommandsAndQueries
15
+ api = { API .children .find ((file ) => file .name === ' src/queries' )?.children ?.[0 ]?.children ?.[0 ]?.children ?? []}
16
+ />
15
17
16
18
<Footer />
You can’t perform that action at this time.
0 commit comments