Skip to content

Commit

Permalink
Work for #5282 - If question width is small for text type then changi…
Browse files Browse the repository at this point in the history
…ng input type breaks adaptivity - fixed vr-test
  • Loading branch information
tsv2013 committed Mar 6, 2024
1 parent dea16d1 commit 5ffe935
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visualRegressionTests/tests/designer/surface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1995,9 +1995,9 @@ test("Check adorner actions responsifity after convert", async (t) => {
}
]
});
await t.hover(Selector(".svc-question__adorner").nth(2)).click(Selector("#convertTo").nth(2)).click(Selector("#convertTo").nth(2))
await t.hover(Selector(".svc-question__adorner").nth(2), { offsetX: 10, offsetY: 10 }).click(Selector("#convertTo").nth(2)).click(Selector("#convertTo").nth(2))
.click(Selector("div[data-sv-drop-target-survey-element='question3'] .sv-list__item-body[title='Yes/No (Boolean)']"))
.click(Selector(".svc-question__adorner").nth(1)).click(Selector(".svc-question__adorner").nth(1))
.click(Selector(".svc-question__adorner").nth(1), { offsetX: 10, offsetY: 10 }).click(Selector(".svc-question__adorner").nth(1), { offsetX: 10, offsetY: 10 })
.click(Selector(".svc-question__adorner").nth(2), { offsetX: 10, offsetY: 10 }).click(Selector(".svc-question__adorner").nth(2), { offsetX: 10, offsetY: 10 });
await takeElementScreenshot("actions-on-converted-question.png", root.nth(0), t, comparer);
});
Expand Down

0 comments on commit 5ffe935

Please sign in to comment.