Skip to content

Commit 72de088

Browse files
committed
2037: Added test guides for the rest of the templates
1 parent 0c2f0a0 commit 72de088

File tree

3 files changed

+91
-8
lines changed

3 files changed

+91
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ nav_order: 5
66

77
# Changelog
88

9+
## 2024-09-04
10+
11+
* Added test guides for the remaining templates.
12+
913
## 2024-08-14
1014

1115
- Added testing guide to docs: [https://os2display.github.io/display-docs/content_structure/test_guide.html](https://os2display.github.io/display-docs/content_structure/test_guide.html).

assets/templates/rejseplanen.png

519 KB
Loading

content_structure/test_guide.md

+87-8
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ have been added to the installation.
100100
### Steps
101101

102102
* "Anmeldelse" (expected result [anmeldelse.png](../assets/templates/anmeldelse.png))
103+
* `Use Case: Show a review of book, film, etc.`
103104
* Navigate to `/admin/slide/create`.
104105
* Fill "Slidets navn".
105106
* Select "Anmeldelse" from "Vælg en skabelon til dit slide".
@@ -109,6 +110,7 @@ have been added to the installation.
109110
* Upload an image under "Billede".
110111
* Click "Gem slide"
111112
* "Billede og tekst" (expected result [billede-og-tekst.png](../assets/templates/billede-og-tekst.png))
113+
* `Use Case: Show image(s) and/or text.`
112114
* Navigate to `/admin/slide/create`.
113115
* Fill "Slidets navn".
114116
* Select "Billede og tekst" from "Vælg en skabelon til dit slide".
@@ -121,13 +123,15 @@ have been added to the installation.
121123
* NB! The settings regarding logo are dependent on setting a theme with a theme logo. This will be tested in T4.
122124
* Click "Gem slide".
123125
* "Iframe" (expected result [iframe.png](../assets/templates/iframe.png))
126+
* `Use Case: Show content from an external url.`
124127
* Navigate to `/admin/slide/create`.
125128
* Fill "Slidets navn".
126129
* Select "Iframe" from "Vælg en skabelon til dit slide".
127130
* Fill "URL til iframe". E.g. https://www.os2.eu/.
128131
* Open the preview and see that the webpage pointed to is shown in the slide.
129132
* Click "Gem slide".
130133
* "Instagram feed"
134+
* `Use Case: Show data from an instagram feed.`
131135
* NB! This guide assumes that a feed source supplying "instagram" data being installed for the selected tenant.
132136
* NB! The feed will not supply data until after the slide has been saved, so it cannot be previewed before saving the
133137
slide.
@@ -139,6 +143,7 @@ have been added to the installation.
139143
* Fill "Hashtag-tekst".
140144
* Click "Gem slide".
141145
* "Kalender"
146+
* `Use Case: Show calendar events in different layouts.`
142147
* NB! This guide assumes that a feed source supplying "calendar" data has been installed for the selected tenant.
143148
* NB! The feed will not supply data until after the slide has been saved, so it cannot be previewed before saving the
144149
slide.
@@ -153,19 +158,93 @@ have been added to the installation.
153158
* Open the slide again.
154159
* Test different layouts and settings. See the effects in the preview.
155160
* "Kontakter"
156-
* TODO
161+
* `Use Case: Display a list of people available for contact.`
162+
* Navigate to `/admin/slide/create`.
163+
* Fill "Slidets navn".
164+
* Select "Kontakter" from "Vælg en skabelon til dit slide".
165+
* Click "Tilføj kontakt"
166+
* Add an image.
167+
* Fill the fields: "Titel", "Navn", "Telefonnummer", "E-mail".
168+
* Add a few more contacts.
169+
* Save the slide.
170+
* See that the data is displayed correctly.
157171
* "Plakat"
158-
* TODO
159-
* "Rejseplanen"
160-
* TODO
172+
* `Use Case: Display a poster for an event`
173+
* NB! This guide assumes that a feed source supplying "poster" data has been installed for the selected tenant.
174+
* The slide can be configured to show a single occurrence of an event, or subscribe to events for given selections.
175+
* Navigate to `/admin/slide/create`.
176+
* Fill "Slidets navn".
177+
* Select "Plakat" from "Vælg en skabelon til dit slide".
178+
* Select the data source.
179+
* Click "Enkelt" in "Vælg visningstype".
180+
* Search for an event.
181+
* Click the event.
182+
* If more than one occurrence appears, select one of them.
183+
* Save the slide.
184+
* See that the event is displayed.
185+
* Try to override the different fields with "Vis overskrivningsmuligheder".
186+
* Create a new "Plakat" slide.
187+
* Click "Abonnement" in "Vælg visningstype".
188+
* Test the different filters. Find a case where multiple events appear.
189+
* Save the slide.
190+
* See that the expected events are shown in the slide.
191+
* "Rejseplanen" (expected result [rejseplanen.png](../assets/templates/rejseplanen.png))
192+
* `Use Case: Show which public transportation is available from a given location with rejseplanen.dk.`
193+
* NB! This guide assumes that the admin has been configured with a valid rejseplanen api key. See example config:
194+
https://github.com/os2display/display-admin-client/blob/develop/public/example_config.json#L4
195+
* NB! The part that displays departures is an iframe from rejseplanen from the stops selected.
196+
* Navigate to `/admin/slide/create`.
197+
* Fill "Slidets navn".
198+
* Select "Rejseplanen" from "Vælg en skabelon til dit slide".
199+
* Fill the different text fields.
200+
* Add a map of how to get to the stop.
201+
* Find a stop with "Vælg stoppested".
202+
* Fill "Antal afgange der skal vises" and "Er det valgte stoppested bus eller letbane".
203+
* Save the slide.
204+
* See that the slide displays the expected content.
161205
* "RSS"
162-
* TODO
206+
* `Use Case: Display latest news from an RSS feed.`
207+
* NB! This guide assumes that a feed source supplying "rss" data has been installed for the selected tenant.
208+
* Navigate to `/admin/slide/create`.
209+
* Fill "Slidets navn".
210+
* Select "Rss" from "Vælg en skabelon til dit slide".
211+
* Select the data source from the dropdown.
212+
* Fill an rss feed url into "Kilde". E.g. https://www.dr.dk/nyheder/service/feeds/senestenyt
213+
* Fill 5 into "Antal indgange" and "Varighed pr. indgang".
214+
* Select a background image and a text size.
215+
* Save the slide.
216+
* See that data is displayed in the slide.
163217
* "Slideshow"
164-
* TODO
218+
* `Use Case: Display multiple images after each other with transitions between.`
219+
* Navigate to `/admin/slide/create`.
220+
* Fill "Slidets navn".
221+
* Select "Slideshow" from "Vælg en skabelon til dit slide".
222+
* Upload multiple images.
223+
* Select "Varighed pr. billede".
224+
* Choose "Zoom mod midten" from "Vælg animation".
225+
* Choose "Cross fade" from "Vælg overgang".
226+
* Save the slide.
227+
* See that the expected result is displayed in the slide.
228+
* Experiment with different animations and transitions.
165229
* "Tabel"
166-
* TODO
230+
* `Use Case: Display tabel data, which is manually created or supplied by an API endpoint.`
231+
* Navigate to `/admin/slide/create`.
232+
* Fill "Slidets navn".
233+
* Select "Tabel" from "Vælg en skabelon til dit slide".
234+
* Create multiple columns and rows with the tool under "Indtast tabeldata".
235+
* See that the data is presented correctly.
167236
* "Video"
168-
* TODO
237+
* `Use Case: Show an uploaded video.`
238+
* NB! For the video to autoplay with sound the browser has to be configured to allow this.
239+
See https://developer.chrome.com/blog/autoplay.
240+
* Navigate to `/admin/slide/create`.
241+
* Fill "Slidets navn".
242+
* Select "Video" from "Vælg en skabelon til dit slide".
243+
* Upload a video.
244+
* Save the slide.
245+
* See that the video is played back without sound.
246+
* Activate "Afspil lyd" and save.
247+
* See that the video is played back with sound.
169248
* Follow the steps from T1 for adding the slides to a playlist and screen.
170249
* See that the templates display correctly.
171250

0 commit comments

Comments
 (0)