-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmp_seq.ts
More file actions
24 lines (24 loc) · 803 Bytes
/
tmp_seq.ts
File metadata and controls
24 lines (24 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.if(
() => !!settings.plugins.outline,
(ctx) =>
(ctx as any)
.outlineUnderline('.todo-item-2', { duration: 1000, loopCount: 2 })
.wait(300),
)
.hover('#todo-delete-2')
.wait(300)
.click('#todo-delete-2')
.wait(1000)
.if(
() => !!settings.plugins.prompt,
(ctx) =>
(ctx as any)
.prompt("Would you really like to delete this item?", {
buttons: [{ label: 'Yes, click delete!', onClick: 'continue', type: 'danger' }]
})
)
.wait(500)
.hover('#todo-confirm-delete')
.wait(300)
.click('#todo-confirm-delete')
.wait(1000)