Change order of place display options

This commit is contained in:
Przemek Więch
2026-06-24 23:18:04 +02:00
parent 1d80c07bf9
commit 9cb57d1f49
12 changed files with 42 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

@@ -58,4 +58,29 @@ test.describe('Configurations Integration @visual', () => {
await page.waitForTimeout(300);
await expect(page).toHaveScreenshot('config-state-minimalist.png');
});
test('Places Configuration Options', async ({page}) => {
// Locate the section container inside form.details specifically to avoid Info tab ambiguity.
const placesSection = page
.locator('form.details .item')
.filter({hasText: 'Places'});
// 1. Toggle "hide" places.
await placesSection.getByText('hide').click();
await page.waitForTimeout(300);
await expect(page).toHaveScreenshot('config-state-places-hide.png');
// 2. Toggle "short" places (default count is 2).
await placesSection.getByText('short').click();
await page.waitForTimeout(300);
await expect(page).toHaveScreenshot(
'config-state-places-short-default.png',
);
// 3. Change short place count to 1.
const countInput = placesSection.locator('input[type="number"]');
await countInput.fill('1');
await page.waitForTimeout(300);
await expect(page).toHaveScreenshot('config-state-places-short-1.png');
});
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB