-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDPA-3114] Add print publication feature. (#543)
* [SDPA-3114] Add publication view all page - Fix anchorlink tests - Add print document links and functionality - update snapshots - CR changes and remove print button on printall page. - remove get assignment in mapping constructor - Use router afterEach hook to trigger print window - Fixed sort order of publication pages * [SDPA-3307][SDPA-3341][SDPA-3415] [SDPA-3435] print publication issue (#583) * [SDPA-3307] Updated print styles as required - Removed print hidden style for most of components - Updated heading style for publication print all - Fixed map print issue - Fixed card carousel print issue - Fixed page title print style - Added class for content type template container * [SDPA-3341] Added contect component to publication print * [SDPA-3415] Added publication content in print all * [SDPA-3435] Added intro text in publication print all
- Loading branch information
1 parent
d4b5990
commit 7a6859e
Showing
36 changed files
with
644 additions
and
71 deletions.
There are no files selected for viewing
35 changes: 32 additions & 3 deletions
35
examples/vic-gov-au/test/e2e/integration/core-modules/publication/publication.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,34 @@ | ||
Feature: Publication | ||
This test is not ready yet | ||
|
||
@skip | ||
Scenario: Test | ||
@focus | ||
Scenario: Print all publication pages | ||
Given the "/demo-publication" route exists | ||
Given the "/demo-publication/demo-publication-chapter-1" route exists | ||
Given the "/demo-publication/demo-publication-chapter-2" route exists | ||
Given the "/demo-publication/demo-publication-chapter-1/demo-publication-chapter-1-page-1" route exists | ||
When I visit the page "/demo-publication/print-all" | ||
Then the page title should be "Demo Publication" | ||
And the following section ids should exist: | ||
| section | | ||
| demo-publication-chapter-1 | | ||
| demo-publication-chapter-1-page-1 | | ||
| demo-publication-chapter-2 | | ||
| demo-publication-chapter-2-page-1 | | ||
And the author information component should exist | ||
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 | | ||
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: | ||
| text | link | | ||
| Demo Publication - Chapter 1 | demo-publication-chapter-1 | | ||
| Demo Publication - Chapter 1 - Page 1 | demo-publication-chapter-1-page-1 | | ||
| Demo Publication - Chapter 1 - Page 2 | demo-publication-chapter-1-page-2 | | ||
| Demo Publication - Chapter 2 | demo-publication-chapter-2 | | ||
| 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 | | | ||
And the contact component should exist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/create-ripple-app/template/_example/tide/modules/event/pages/index.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.