diff --git a/examples/nuxt-app/test/features/landingpage/languages.feature b/examples/nuxt-app/test/features/landingpage/languages.feature index 9ff1308af..9a3c8ef44 100644 --- a/examples/nuxt-app/test/features/landingpage/languages.feature +++ b/examples/nuxt-app/test/features/landingpage/languages.feature @@ -23,6 +23,7 @@ Feature: Languages When I visit the page "/arabic-page" Then the section ".rpl-header" should be display "rtl" in "ar" with the font "Noto Kufi Arabic" And the section "#rpl-main" should be display "rtl" in "ar" with the font "Noto Kufi Arabic" + And the section ".rpl-breadcrumbs__item:last-child" should be display "rtl" in "ar" with the font "Noto Kufi Arabic" And the html language should be "ar" @mockserver @@ -31,4 +32,5 @@ Feature: Languages When I visit the page "/korean-page" Then the section ".rpl-header" should be display "ltr" in "ko" with the font "Noto Sans KR" And the section "#rpl-main" should be display "ltr" in "ko" with the font "Noto Sans KR" + And the section ".rpl-breadcrumbs__item:last-child" should be display "ltr" in "ko" with the font "Noto Sans KR" And the html language should be "ko" diff --git a/examples/nuxt-app/test/fixtures/landingpage/languages-ar.json b/examples/nuxt-app/test/fixtures/landingpage/languages-ar.json index 150f0b8f3..fbd12c3ce 100644 --- a/examples/nuxt-app/test/fixtures/landingpage/languages-ar.json +++ b/examples/nuxt-app/test/fixtures/landingpage/languages-ar.json @@ -1,5 +1,5 @@ { - "title": "Demo Landing Page", + "title": "مزايا رياض الأطفال", "changed": "2022-11-02T12:47:29+11:00", "created": "2022-11-02T12:47:29+11:00", "type": "landing_page", diff --git a/examples/nuxt-app/test/fixtures/landingpage/languages-ko.json b/examples/nuxt-app/test/fixtures/landingpage/languages-ko.json index 93c19b78c..c2ef4bcf7 100644 --- a/examples/nuxt-app/test/fixtures/landingpage/languages-ko.json +++ b/examples/nuxt-app/test/fixtures/landingpage/languages-ko.json @@ -1,5 +1,5 @@ { - "title": "Demo Landing Page", + "title": "지역 사회 서비스, 계약업체 청소 및 경비 산업의 빅토리아주", "changed": "2022-11-02T12:47:29+11:00", "created": "2022-11-02T12:47:29+11:00", "type": "landing_page", diff --git a/packages/nuxt-ripple/components/TideBreadcrumbs.vue b/packages/nuxt-ripple/components/TideBreadcrumbs.vue index 29425be05..1503296fb 100644 --- a/packages/nuxt-ripple/components/TideBreadcrumbs.vue +++ b/packages/nuxt-ripple/components/TideBreadcrumbs.vue @@ -4,11 +4,13 @@ :items="breadcrumbs" :besideQuickExit="besideQuickExit" data-cy="breadcrumbs" + :current-class="language" + :current-dir="direction" />