diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-11-18 16:35:27 +0100 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2021-11-22 09:58:36 +0100 |
commit | 2c6846270e5e98c40f4086fa6973a802f5c7ec40 (patch) | |
tree | 0f808f796690a52af966b98a348be05eca991100 /cypress_test/integration_tests | |
parent | Comments: make textarea re-sizable again (diff) | |
download | online-2c6846270e5e98c40f4086fa6973a802f5c7ec40.tar.gz online-2c6846270e5e98c40f4086fa6973a802f5c7ec40.zip |
Hyperlink dialog: use textarea to handle line breaks
Related to:
https://github.com/CollaboraOnline/online/issues/3645
When we select text with multiple lines - line break
is ignered in the result. Paragraphs will be concatenated.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia7545bbee334a44517c416260f3dd911e0ae8eec
Diffstat (limited to 'cypress_test/integration_tests')
3 files changed, 4 insertions, 4 deletions
diff --git a/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js b/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js index ca8d329579..debbcc7707 100644 --- a/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js +++ b/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js @@ -66,7 +66,7 @@ describe('Calc insertion wizard.', function() { .should('exist'); // Type text and link - cy.get('.vex-content.hyperlink-dialog input[name="text"]') + cy.get('.vex-content.hyperlink-dialog textarea[name="text"]') .clear() .type('some text'); cy.get('.vex-content.hyperlink-dialog input[name="link"]') diff --git a/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js b/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js index 59148cb6bb..8dce6fa585 100644 --- a/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js +++ b/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js @@ -156,7 +156,7 @@ describe('Impress insertion wizard.', function() { .should('exist'); // Type text and link - cy.get('.vex-content.hyperlink-dialog input[name="text"]') + cy.get('.vex-content.hyperlink-dialog textarea[name="text"]') .type('some text'); cy.get('.vex-content.hyperlink-dialog input[name="link"]') .type('www.something.com'); @@ -353,7 +353,7 @@ describe('Impress insertion wizard.', function() { .should('exist'); // Type text and link - cy.get('.vex-content.hyperlink-dialog input[name="text"]') + cy.get('.vex-content.hyperlink-dialog textarea[name="text"]') .type('some text'); cy.get('.vex-content.hyperlink-dialog input[name="link"]') .type('www.something.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 799f60c917..37b44f3ddd 100644 --- a/cypress_test/integration_tests/mobile/writer/insert_object_spec.js +++ b/cypress_test/integration_tests/mobile/writer/insert_object_spec.js @@ -279,7 +279,7 @@ describe('Insert objects via insertion wizard.', function() { .should('exist'); // Type text and link - cy.get('.vex-content.hyperlink-dialog input[name="text"]') + cy.get('.vex-content.hyperlink-dialog textarea[name="text"]') .type('some text'); cy.get('.vex-content.hyperlink-dialog input[name="link"]') .type('www.something.com'); |