Skip to content

Commit

Permalink
change id name for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
J0taFerreira committed Jan 24, 2024
1 parent 0a7d0e1 commit 10500f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/grantaccess/UserIdentityCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ const props = defineProps<{
<Card class="custom-card">
<template #header>
<Icon
id="checkmark-Icon"
id="checkmarkIcon"
icon="checkmark--filled"
:size="IconSize.small"
v-if="props.userIdentity.found"
/>
<Icon
id="error-Icon"
id="errorIcon"
class="custom-carbon-icon-error--filled"
icon="error--filled"
:size="IconSize.small"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/tests/UserIdentityCard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ describe('UserIdentityCard', () => {
firstNameEl = firstName.element as HTMLSpanElement;
lastName = wrapper.find('#lastName');
lastNameEl = lastName.element as HTMLSpanElement;
checkmarkIcon = wrapper.find('#checkmark-Icon');
errorIcon = wrapper.find('#error-icon');
checkmarkIcon = wrapper.find('#checkmarkIcon');
errorIcon = wrapper.find('#errorIcon');
});

it('Should show correct info on card based on props', () => {
Expand Down

0 comments on commit 10500f4

Please sign in to comment.