Repository navigation
Expand file tree
/
Copy pathios-sync-graph-create-regression.yaml
More file actions
97 lines (97 loc) · 2.36 KB
/
Copy pathios-sync-graph-create-regression.yaml
File metadata and controls
97 lines (97 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
appId: com.logseq.logseq
---
- runFlow: __LOGSEQ_E2E_SETUP_FLOW__
- runFlow:
when:
visible:
id: "button.sidebar"
commands:
- tapOn:
id: "button.sidebar"
- tapOn:
id: "link.sidebar.graphs"
- tapOn:
id: "button.graph-add"
- runFlow:
when:
visible: "Choose a graph"
commands:
- tapOn: "Add sync graph"
- extendedWaitUntil:
visible: "Add sync graph"
timeout: 60000
- tapOn:
id: "field.graph-name"
- inputText: "wrangler-regression-__LOGSEQ_E2E_RUN_ID__"
- tapOn:
id: "button.graph-add.confirm"
- extendedWaitUntil:
visible: "wrangler-regression-__LOGSEQ_E2E_RUN_ID__"
timeout: 60000
- assertNotVisible: "Add sync graph"
- extendedWaitUntil:
visible:
id: "journals.graph-loaded"
timeout: 60000
- assertVisible: "Edit block Untitled block"
- assertNotVisible: "No cached blocks"
- assertNotVisible: "snapshot_download_failed"
- assertNotVisible: "snapshot required"
- assertVisible:
id: "pane.journals"
- assertNotVisible:
id: "button.content-mode"
- tapOn: "Edit block Untitled block"
- inputText: "First synced block"
- assertVisible: "First synced block"
- assertVisible:
id: "toolbar.outliner.editor"
- extendedWaitUntil:
visible: "Synced"
timeout: 3000
- tapOn:
id: "button.outliner.editor.task"
- assertNotVisible: "outliner_effect_failed"
- assertVisible:
id: "toolbar.outliner.editor"
- extendedWaitUntil:
visible: "Synced"
timeout: 3000
- pressKey: ENTER
- assertVisible:
id: "toolbar.outliner.editor"
- inputText: "#new"
- assertVisible:
id: "toolbar.outliner.autocomplete"
- swipe:
start: 85%, 55%
end: 15%, 55%
duration: 1200
- assertVisible:
id: "toolbar.outliner.autocomplete"
- tapOn:
id: "button.outliner.autocomplete.0"
- assertNotVisible:
id: "toolbar.outliner.autocomplete"
- pressKey: ENTER
- pressKey: ENTER
- pressKey: BACKSPACE
- pressKey: BACKSPACE
- assertVisible:
id: "toolbar.outliner.editor"
- tapOn: "Hide keyboard"
- assertNotVisible: "snapshot required"
- tapOn:
id: "button.journals.more"
- extendedWaitUntil:
visible: "Synced"
timeout: 3000
- extendedWaitUntil:
visible:
id: "sync.connected"
timeout: 10000
- tapOn:
id: "sync.connected"
- assertVisible: "Sync status"
- assertVisible: "Up to date"
- assertVisible: "wrangler-regression-__LOGSEQ_E2E_RUN_ID__"