summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-05-10 11:11:33 +0200
committerSzymon Kłos <eszkadev@gmail.com>2023-05-15 07:55:22 +0200
commitafbf052bb5d1f9b74389c068552c40878301aa43 (patch)
tree70696b67083702db682986b088ac8338b788e3ee /cypress_test/integration_tests/desktop
parentjsdialog: fix jumping ans dragging Page Style dialog (diff)
downloadonline-afbf052bb5d1f9b74389c068552c40878301aa43.tar.gz
online-afbf052bb5d1f9b74389c068552c40878301aa43.zip
jsdialog: use minial size of a dialog needed
Use 'position: absolute' in jsdialog-window and jsdialog-container so we don't stretch the dialog. It will use minimal needed size. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I7b38b9200e190cfc184bf4bfe8b7bd814c60d5a6
Diffstat (limited to 'cypress_test/integration_tests/desktop')
-rw-r--r--cypress_test/integration_tests/desktop/impress/sidebar_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress_test/integration_tests/desktop/impress/sidebar_spec.js b/cypress_test/integration_tests/desktop/impress/sidebar_spec.js
index fe0ecbccdf..8894072a8c 100644
--- a/cypress_test/integration_tests/desktop/impress/sidebar_spec.js
+++ b/cypress_test/integration_tests/desktop/impress/sidebar_spec.js
@@ -32,7 +32,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Sidebar Tests', function()
cy.cGet('#fillattr3').should('be.visible');
helper.waitUntilIdle('#fillattr2');
cy.cGet('#fillattr2').click();
- cy.cGet('.modalpopup').should('be.visible');
+ cy.cGet('.modalpopup .jsdialog-container').should('be.visible');
cy.cGet('#colorset').should('be.visible');
});
@@ -42,7 +42,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Sidebar Tests', function()
impressHelper.selectTextOfShape();
cy.cGet('#layoutvalueset').should('not.be.visible');
cy.cGet('#Underline .arrowbackground').click();
- cy.cGet('.modalpopup').should('be.visible');
+ cy.cGet('.modalpopup .jsdialog-container').should('be.visible');
cy.cGet('#single').click();
impressHelper.triggerNewSVGForShapeInTheCenter();
cy.cGet('.leaflet-pane.leaflet-overlay-pane g.Page .TextParagraph')