fmt
This commit is contained in:
@ -273,16 +273,25 @@ test.describe('Testing settings', () => {
|
|||||||
await settingsCloseButton.click()
|
await settingsCloseButton.click()
|
||||||
})
|
})
|
||||||
let screenshot = await page.screenshot()
|
let screenshot = await page.screenshot()
|
||||||
await testInfo.attach('screenshot1', { body: screenshot, contentType: 'image/png' })
|
await testInfo.attach('screenshot1', {
|
||||||
|
body: screenshot,
|
||||||
|
contentType: 'image/png',
|
||||||
|
})
|
||||||
|
|
||||||
await test.step('Set project theme color', async () => {
|
await test.step('Set project theme color', async () => {
|
||||||
// Open the project
|
// Open the project
|
||||||
await projectLink.click()
|
await projectLink.click()
|
||||||
screenshot = await page.screenshot()
|
screenshot = await page.screenshot()
|
||||||
await testInfo.attach('screenshot2', { body: screenshot, contentType: 'image/png' })
|
await testInfo.attach('screenshot2', {
|
||||||
|
body: screenshot,
|
||||||
|
contentType: 'image/png',
|
||||||
|
})
|
||||||
await settingsOpenButton.click()
|
await settingsOpenButton.click()
|
||||||
screenshot = await page.screenshot()
|
screenshot = await page.screenshot()
|
||||||
await testInfo.attach('screenshot3', { body: screenshot, contentType: 'image/png' })
|
await testInfo.attach('screenshot3', {
|
||||||
|
body: screenshot,
|
||||||
|
contentType: 'image/png',
|
||||||
|
})
|
||||||
// The project tab should be selected by default within a project
|
// The project tab should be selected by default within a project
|
||||||
await expect(projectSettingsTab).toBeChecked()
|
await expect(projectSettingsTab).toBeChecked()
|
||||||
await themeColorSetting.fill(projectThemeColor)
|
await themeColorSetting.fill(projectThemeColor)
|
||||||
|
Reference in New Issue
Block a user