Move EditInPlace out of Form (Fixes: reloading EW on EC url update) (#31434)
* Move `EditInPlace` out of `Form` If it is part of the form saving will submit the inner form of EditInPlace and reload EW. * add tests and comments * update snapshot * fix playwright
This commit is contained in:
@@ -29,5 +29,12 @@ test.describe("Devtools", () => {
|
||||
display: none;
|
||||
}`,
|
||||
});
|
||||
|
||||
// Try entering a value for the Developer.elementCallUrl setting
|
||||
const input = page.getByRole("textbox", { name: "Element Call URL" });
|
||||
await input.fill("https://example.com");
|
||||
await input.press("Enter");
|
||||
// expect EW NOT to reload
|
||||
await page.getByText("Saved").isVisible();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user