This commit is contained in:
@@ -35,6 +35,17 @@ describe('mobile touch targets', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('mobile add task interaction', () => {
|
||||
it('uses a draggable FAB and an animated add-task sheet', () => {
|
||||
expect(app).toContain('@pointerdown="startFabDrag"')
|
||||
expect(app).toContain('@pointermove="moveFab"')
|
||||
expect(app).toContain('class="task-compose-mask"')
|
||||
expect(app).toContain('class="task-compose-sheet"')
|
||||
expect(css).toContain('.task-compose-enter-active')
|
||||
expect(css).toContain('.fab.dragging')
|
||||
})
|
||||
})
|
||||
|
||||
describe('desktop sidebar collapse & folder scrollbar', () => {
|
||||
it('lets the top menu collapse the desktop sidebar', () => {
|
||||
expect(app).toContain('sidebar-collapsed')
|
||||
|
||||
Reference in New Issue
Block a user