Skip to content

Commit

Permalink
Try to fix vr-test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Feb 24, 2025
1 parent a8213b1 commit 03f537d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions visualRegressionTests/tests/defaultV2/advancedHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,19 @@ frameworks.forEach(framework => {
],
});

await ClientFunction(() => {
(<any>window).survey.applyTheme({
"header": {
inheritWidthFrom: "survey",
"logoPositionX": "left",
"logoPositionY": "top",
"titlePositionX": "left",
"titlePositionY": "bottom",
"descriptionPositionX": "left",
"descriptionPositionY": "bottom"
}
});
})();
await resetFocusToBody();
await takeElementScreenshot("survey-advanced-header-correct-height.png", Selector(".sd-root-modern"), t, comparer);
});
Expand Down

0 comments on commit 03f537d

Please sign in to comment.