Skip to content

Commit 8844cb5

Browse files
committed
fixed-the-test-issue
1 parent 41029df commit 8844cb5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cypress/components/DocsHelp.cy.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,5 +262,12 @@ describe('DocsHelp Component', () => {
262262
expectedGitRedirect,
263263
);
264264
});
265+
const customLink = 'https://example.com/custom-docs';
266+
cy.mount(<DocsHelp fileRenderType={customLink} />);
267+
cy.get('[data-test="edit-on-github-link"]').should(
268+
'have.attr',
269+
'href',
270+
customLink,
271+
);
265272
});
266273
});

0 commit comments

Comments
 (0)