diff --git a/functionalTests/designer/page-navigator.ts b/functionalTests/designer/page-navigator.ts index 9320fcadf0..4444b2ca1b 100644 --- a/functionalTests/designer/page-navigator.ts +++ b/functionalTests/designer/page-navigator.ts @@ -61,8 +61,8 @@ test("Check page navigator track scrolling", async (t) => { await t .expect(Selector(firstPageNavigatorItem).exists).ok() .expect(Selector(lastPageNavigatorItem).exists).notOk() - .scroll(Selector(".svc-tab-designer--with-page-navigator .svc-scroll__scroller"), "bottomRight") - .scroll(Selector(".svc-tab-designer--with-page-navigator .svc-scroll__scroller"), "bottomRight") + .scroll(Selector(".svc-tab-designer--with-surface-tools .svc-scroll__scroller"), "bottomRight") + .scroll(Selector(".svc-tab-designer--with-surface-tools .svc-scroll__scroller"), "bottomRight") .expect(Selector(firstPageNavigatorItem).exists).notOk() .expect(Selector(lastPageNavigatorItem).exists).ok(); }); diff --git a/functionalTests/designer/surface.ts b/functionalTests/designer/surface.ts index 8adf35c362..d80e06a082 100644 --- a/functionalTests/designer/surface.ts +++ b/functionalTests/designer/surface.ts @@ -369,8 +369,10 @@ test("Collapse all and expand all toolbar visibility", async (t) => { window["creator"].expandCollapseButtonVisibility = "never"; })(); await setJSON(json); - await t.expect(Selector("#collapseAll").exists).notOk(); - await t.expect(Selector("#expandAll").exists).notOk(); + await t.expect(Selector("#collapseAll").exists).ok(); + await t.expect(Selector("#collapseAll").visible).notOk(); + await t.expect(Selector("#expandAll").exists).ok(); + await t.expect(Selector("#expandAll").visible).notOk(); }); test("Check page adorner state is restored after shrink and stretch", async (t) => { await t.resizeWindow(1920, 1080); diff --git a/functionalTests/designer/survey-width.ts b/functionalTests/designer/survey-width.ts index bf117f0317..2b35187eab 100644 --- a/functionalTests/designer/survey-width.ts +++ b/functionalTests/designer/survey-width.ts @@ -1,6 +1,6 @@ import { url, setJSON, getJSON, getToolboxItemByText } from "../helper"; import { Selector } from "testcafe"; -const title = "Property Grid"; +const title = "Width of survey on the designer surface"; fixture`${title}`.page`${url}`.beforeEach(async (t) => { await t.resizeWindow(1920, 1080); diff --git a/packages/survey-creator-angular/src/tabs/designer/designer-survey.component.html b/packages/survey-creator-angular/src/tabs/designer/designer-survey.component.html index 5c9996c9d7..4b403ad2fe 100644 --- a/packages/survey-creator-angular/src/tabs/designer/designer-survey.component.html +++ b/packages/survey-creator-angular/src/tabs/designer/designer-survey.component.html @@ -19,12 +19,12 @@ -