Skip to content

Commit

Permalink
Revert "#6120 rewrite test"
Browse files Browse the repository at this point in the history
This reverts commit c7d7dea.
  • Loading branch information
novikov82 committed Nov 26, 2024
1 parent c7d7dea commit 9cdb9ee
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions visualRegressionTests/tests/designer/pg-logic-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,13 @@ test("Check list item styles into logic popup", async (t) => {
await t.click(getPropertyGridCategory(logicGroupName));

const sectionContentElement = Selector("h4[aria-label=Conditions]").parent().nextSibling();

await t.click(sectionContentElement.find(".spg-action-button").nth(2))
.expect(Selector(".sl-dropdown").visible).ok()
.click(Selector(".sl-dropdown").nth(0))
.click(Selector(".sl-dropdown"))
.click(getListItemByText("region"))
.click(Selector(".sl-dropdown").nth(1))
.pressKey("tab")
.pressKey("tab")
.pressKey("down")
.pressKey("down");
await takeElementScreenshot("pg-logic-popup-dropdown-list-item--focused.png", Selector(".sv-popup.svc-property-editor.sv-popup--modal .sv-popup__container"), t, comparer);
});
Expand Down

0 comments on commit 9cdb9ee

Please sign in to comment.