Skip to content

Commit 9878dc5

Browse files
refactor: remove skip tests
1 parent 74670a0 commit 9878dc5

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

src/web/src/__tests__/integration/WSEditorClientConfig.integration.test.tsx

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -70,44 +70,6 @@ describe("WSEditorClientConfigDialog - Integration", () => {
7070
expect(screen.queryByText("Cancel")).not.toBeInTheDocument();
7171
});
7272

73-
it.skip("should cascade load planes → modules → providers → versions", async () => {
74-
// @NOTE: skipping this workflow for now, there is servere delay in loading, will revisit once loading states are improved.
75-
render(<WSEditorClientConfigDialog workspaceUrl={mockWorkspaceUrl} open={true} onClose={mockOnClose} />);
76-
77-
// Switch to the resource property tab
78-
const resourcePropertyTab = screen.getByRole("tab", { name: /By resource property/i });
79-
await userEvent.click(resourcePropertyTab);
80-
81-
// --- MODULES ---
82-
const moduleInput = screen.getByRole("combobox", { name: /Module/i });
83-
await userEvent.click(moduleInput);
84-
85-
// Wait for the popper to render an option (it will display "storage", not "Microsoft.Storage")
86-
const storageOption = await screen.findByRole("option", { name: /storage/i });
87-
await userEvent.click(storageOption);
88-
89-
// --- PROVIDERS ---
90-
const providerInput = screen.getByRole("combobox", { name: /Resource Provider/i });
91-
await userEvent.click(providerInput);
92-
93-
// Providers are stripped of common prefix, so if API returned ["Microsoft.Storage"],
94-
// and `commonPrefix = "Microsoft."`, you’ll actually see "Storage" in the DOM
95-
const rpOption = await screen.findByRole("option", { name: /Storage/i });
96-
await userEvent.click(rpOption);
97-
98-
// --- VERSIONS ---
99-
const versionInput = screen.getByRole("combobox", { name: /API Version/i });
100-
await userEvent.click(versionInput);
101-
102-
const versionOption = await screen.findByRole("option", { name: /2021-04-01/i });
103-
await userEvent.click(versionOption);
104-
105-
// Final assertions (all cascades complete)
106-
expect(moduleInput).toHaveValue("storage");
107-
expect(providerInput).toHaveValue("Storage");
108-
expect(versionInput).toHaveValue("2021-04-01");
109-
});
110-
11173
it("should handle API errors gracefully during cascade loading", async () => {
11274
const user = userEvent.setup();
11375
render(

0 commit comments

Comments
 (0)