first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/// <reference types="Cypress" />
describe( 'Tests the funcnaliti of the widget image', () => {
it( 'Should not dispaly empty image', () => {
cy.addElementorPage().then( ( pageId ) => {
cy.addWidget( 'basic', 'image' ).then( ( colomeView ) => {
const columnId = colomeView.model.get( 'id' ),
widgetId = colomeView.model.get( 'elements' ).first().get( 'id' );
cy.get( '.elementor-control-media__replace' ).click( { force: true } );
cy.get( '#elementor-panel-saver-button-publish' ).click();
cy.wait( 100 );
cy.get( '#elementor-panel-saver-button-publish' ).click();
cy.get( '.elementor-button.elementor-button-success.elementor-disabled' ).should( 'exist' );
cy.visit( '/?p=' + pageId );
cy.get( '[data-id=' + widgetId + ']' ).should( 'not.exist' );
cy.get( '[data-id=' + columnId + ']' ).should( 'exist' );
} );
} );
} );
} );