File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -281,11 +281,11 @@ export default {
281281 {{ $store .localize (provider .label ) }}
282282 < / p>
283283 < ul
284- v- if = " provider.homepage?.length"
284+ v- if = " provider.homepage?.length || provider.seeAlso?.length "
285285 class = " tify-list"
286286 >
287287 < li
288- v- for = " homepage in provider.homepage"
288+ v- for = " homepage in [... provider.homepage || [], ...provider.seeAlso || []] "
289289 : key= " homepage.id"
290290 >
291291 < a : href= " homepage.id" >
Original file line number Diff line number Diff line change 1+ describe ( 'IIIF Cookbook 0234: Provider' , ( ) => {
2+ it ( 'displays all provider information' , ( ) => {
3+ cy . visit (
4+ `/?manifest=${ Cypress . env ( 'iiifApiUrl' ) } /iiif-cookbook/0234-provider/manifest.json`
5+ + '&tify={"view":"info"}' ,
6+ ) ;
7+
8+ cy . contains (
9+ '.tify-info-section.-provider p' ,
10+ 'UCLA Library' ,
11+ ) ;
12+ cy . contains (
13+ '.tify-info-section.-provider a' ,
14+ 'UCLA Library Digital Collections' ,
15+ ) ;
16+ cy . contains (
17+ '.tify-info-section.-provider a[href$="n79055331.madsxml.xml"]' ,
18+ 'US Library of Congress data about the UCLA Library' ,
19+ ) ;
20+ } ) ;
21+ } ) ;
You can’t perform that action at this time.
0 commit comments