Writer mobile: Update insert object test for comments.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I984455562491cd64234f2e06d4940503ae287a15
This commit is contained in:
Gökay Şatır 2021-06-10 21:08:51 +03:00 committed by Gökay ŞATIR
parent 6802a7d9e1
commit 6872f4d991

View file

@ -39,21 +39,16 @@ describe('Insert objects via insertion wizard.', function() {
.click();
// Comment insertion dialog is opened
cy.get('.loleaflet-annotation-table')
.should('exist');
cy.get('.loleaflet-annotation-table').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() {