Skip to content

Commit

Permalink
Heading to a storybook might render in #docs-root now
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Jul 26, 2022
1 parent 1843e98 commit 3d9ec15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const visit = (route = '') => {
expect(element).not.null;

if (element !== null) {
expect(element.querySelector('#root > *')).not.null;
expect(element.querySelector('#root > *, #docs-root > *')).not.null;
}
});
});
Expand Down

0 comments on commit 3d9ec15

Please sign in to comment.