mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 17:23:25 +00:00
ENH - refine phone setup (#15)
* ENH - refine phone setup experience * FIX - refine settings header and search icon * FIX - refine compact weather layout * ENH - fade empty music widget content * ENH - align gallery filter navigation * FIX - align memo player content * ENH - refine notes header and compose controls * ENH - refine phone liquid glass controls * ENH - apply liquid glass across app controls * FIX - correct messages GIF picker layout --------- Co-authored-by: smx.pusha <139338836+smxpusha@users.noreply.github.com>
This commit is contained in:
co-authored by
smx.pusha
parent
30559048fd
commit
d0317a35c0
@@ -31,6 +31,14 @@ const cameraAnimations = readFileSync(
|
||||
)
|
||||
|
||||
describe('Camera app controls', () => {
|
||||
it('uses shared liquid glass for camera interaction buttons', () => {
|
||||
expect(cameraView.match(/variant="glass"/g)).toHaveLength(5)
|
||||
expect(cameraView).toMatch(
|
||||
/<sky-glass\s+component="button"\s+class="camera-latest"/,
|
||||
)
|
||||
expect(cameraView).not.toContain('variant="neutral"')
|
||||
})
|
||||
|
||||
it('uses the Sky UI moving segment for photo and video modes', () => {
|
||||
expect(cameraView).toContain('SkySegmented')
|
||||
expect(cameraView).toContain(':active-index="mode === \'photo\' ? 0 : 1"')
|
||||
|
||||
Reference in New Issue
Block a user