Skip to content

Commit

Permalink
remove creator test for panel title observability
Browse files Browse the repository at this point in the history
  • Loading branch information
novikov82 committed Sep 18, 2024
1 parent 5161ac3 commit 0d49b71
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions testCafe/property-grid/panels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,3 @@ test("Panel stay focused on question change", async (t) => {
.click(question1)
.expect(Selector("div [data-name=\"minWidth\"] input").focused).ok();
});
test("Show/hide panel header on entering/deleting the panel title, Bug#5720", async (t) => {
const json = {
elements: [
{
type: "panel",
name: "panel1"
}
]
};
const panel = Selector(".svc-panel__placeholder");
const hiddenPanelTitle = Selector(".sd-element__title--hidden");
const titleEditor = Selector("[data-name='title']").find("textarea");
await setJSON(json);
await t
.click(panel)
.expect(hiddenPanelTitle.exists).ok()
.click(titleEditor)
.typeText(titleEditor, "MyTitle")
.expect(hiddenPanelTitle.exists).notOk()
.expect(Selector(".sv-string-editor").withText("MyTitle").exists).ok()
.selectText(titleEditor)
.pressKey("delete")
.expect(hiddenPanelTitle.exists).ok();
});

0 comments on commit 0d49b71

Please sign in to comment.