[Libreoffice-commits] online.git: cypress_test/integration_tests
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Fri Mar 6 14:44:38 UTC 2020
cypress_test/integration_tests/mobile/writer/insert_object_spec.js | 13 ++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
New commits:
commit b1b566c79f936807c9c56f050769e72bc50181cd
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Mar 6 15:12:34 2020 +0100
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Mar 6 15:44:20 2020 +0100
cypress: mobile: extend test of comment insertion.
Change-Id: Idb8539a353e884206b7e7b4885b60fa706f81d10
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90111
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cypress_test/integration_tests/mobile/writer/insert_object_spec.js b/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
index 431aabc5d..19e938fca 100644
--- a/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
+++ b/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
@@ -38,9 +38,18 @@ describe('Insert objects via insertion wizard.', function() {
cy.get('.loleaflet-annotation-table')
.should('exist');
- // Push cancel to close the dialog
- cy.get('.vex-dialog-button-secondary.vex-dialog-button.vex-last')
+ // Add some comment
+ cy.get('.loleaflet-annotation-textarea')
+ .type('some text');
+
+ cy.get('.vex-dialog-button-primary')
.click();
+
+ cy.get('.loleaflet-annotation')
+ .should('exist');
+
+ cy.get('.loleaflet-annotation-content.loleaflet-dont-break')
+ .contains('some text');
});
it('Insert default table.', function() {
More information about the Libreoffice-commits
mailing list