diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-star-rating-number/product-star-rating-number.component.spec.ts b/marketplace-ui/src/app/modules/product/product-detail/product-star-rating-number/product-star-rating-number.component.spec.ts index ebe2f7f1..ab494ade 100644 --- a/marketplace-ui/src/app/modules/product/product-detail/product-star-rating-number/product-star-rating-number.component.spec.ts +++ b/marketplace-ui/src/app/modules/product/product-detail/product-star-rating-number/product-star-rating-number.component.spec.ts @@ -69,9 +69,11 @@ describe('ProductStarRatingNumberComponent', () => { const reviewNumber = fixture.debugElement.query(By.css('.total-rating-number')).nativeElement; const totalComments = fixture.debugElement.query(By.css('h4.d-inline-block')).nativeElement; const starRatingComponent = fixture.debugElement.query(By.directive(StarRatingComponent)); + const reviewLabel = fixture.debugElement.query(By.css('.text-secondary.review-label-detail-page')).nativeElement; expect(reviewNumber.textContent).toContain('4.5'); expect(totalComments.textContent).toContain('(10)'); + expect(reviewLabel.textContent).toContain('common.feedback.reviewLabel'); expect(starRatingComponent).toBeTruthy(); }); }); diff --git a/marketplace-ui/src/assets/i18n/de.yaml b/marketplace-ui/src/assets/i18n/de.yaml index 4722815b..47f60b06 100644 --- a/marketplace-ui/src/assets/i18n/de.yaml +++ b/marketplace-ui/src/assets/i18n/de.yaml @@ -112,7 +112,7 @@ common: commentLabel: Einen Kommentar abgeben submitBtnLabel: Bewertung abgeben loggedGithubAsLabel: Eingeloggt bei Github als - reviewLabel: Überprüfung + reviewLabel: Bewertung detailedReviews: Ausführliche Bewertungen showMoreBtnLabel: Mehr anzeigen noFeedbackForConnectorLabel: Zu diesem Konnektor gibt's noch kein Feedback.