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 b4bb909 commit 23a2c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/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 23a2c7c

Please sign in to comment.