From cf780347f503677c6fd0cd86fbbf33302fa6a912 Mon Sep 17 00:00:00 2001 From: Tim Yao <31641325+tim-yao@users.noreply.github.com> Date: Fri, 10 Jan 2020 16:30:56 +1100 Subject: [PATCH] [SDPA-3652] Fixed issue by adding missing dependency (#623) --- .../core-modules/publication/publication.feature | 13 +++++++++++-- .../Publication/PublicationAuthorInformation.vue | 2 +- .../components/Organisms/Publication/package.json | 3 ++- yarn.lock | 5 +++++ 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/examples/vic-gov-au/test/e2e/integration/core-modules/publication/publication.feature b/examples/vic-gov-au/test/e2e/integration/core-modules/publication/publication.feature index f9c0a640b..a89160aab 100644 --- a/examples/vic-gov-au/test/e2e/integration/core-modules/publication/publication.feature +++ b/examples/vic-gov-au/test/e2e/integration/core-modules/publication/publication.feature @@ -1,5 +1,14 @@ Feature: Publication + + As a citizen I can view information for all available content on an publication page + Scenario: Publication page + Given I visit the page "/demo-publication" + Then there should be a description list with the following items: + | term | value | + | Author | Demo Department | + | Date | July 2019 | + @focus Scenario: Print all publication pages Given the "/demo-publication" route exists @@ -18,7 +27,7 @@ Feature: Publication And there should be a description list with the following items: | term | value | | Author | Lorem ipsum dolor sit amet, Nulla ultricies dignissim, Integer interdum nisl | - | Date | July 2019 | + | Date | July 2019 | And the anchor links component should exist And the anchor link title should be "On this page:" And there should be the following anchor links: @@ -30,5 +39,5 @@ Feature: Publication | Demo Publication - Chapter 2 - Page 1 | demo-publication-chapter-2-page-1 | | Demo Publication - Chapter 2 - Page 2 | demo-publication-chapter-2-page-2 | | Demo Publication - Chapter 2 - Page 3 | demo-publication-chapter-2-page-3 | - | Demo Publication - Chapter 3 | demo-publication-chapter-3 | | + | Demo Publication - Chapter 3 | demo-publication-chapter-3 | And the contact component should exist diff --git a/packages/components/Organisms/Publication/PublicationAuthorInformation.vue b/packages/components/Organisms/Publication/PublicationAuthorInformation.vue index 7930e260b..2da27fc38 100644 --- a/packages/components/Organisms/Publication/PublicationAuthorInformation.vue +++ b/packages/components/Organisms/Publication/PublicationAuthorInformation.vue @@ -5,6 +5,7 @@