Skip to content

Commit

Permalink
fix(e2e): adjust e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
N1XUS committed Jul 21, 2022
1 parent 3c2f47f commit c693905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/wdio/core/pages/dynamic-page.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class DynamicPagePo extends CoreBaseComponentPo {
flexibleColumn = '.fd-flexible-column-layout__column ';
article = '.fd-dynamic-page-section-example';
breadcrumbLink = '.fd-dynamic-page__breadcrumb-wrapper a';
currentBreadcrumbLink = '.fd-dynamic-page__breadcrumb-wrapper fd-breadcrumb-item:last-child span';
currentBreadcrumbLink = '.fd-dynamic-page__breadcrumb-wrapper .fd-overflow-layout__item--last span';

open(): void {
super.open(this.url);
Expand Down
2 changes: 1 addition & 1 deletion libs/core/src/lib/breadcrumb/breadcrumb.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</li>
</ng-container>
</fd-menu>
<span class="fd-breadcrumb__item" *ngIf="_items.length" [fdMenuTrigger]="menu">
<span class="fd-breadcrumb__item" *ngIf="breadcrumbs.length > 0" [fdMenuTrigger]="menu">
<a
fd-link
tabindex="0"
Expand Down

0 comments on commit c693905

Please sign in to comment.