File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,19 @@ describe('Website Homepage', () => {
2
2
it ( 'Visit the Homepage' , ( ) => {
3
3
cy . visit ( '/' )
4
4
cy . viewport ( 1200 , 1200 )
5
+
6
+ // cy.getByData('homepage-carousel').should('be.visible')
7
+
8
+ cy . getByData ( 'featured-event-items' ) . should ( 'be.visible' )
9
+
10
+ cy . getByData ( 'quick-link-items' ) . should ( 'be.visible' )
11
+
12
+ cy . getByData ( 'featured-article' ) . should ( 'be.visible' )
13
+
14
+ cy . getByData ( 'featured-collection-items' ) . should ( 'be.visible' )
15
+
16
+ // cy.getByData('preservation-image-slider').should('be.visible')
17
+
5
18
cy . get ( '.footer-primary.ftva' ) . should ( 'be.visible' )
6
19
cy . get ( '.footer-links.ftva' ) . should ( 'be.visible' )
7
20
cy . get ( '.footer-sock.ftva' ) . should ( 'be.visible' )
@@ -20,6 +33,6 @@ describe('Website Homepage', () => {
20
33
// .should('have.attr', 'href', 'https://www.library.ucla.edu')
21
34
// NavPrimary
22
35
23
- // cy.percySnapshot({ widths: [768, 992, 1200] })
36
+ cy . percySnapshot ( { widths : [ 768 , 992 , 1200 ] } )
24
37
} )
25
38
} )
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ useHead({
161
161
class = " now-showing-items"
162
162
: items= " parsedNowShowing"
163
163
: grid- layout= " false"
164
+ data- test= " featured-event-items"
164
165
/ >
165
166
< / ScrollWrapper>
166
167
< / SectionWrapper>
@@ -198,6 +199,7 @@ useHead({
198
199
< SectionTeaserCard
199
200
: items= " parsedQuickLinks"
200
201
: grid- layout= " false"
202
+ data- test= " quick-link-items"
201
203
/ >
202
204
< / div>
203
205
< / SectionWrapper>
@@ -225,6 +227,7 @@ useHead({
225
227
button- text= " Continue Reading"
226
228
: button- url= " parsedArchiveBlogs.blogUri"
227
229
: cover- image= " parsedArchiveBlogs.image"
230
+ data- test= " featured-article"
228
231
/ >
229
232
< / SectionWrapper>
230
233
< SectionWrapper
@@ -250,6 +253,7 @@ useHead({
250
253
< SectionTeaserCard
251
254
: items= " parsedFeaturedCollections"
252
255
: grid- layout= " false"
256
+ data- test= " featured-collection-items"
253
257
/ >
254
258
< / ScrollWrapper>
255
259
< / SectionWrapper>
@@ -429,7 +433,7 @@ main {
429
433
margin- bottom: 40px ;
430
434
}
431
435
432
- : deep (.rich - text .summary ) {
436
+ : deep (.rich - text .section - summary ) {
433
437
max- width: 100 % ;
434
438
}
435
439
You can’t perform that action at this time.
0 commit comments