Skip to content

Commit

Permalink
Updated cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CGoodwin90 committed Feb 20, 2025
1 parent 1e2a904 commit 9f0bec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/general/navigation.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Navigation tests', () => {

navigation.getLinkElement('account').click();

const redirect = `${Cypress.env('keycloak')}/realms/lagoon/account/`;
const redirect = `${Cypress.env('keycloak')}/realms/lagoon/account`;
cy.origin(redirect, { args: { redirect } }, ({ redirect }) => {
cy.location().should(loc => {
expect(loc.toString()).to.eq(redirect);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Breadcrumbs/Breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const Breadcrumb: FC<BreadcrumbProps> = ({ header, title, urlObject, asPath, loa
Copied
</span>
<CopyToClipboard
data-cy="copyButton"
data-cy="copyButtonBreadcrumb"
text={title}
onCopy={() => {
setCopied(true);
Expand Down

0 comments on commit 9f0bec8

Please sign in to comment.