Skip to content

Commit e225c72

Browse files
committed
chore: fix tests
1 parent 8ac1566 commit e225c72

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/configs/wdio.lambdatest.shared.conf.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const config: WebdriverIO.Config = {
4646
rawMisMatchPercentage: !!process.env.RAW_MISMATCH || false,
4747
enableLayoutTesting: true,
4848
ignoreAntialiasing: true,
49+
alwaysSaveActualImage: false,
4950
} satisfies VisualServiceOptions,
5051
],
5152
],

tests/specs/desktop.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('@wdio/visual-service desktop', () => {
4343
})
4444
})
4545

46-
it.only(`should not store an actual image for '${browserName}' when the diff is below the threshold (#1115)`, async function () {
46+
it(`should not store an actual image for '${browserName}' when the diff is below the threshold (#1115)`, async function () {
4747
const tag = 'noActualStoredOnDiff'
4848
const baselineFolder = join(process.cwd(), '.tmp/1115-baseline')
4949

@@ -60,6 +60,7 @@ describe('@wdio/visual-service desktop', () => {
6060

6161
expect(result.misMatchPercentage).toBeGreaterThan(0)
6262
expect(result.misMatchPercentage).toBeLessThanOrEqual(50)
63+
6364
expect(fileExists(result.folders.actual)).toBe(false)
6465
})
6566
})

0 commit comments

Comments
 (0)