Skip to content

Commit

Permalink
#2490: test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-may committed May 8, 2024
1 parent 788af97 commit 72a0c96
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 3 deletions.
Expand Up @@ -68,9 +68,8 @@ const locked = computed(() => {
</a>
</template>
</Card>

<skills-progress-list
v-if="badge && !(skillsDisplayInfo.isGlobalBadgePage.value && !summaryAndSkillsState.subjectSummary?.skills)"
v-if="badge && !(skillsDisplayInfo.isGlobalBadgePage.value && !(summaryAndSkillsState.subjectSummary?.skills?.length > 0))"
:subject="badge"
type="badge"
class="mt-3"
Expand Down
Expand Up @@ -371,7 +371,7 @@ describe('Client Display Breadcrumb Tests', () => {
cy.get('[data-cy="skillsDisplayBreadcrumbBar"] [data-cy=breadcrumbLink-Overview]')
.should('have.attr', 'href');
cy.get('[data-cy=skillsDisplayBreadcrumbBar]')
.contains(new RegExp(/^Overview.*Subject:\s*subj1.*Skill:\s*skill3.*Dependency:\s*skill1$/))
.contains(new RegExp(/^Overview.*Subject:\s*subj1.*Skill:\s*skill3.*Prerequisite:\s*skill1$/))
.should('be.visible');
cy.get('[data-cy="skillsDisplayBreadcrumbBar"] [data-cy="breadcrumbItemValue"]')
.its('length')
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 72a0c96

Please sign in to comment.