chore: add more screenshots (#1155)

This commit is contained in:
Jonas Plum
2025-09-21 14:50:28 +02:00
committed by GitHub
parent 4d844c567c
commit fedda9daaf
11 changed files with 43 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 167 KiB

BIN
docs/screenshots/groups.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 229 KiB

BIN
docs/screenshots/types.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
docs/screenshots/users.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

View File

@@ -9,6 +9,10 @@ files=(
"ticket.png"
"tasks.png"
"reactions.png"
"settings.png"
"users.png"
"groups.png"
"types.png"
)
for file in "${files[@]}"; do

View File

@@ -49,3 +49,42 @@ test('reactions screenshot', async ({ page }) => {
await page.waitForTimeout(7000)
await page.screenshot({ path: screenshot('reactions') })
})
test('settings screenshot', async ({ page }) => {
await login(page, true)
await page.goto('settings')
await expect(page.getByRole('heading', { name: 'Settings' })).toBeVisible()
await page.getByText("Toggle Sidebar").click()
await page.waitForTimeout(7000)
await page.screenshot({ path: screenshot('settings') })
})
test('users screenshot', async ({ page }) => {
await login(page, true)
await page.goto('users')
await expect(page.getByRole('heading', { name: 'Users' })).toBeVisible()
await page.getByText("Toggle Sidebar").click()
await page.getByText("Test User").click()
await page.waitForTimeout(7000)
await page.screenshot({ path: screenshot('users') })
})
test('groups screenshot', async ({ page }) => {
await login(page, true)
await page.goto('groups')
await expect(page.getByRole('heading', { name: 'Groups' })).toBeVisible()
await page.getByText("Toggle Sidebar").click()
await page.getByText("Analyst").click()
await page.waitForTimeout(7000)
await page.screenshot({ path: screenshot('groups') })
})
test('types screenshot', async ({ page }) => {
await login(page, true)
await page.goto('types')
await expect(page.getByRole('heading', { name: 'Types' })).toBeVisible()
await page.getByText("Toggle Sidebar").click()
await page.locator('main').getByText("Incident").click()
await page.waitForTimeout(7000)
await page.screenshot({ path: screenshot('types') })
})

View File

@@ -122,8 +122,6 @@ const initials = (user: { name?: string } | undefined) => {
</SidebarMenuItem>
</SidebarMenu>
</SidebarGroup>
</SidebarContent>
<SidebarContent>
<SidebarGroup>
<SidebarGroupLabel>Tickets</SidebarGroupLabel>
<SidebarMenu>