Skip to content

Commit

Permalink
fix: update documentation and tests to reflect configuration renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
elikoga committed Jan 22, 2025
1 parent 284e6c8 commit 686bdb3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/src/usage/existing_device.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ To add an existing NixOS device to Thymis, follow these steps:

### Step 2: Add a New Device

1. Click on the **Devices** tab in the sidebar.
2. Select **Create New Device**.
1. Click on the **Configurations** tab in the sidebar.
2. Select **Create New Configuration**.
3. Fill in the required details, such as the device name, hardware model, as well as tags to associate with the device.

![Thymis create device screen](thymis-create-device.png)
Expand Down
8 changes: 4 additions & 4 deletions docs/src/usage/provisioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ Provisioning a new device with Thymis involves creating a fully-configured disk

![Thymis Login-Screen](thymis-login-screen.png)

## Step 2: Create a New Device Profile!
1. Click on the **Devices** tab in the sidebar.
2. Select **Create New Device**.
## Step 2: Create a New Device Configuration!
1. Click on the **Configurations** tab in the sidebar.
2. Select **Create New Configuration**.
3. Fill in the required details, such as the device name, hardware model, as well as tags to associate with the device.

![Thymis create device screen](thymis-create-device.png)

## Step 3: Configure the Device Settings
1. In the **Devices** tab, select **View Details** for the device you just created.
1. In the **Configurations** tab, select **View Details** for the device configuration you just created.
2. Click on **Core Device Configuration** to access the device configuration interface.
3. Use the graphical interface to set up the NixOS modules and services you want to include in your device's image.
4. Save the configuration when done.
Expand Down
4 changes: 2 additions & 2 deletions frontend/tests/screencaps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ colorSchemes.forEach((colorScheme) => {
// Assign the tag
await page.goto('/configuration/list');

await page.locator('button').filter({ hasText: 'Create New Device' }).click();
await page.locator('button').filter({ hasText: 'Create New Configuration' }).click();
await page.locator('#display-name').first().fill('Whoami Device');
await page.locator('#device-type').first().selectOption({ label: 'Raspberry Pi 4' });
await page.locator('button').filter({ hasText: 'Create device' }).click();
await page.locator('button').filter({ hasText: 'Create device configuration' }).click();

const editTagButton = page
.locator('tr')
Expand Down

0 comments on commit 686bdb3

Please sign in to comment.