File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
tests/cypress/integration Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ describe('ImageKit React SDK', () => {
55 it ( 'should have empty src before reaching lazyload threshold' , ( ) => {
66 cy . visit ( APP_HOST ) ;
77
8- cy . get ( ' .lazyload' ) . should ( ' have.attr' , ' src' ) . and ( 'equal' , '' ) ;
8+ cy . get ( " .lazyload" ) . should ( "not. have.attr" , " src" ) ;
99 } ) ;
1010
1111 it ( 'should have actual src after reaching lazyload threshold' , ( ) => {
@@ -25,9 +25,7 @@ describe('ImageKit React SDK', () => {
2525 it ( 'should have lqip src before reaching threshold' , ( ) => {
2626 cy . visit ( APP_HOST ) ;
2727
28- cy . get ( '.lazyload-lqip' )
29- . should ( 'have.attr' , 'src' )
30- . and ( 'include' , '' ) ;
28+ cy . get ( ".lazyload-lqip" ) . should ( "not.have.attr" , "src" ) ;
3129 } ) ;
3230
3331 it ( 'should have actual src after reaching element' , ( ) => {
You can’t perform that action at this time.
0 commit comments