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:
parent
6802a7d9e1
commit
6872f4d991
1 changed files with 5 additions and 10 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue