Update insertion_wizard_spec for comments.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I8339b943f79a0e0c039dda89d1fa3553a1cee6b7
This commit is contained in:
Gökay Şatır 2021-06-10 22:14:23 +03:00 committed by Gökay ŞATIR
parent 41a66129e5
commit f256b81268

View file

@ -75,21 +75,16 @@ describe('Impress insertion wizard.', function() {
.click();
// Comment insertion dialog is opened
cy.get('.loleaflet-annotation-table')
.should('exist');
cy.get('#comment-container-new').should('exist');
// Add some comment
cy.get('.loleaflet-annotation-textarea')
.type('some text');
cy.get('#new-mobile-comment-input-area').type('some text');
cy.get('.vex-dialog-button-primary')
.click();
cy.get('.vex-dialog-button-primary').click();
cy.get('.wizard-comment-box.loleaflet-annotation-content-wrapper')
.should('exist');
cy.get('#comment-container-1').should('exist');
cy.get('.wizard-comment-box .loleaflet-annotation-content')
.should('have.text', 'some text');
cy.get('#annotation-content-area-1').should('have.text', 'some text');
});
it('Insert default table.', function() {