@@ -51,10 +51,6 @@ describe('See shared folder with link share', function() {
5151 cy . get ( '#fileList tr' ) . should ( 'contain' , 'Photos' )
5252 } )
5353
54- it ( 'Does not have any visual regression 1' , function ( ) {
55- // cy.matchImageSnapshot()
56- } )
57-
5854 it ( 'See shared files in the list' , function ( ) {
5955 cy . openFile ( 'Photos' )
6056 cy . get ( '#fileList tr[data-file="image1.jpg"]' , { timeout : 10000 } )
@@ -69,21 +65,13 @@ describe('See shared folder with link share', function() {
6965 . should ( 'contain' , 'video1.mp4' )
7066 } )
7167
72- it ( 'Does not have any visual regression 2' , function ( ) {
73- // cy.matchImageSnapshot()
74- } )
75-
7668 it ( 'Share the Photos folder with a share link and access the share link' , function ( ) {
7769 cy . createLinkShare ( '/Photos' ) . then ( token => {
7870 cy . logout ( )
7971 cy . visit ( `/s/${ token } ` )
8072 } )
8173 } )
8274
83- it ( 'Does not have any visual regression 3' , function ( ) {
84- // cy.matchImageSnapshot()
85- } )
86-
8775 it ( 'Open the viewer on file click' , function ( ) {
8876 cy . openFile ( 'image1.jpg' )
8977 cy . get ( 'body > .viewer' ) . should ( 'be.visible' )
@@ -108,10 +96,6 @@ describe('See shared folder with link share', function() {
10896 cy . get ( 'body > .viewer a.next' ) . should ( 'be.visible' )
10997 } )
11098
111- it ( 'Does not have any visual regression 4' , function ( ) {
112- // cy.matchImageSnapshot()
113- } )
114-
11599 it ( 'Show image2 on next' , function ( ) {
116100 cy . get ( 'body > .viewer a.next' ) . click ( )
117101 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 3 )
@@ -126,10 +110,6 @@ describe('See shared folder with link share', function() {
126110 . and ( 'not.have.class' , 'icon-loading' )
127111 } )
128112
129- it ( 'Does not have any visual regression 5' , function ( ) {
130- // cy.matchImageSnapshot()
131- } )
132-
133113 it ( 'Show image3 on next' , function ( ) {
134114 cy . get ( 'body > .viewer a.next' ) . click ( )
135115 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 3 )
@@ -144,10 +124,6 @@ describe('See shared folder with link share', function() {
144124 . and ( 'not.have.class' , 'icon-loading' )
145125 } )
146126
147- it ( 'Does not have any visual regression 6' , function ( ) {
148- // cy.matchImageSnapshot()
149- } )
150-
151127 it ( 'Show image4 on next' , function ( ) {
152128 cy . get ( 'body > .viewer a.next' ) . click ( )
153129 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 2 )
@@ -162,10 +138,6 @@ describe('See shared folder with link share', function() {
162138 . and ( 'not.have.class' , 'icon-loading' )
163139 } )
164140
165- it ( 'Does not have any visual regression 7' , function ( ) {
166- // cy.matchImageSnapshot()
167- } )
168-
169141 it ( 'Show video1 on next' , function ( ) {
170142 cy . get ( 'body > .viewer a.next' ) . click ( )
171143 // only 2 because we don't know if we're at the end of the slideshow, current vid and prev img
@@ -183,10 +155,6 @@ describe('See shared folder with link share', function() {
183155 . and ( 'not.have.class' , 'icon-loading' )
184156 } )
185157
186- it ( 'Does not have any visual regression 8' , function ( ) {
187- // cy.matchImageSnapshot()
188- } )
189-
190158 it ( 'Show image1 again on next' , function ( ) {
191159 cy . get ( 'body > .viewer a.next' ) . click ( )
192160 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 2 )
@@ -200,8 +168,4 @@ describe('See shared folder with link share', function() {
200168 . and ( 'have.class' , 'modal-mask' )
201169 . and ( 'not.have.class' , 'icon-loading' )
202170 } )
203-
204- it ( 'Does not have any visual regression 9' , function ( ) {
205- // cy.matchImageSnapshot()
206- } )
207171} )
0 commit comments