@@ -92,15 +92,15 @@ describe('See shared folder with link share', function() {
9292 it ( 'Does see next navigation arrows' , function ( ) {
9393 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 2 )
9494 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.attr' , 'src' )
95- cy . get ( 'body > .viewer a .next' ) . should ( 'be.visible' )
96- cy . get ( 'body > .viewer a .next' ) . should ( 'be.visible' )
95+ cy . get ( 'body > .viewer button .next' ) . should ( 'be.visible' )
96+ cy . get ( 'body > .viewer button .next' ) . should ( 'be.visible' )
9797 } )
9898
9999 it ( 'Show image2 on next' , function ( ) {
100- cy . get ( 'body > .viewer a .next' ) . click ( )
100+ cy . get ( 'body > .viewer button .next' ) . click ( )
101101 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 3 )
102- cy . get ( 'body > .viewer a .prev' ) . should ( 'be.visible' )
103- cy . get ( 'body > .viewer a .next' ) . should ( 'be.visible' )
102+ cy . get ( 'body > .viewer button .prev' ) . should ( 'be.visible' )
103+ cy . get ( 'body > .viewer button .next' ) . should ( 'be.visible' )
104104 } )
105105
106106 it ( 'Does not see a loading animation' , function ( ) {
@@ -111,10 +111,10 @@ describe('See shared folder with link share', function() {
111111 } )
112112
113113 it ( 'Show image3 on next' , function ( ) {
114- cy . get ( 'body > .viewer a .next' ) . click ( )
114+ cy . get ( 'body > .viewer button .next' ) . click ( )
115115 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 3 )
116- cy . get ( 'body > .viewer a .prev' ) . should ( 'be.visible' )
117- cy . get ( 'body > .viewer a .next' ) . should ( 'be.visible' )
116+ cy . get ( 'body > .viewer button .prev' ) . should ( 'be.visible' )
117+ cy . get ( 'body > .viewer button .next' ) . should ( 'be.visible' )
118118 } )
119119
120120 it ( 'Does not see a loading animation' , function ( ) {
@@ -125,10 +125,10 @@ describe('See shared folder with link share', function() {
125125 } )
126126
127127 it ( 'Show image4 on next' , function ( ) {
128- cy . get ( 'body > .viewer a .next' ) . click ( )
128+ cy . get ( 'body > .viewer button .next' ) . click ( )
129129 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 2 )
130- cy . get ( 'body > .viewer a .prev' ) . should ( 'be.visible' )
131- cy . get ( 'body > .viewer a .next' ) . should ( 'be.visible' )
130+ cy . get ( 'body > .viewer button .prev' ) . should ( 'be.visible' )
131+ cy . get ( 'body > .viewer button .next' ) . should ( 'be.visible' )
132132 } )
133133
134134 it ( 'Does not see a loading animation' , function ( ) {
@@ -139,12 +139,12 @@ describe('See shared folder with link share', function() {
139139 } )
140140
141141 it ( 'Show video1 on next' , function ( ) {
142- cy . get ( 'body > .viewer a .next' ) . click ( )
142+ cy . get ( 'body > .viewer button .next' ) . click ( )
143143 // only 2 because we don't know if we're at the end of the slideshow, current vid and prev img
144144 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 1 )
145145 cy . get ( 'body > .viewer .modal-container video' ) . should ( 'have.length' , 1 )
146- cy . get ( 'body > .viewer a .prev' ) . should ( 'be.visible' )
147- cy . get ( 'body > .viewer a .next' ) . should ( 'be.visible' )
146+ cy . get ( 'body > .viewer button .prev' ) . should ( 'be.visible' )
147+ cy . get ( 'body > .viewer button .next' ) . should ( 'be.visible' )
148148 cy . get ( 'body > .viewer .modal-title' ) . should ( 'contain' , 'video1.mp4' )
149149 } )
150150
@@ -156,10 +156,10 @@ describe('See shared folder with link share', function() {
156156 } )
157157
158158 it ( 'Show image1 again on next' , function ( ) {
159- cy . get ( 'body > .viewer a .next' ) . click ( )
159+ cy . get ( 'body > .viewer button .next' ) . click ( )
160160 cy . get ( 'body > .viewer .modal-container img' ) . should ( 'have.length' , 2 )
161- cy . get ( 'body > .viewer a .prev' ) . should ( 'be.visible' )
162- cy . get ( 'body > .viewer a .next' ) . should ( 'be.visible' )
161+ cy . get ( 'body > .viewer button .prev' ) . should ( 'be.visible' )
162+ cy . get ( 'body > .viewer button .next' ) . should ( 'be.visible' )
163163 } )
164164
165165 it ( 'Does not see a loading animation' , function ( ) {
0 commit comments