Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4aff88a
playwright tests small-questions.ts
Oct 2, 2025
d38f395
playwrigth tests side-bar.ts
Oct 2, 2025
b2d1a05
playwright test SelectBase
Oct 2, 2025
feb5c67
playwright test scrollbar.ts
Oct 2, 2025
1f018c3
Playwright tests: rating.ts
Oct 2, 2025
63c263e
playwright test pg-tests
Oct 2, 2025
7fb6ab4
playwright test pg-tests
Oct 6, 2025
9c92e0d
Playwright tests: rating.ts
Oct 6, 2025
5734b9f
playwright test pg-tests
Oct 6, 2025
509e2a7
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 6, 2025
b64422b
playwright test pg-tests
Oct 7, 2025
ee8ca84
playwright test pg-tests
Oct 7, 2025
94ad655
playwright test pg-tests
Oct 8, 2025
dc31653
playwright test pg-tests
Oct 8, 2025
a3935cf
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 9, 2025
7c53c3d
remove masks
Oct 9, 2025
e24c82e
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 14, 2025
23064b5
playwright test pg-tests
Oct 14, 2025
7087bad
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 15, 2025
4156b59
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 15, 2025
d8a45bd
fix test design-surface.ts
Oct 16, 2025
d244973
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 21, 2025
172e331
update page.addListener "pageerror" handler
Oct 22, 2025
c00603a
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 24, 2025
d1f3000
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 27, 2025
ad1b8e6
fix test translation-tab.ts
Oct 28, 2025
2286c09
add debug screenshot for angular
Oct 28, 2025
21fef64
fix wait for load state
Oct 28, 2025
3e4acc6
add debug screenshot for angular
Oct 28, 2025
1024ad6
fix wait for load state
Oct 29, 2025
72d892b
Merge branch 'master' of github.com:surveyjs/survey-creator into Play…
Oct 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion e2e/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export const test = baseTest.extend<{page: void, skipJSErrors: boolean}>({
const errors: Array<Error> = [];
page.addListener("pageerror", (error) => {
errors.push(error);
// eslint-disable-next-line no-console
console.log(`Uncaught exception: "${error}"`);
});
await use(page);
if (!skipJSErrors) {
Expand All @@ -47,7 +49,11 @@ export async function doDrag({ page, element, target, options }: { page: Page, e
await page.mouse.down();
const { x, y, width, height } = await <any>target.boundingBox();

await page.mouse.move(x + width / 2 + (options.destinationOffsetX || 0), y + height / 2 + (options.destinationOffsetY || 0), { steps: 20 });
if (options?.targetPosition) {
await page.mouse.move(x + (options.targetPosition.x || 0), y + (options.targetPosition.y || 0), { steps: 20 });
} else {
await page.mouse.move(x + width / 2 + (options.destinationOffsetX || 0), y + height / 2 + (options.destinationOffsetY || 0), { steps: 20 });
}
}

export async function doDragDrop({ page, element, target, options }: { page: Page, element: Locator, target: Locator, options: any }):Promise<void> {
Expand Down
2 changes: 2 additions & 0 deletions packages/survey-creator-core/src/components/popup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
&.sv-popup--modal-overlay {
background: var(--ctr-popup-haze-background-color, var(--sjs-special-haze, #cceeee59));
padding-top: var(--ctr-popup-margin-top-mobile, var(--sjs-spacing-x2));
max-height: calc(100vh - var(--ctr-popup-margin-top-mobile, var(--sjs-spacing-x2)));
box-sizing: content-box;

& > .sv-popup__container {
width: 100vw;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions screenshotTests/design-surface.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ test.describe(title, () => {
await page.click("#zoomOut button");
}
await page.setViewportSize({ width: 600, height: 1900 });
await page.waitForTimeout(500);
await compareScreenshot(page, surfaceSelector, "design-surface-zoom-out.png");
});

Expand Down
4 changes: 2 additions & 2 deletions screenshotTests/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ export function getAddNewQuestionButton(page) {
}

export function getToolboxItemByText(page, text) {
return page.locator(".svc-toolbox__item-title").getByText(text);
return page.locator(".svc-toolbox__item-title").getByText(text, { exact: true });
}
export function getToolboxItemByAriaLabel(page, text) {
return page.locator(".svc-toolbox__item").withAttribute("aria-label").getByText(text);
}
export function getSubToolboxItemByText(page, text) {
return page.locator(".svc-toolbox__item-subtype").getByText(text);
return page.locator(".svc-toolbox__item-subtype").getByText(text, { exact: true });
}
export async function addQuestionByAddQuestionButton(page, text) {
await page.locator(".svc-element__add-new-question .svc-element__question-type-selector").click();
Expand Down
Loading
Loading