Wizard: change order of the systemd services
This commit is contained in:
parent
235d853f42
commit
76320925a0
4 changed files with 63 additions and 63 deletions
|
|
@ -171,22 +171,22 @@ describe('Step Services', () => {
|
|||
name: /clear input/i,
|
||||
});
|
||||
|
||||
// Enabled services input
|
||||
expect(screen.queryByText('Invalid format.')).not.toBeInTheDocument();
|
||||
await addEnabledService('-------');
|
||||
expect(await screen.findByText('Invalid format.')).toBeInTheDocument();
|
||||
await waitFor(() => user.click(clearInputButtons[0]));
|
||||
|
||||
// Disabled services input
|
||||
expect(screen.queryByText('Invalid format.')).not.toBeInTheDocument();
|
||||
await addDisabledService('-------');
|
||||
expect(await screen.findByText('Invalid format.')).toBeInTheDocument();
|
||||
await waitFor(() => user.click(clearInputButtons[0]));
|
||||
await waitFor(() => user.click(clearInputButtons[1]));
|
||||
|
||||
// Masked services input
|
||||
expect(screen.queryByText('Invalid format.')).not.toBeInTheDocument();
|
||||
await addMaskedService('-------');
|
||||
expect(await screen.findByText('Invalid format.')).toBeInTheDocument();
|
||||
await waitFor(() => user.click(clearInputButtons[1]));
|
||||
|
||||
// Enabled services input
|
||||
expect(screen.queryByText('Invalid format.')).not.toBeInTheDocument();
|
||||
await addEnabledService('-------');
|
||||
expect(await screen.findByText('Invalid format.')).toBeInTheDocument();
|
||||
await waitFor(() => user.click(clearInputButtons[2]));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue