Wizard: Basic Timezone step

This adds bare bones Timezone step with appropriate file structure and basic unit tests.
This commit is contained in:
regexowl 2024-11-11 14:12:56 +01:00 committed by Lucas Garfield
parent b8c852c836
commit b526ad3c60
18 changed files with 121 additions and 4 deletions

View file

@ -53,6 +53,7 @@ const goToPackagesStep = async () => {
const goToReviewStep = async () => {
await clickNext(); // Users
await clickNext(); // Timezone
await clickNext(); // First Boot
await clickNext(); // Details
await enterBlueprintName();
@ -174,13 +175,12 @@ describe('Step Packages', () => {
const user = userEvent.setup();
test('clicking Next loads First boot', async () => {
test('clicking Next loads Users', async () => {
await renderCreateMode();
await goToPackagesStep();
await clickNext();
await clickNext();
await screen.findByRole('heading', {
name: 'First boot configuration',
name: 'Users',
});
});