This repository was archived by the owner on Dec 24, 2023. It is now read-only.
Release 1.0.0
π₯ Breaking Change
- fix #103 : percentage returned and used for comparison (9cd1e6c), tnx to jesusfj710
Before
it('should compare a screen successful ', async () => {
await expect(await browser.checkScreen('screenshot')).toEqual(
'0'
)
})Now
it('should compare a screen successful ', async () => {
await expect(await browser.checkScreen('screenshot')).toEqual(
'0.00'
)
})π New Features
- feat: add new iOS bezel feature (9e16c79)
A new class-option has been added which is calledaddIOSBezelCorners. If set totruethe iOS screenshots will have rounded corners and, if applicable, the iOS notch/dynamic island. See below for an example. Not all devices have these options and it will only be enabled if it matches certain device names. See here for all supported devices
π Polish
- feat: add offsets for iPhone 14 series (2773091)
- fix: lint for other files (953d0b1)
- feat: support NodeJS 18 (18fa78c)
- feat: replace chalk (981aebd)
π Bug Fix
- #119 Prevent tsconfig.json from being published which causes a problem with the 'includes' field (752b331), tnx to
Luis Merino - fix: fix positions (a326079)
