Separate panel settings from services

This commit is contained in:
2026-04-02 01:34:16 +03:00
parent dc9e399e5b
commit 1bd7ce2ec3
5 changed files with 56 additions and 46 deletions

View File

@@ -149,7 +149,8 @@ describe('App login gate', () => {
await loginIntoPanel(user);
await user.click(screen.getByRole('button', { name: /settings/i }));
expect(screen.queryByText(/panel settings/i)).not.toBeInTheDocument();
expect(screen.getByRole('heading', { name: /panel settings/i })).toBeInTheDocument();
expect(screen.getByRole('heading', { name: /^services$/i })).toBeInTheDocument();
expect(screen.queryByLabelText(/public host/i)).not.toBeInTheDocument();
expect(screen.queryByLabelText(/command/i)).not.toBeInTheDocument();
expect(screen.queryByLabelText(/protocol/i)).not.toBeInTheDocument();