vscode-scenetest 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +80 -0
- package/language-configuration.json +27 -0
- package/package.json +46 -0
- package/syntaxes/scenetest-spec.tmLanguage.json +216 -0
- package/test/example.spec.md +71 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Michael Snook
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Scenetest VS Code Extension
|
|
2
|
+
|
|
3
|
+
Syntax highlighting for Scenetest scene specs (`.spec.md` files).
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Syntax highlighting** for the text DSL format
|
|
8
|
+
- **Folding** by scene headings
|
|
9
|
+
- **Comment toggling** with `//`
|
|
10
|
+
|
|
11
|
+
### Highlighted Elements
|
|
12
|
+
|
|
13
|
+
| Element | Example | Color |
|
|
14
|
+
|---------|---------|-------|
|
|
15
|
+
| Scene headings | `# group`, `## scene name` | Heading |
|
|
16
|
+
| Actor declarations | `user:`, `admin:` | Variable |
|
|
17
|
+
| Actions | `see`, `click`, `typeInto` | Function |
|
|
18
|
+
| Selectors | `login-form`, `nav-menu` | String |
|
|
19
|
+
| Interpolation | `[user.email]` | Variable interpolation |
|
|
20
|
+
| Aliases | `~modal`, `~nav` | Constant |
|
|
21
|
+
| Aria-labels | `@Close`, `@Submit` | Constant |
|
|
22
|
+
| URLs | `/login`, `https://...` | Link |
|
|
23
|
+
| Numbers | `5000` | Number |
|
|
24
|
+
| Comments | `// log in flow` | Comment |
|
|
25
|
+
| Macros | `login()`, `setup()` | Function |
|
|
26
|
+
| Coordination | `emit`, `waitFor` | Keyword |
|
|
27
|
+
| Conditionals | `if` | Keyword |
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
### From VSIX (local)
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# Build the VSIX
|
|
35
|
+
cd packages/vscode-scenetest
|
|
36
|
+
npx @vscode/vsce package
|
|
37
|
+
|
|
38
|
+
# Install
|
|
39
|
+
code --install-extension vscode-scenetest-0.1.0.vsix
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### From source (development)
|
|
43
|
+
|
|
44
|
+
1. Open the `packages/vscode-scenetest` folder in VS Code
|
|
45
|
+
2. Press F5 to launch Extension Development Host
|
|
46
|
+
3. Open a `.spec.md` file to see highlighting
|
|
47
|
+
|
|
48
|
+
## Example
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
# User friend requests
|
|
52
|
+
|
|
53
|
+
## new user signs up and gets a friend request
|
|
54
|
+
new-user:
|
|
55
|
+
- openTo /
|
|
56
|
+
- see welcome-box
|
|
57
|
+
- click continue-button
|
|
58
|
+
|
|
59
|
+
primary-user:
|
|
60
|
+
- openTo /friends
|
|
61
|
+
- click main-navbar search
|
|
62
|
+
- typeInto search-input [new-user.username]
|
|
63
|
+
- see search-results-section
|
|
64
|
+
- click friend-request-button
|
|
65
|
+
|
|
66
|
+
new-user:
|
|
67
|
+
- seeToast friend-request
|
|
68
|
+
- see navbar notifications-badge
|
|
69
|
+
- click
|
|
70
|
+
- see notifications-menu-expanded new-friend-request
|
|
71
|
+
- click
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Roadmap
|
|
75
|
+
|
|
76
|
+
See the [Developer Experience design doc](/docs/public/design/developer-experience.md) for planned features:
|
|
77
|
+
|
|
78
|
+
- **Phase 2:** Language Server for scope tracking, hover info, go-to-definition
|
|
79
|
+
- **Phase 3:** Selector manifest generation and autocomplete
|
|
80
|
+
- **Phase 4:** ESLint integration for validation
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comments": {
|
|
3
|
+
"lineComment": "//"
|
|
4
|
+
},
|
|
5
|
+
"brackets": [
|
|
6
|
+
["[", "]"],
|
|
7
|
+
["(", ")"]
|
|
8
|
+
],
|
|
9
|
+
"autoClosingPairs": [
|
|
10
|
+
{ "open": "[", "close": "]" },
|
|
11
|
+
{ "open": "(", "close": ")" },
|
|
12
|
+
{ "open": "\"", "close": "\"" },
|
|
13
|
+
{ "open": "'", "close": "'" }
|
|
14
|
+
],
|
|
15
|
+
"surroundingPairs": [
|
|
16
|
+
["[", "]"],
|
|
17
|
+
["(", ")"],
|
|
18
|
+
["\"", "\""],
|
|
19
|
+
["'", "'"]
|
|
20
|
+
],
|
|
21
|
+
"folding": {
|
|
22
|
+
"markers": {
|
|
23
|
+
"start": "^#{1,2}\\s",
|
|
24
|
+
"end": "^(?=#{1,2}\\s)"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vscode-scenetest",
|
|
3
|
+
"displayName": "Scenetest",
|
|
4
|
+
"description": "Syntax highlighting for Scenetest scene specs (.spec.md)",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"publisher": "scenetest",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/scenetest/scenetest-js"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"vscode": "^1.80.0"
|
|
14
|
+
},
|
|
15
|
+
"categories": [
|
|
16
|
+
"Programming Languages"
|
|
17
|
+
],
|
|
18
|
+
"keywords": [
|
|
19
|
+
"scenetest",
|
|
20
|
+
"e2e",
|
|
21
|
+
"testing",
|
|
22
|
+
"spec"
|
|
23
|
+
],
|
|
24
|
+
"contributes": {
|
|
25
|
+
"languages": [
|
|
26
|
+
{
|
|
27
|
+
"id": "scenetest-spec",
|
|
28
|
+
"aliases": [
|
|
29
|
+
"Scenetest Spec",
|
|
30
|
+
"scenetest"
|
|
31
|
+
],
|
|
32
|
+
"extensions": [
|
|
33
|
+
".spec.md"
|
|
34
|
+
],
|
|
35
|
+
"configuration": "./language-configuration.json"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"grammars": [
|
|
39
|
+
{
|
|
40
|
+
"language": "scenetest-spec",
|
|
41
|
+
"scopeName": "source.scenetest-spec",
|
|
42
|
+
"path": "./syntaxes/scenetest-spec.tmLanguage.json"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
3
|
+
"name": "Scenetest Spec",
|
|
4
|
+
"scopeName": "source.scenetest-spec",
|
|
5
|
+
"patterns": [
|
|
6
|
+
{ "include": "#heading" },
|
|
7
|
+
{ "include": "#comment" },
|
|
8
|
+
{ "include": "#actor-declaration" },
|
|
9
|
+
{ "include": "#action-line" }
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"heading": {
|
|
13
|
+
"patterns": [
|
|
14
|
+
{
|
|
15
|
+
"name": "markup.heading.1.scenetest",
|
|
16
|
+
"match": "^(#{1,2})\\s+(.*)$",
|
|
17
|
+
"captures": {
|
|
18
|
+
"1": { "name": "punctuation.definition.heading.scenetest" },
|
|
19
|
+
"2": { "name": "entity.name.section.scenetest" }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"comment": {
|
|
25
|
+
"name": "comment.line.double-slash.scenetest",
|
|
26
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?//\\s*(.*)$",
|
|
27
|
+
"captures": {
|
|
28
|
+
"1": { "name": "comment.line.double-slash.scenetest" }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"actor-declaration": {
|
|
32
|
+
"patterns": [
|
|
33
|
+
{
|
|
34
|
+
"comment": "Actor cue with inline action: user: openTo /login",
|
|
35
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?([a-zA-Z][a-zA-Z0-9_-]*):\\s+(openTo|see|seeInView|notSee|seeText|seeToast|click|typeInto|check|select|wait|emit|waitFor|warnIf|up|prev|scrollToBottom|if)(?:\\s+(.*))?$",
|
|
36
|
+
"captures": {
|
|
37
|
+
"1": { "name": "variable.other.actor.scenetest" },
|
|
38
|
+
"2": { "name": "entity.name.function.action.scenetest" },
|
|
39
|
+
"3": { "patterns": [{ "include": "#action-arguments" }] }
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"comment": "Actor cue standalone: user:",
|
|
44
|
+
"name": "variable.other.actor.scenetest",
|
|
45
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?([a-zA-Z][a-zA-Z0-9_-]*):\\s*$",
|
|
46
|
+
"captures": {
|
|
47
|
+
"1": { "name": "variable.other.actor.scenetest" }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"action-line": {
|
|
53
|
+
"patterns": [
|
|
54
|
+
{
|
|
55
|
+
"comment": "Macro invocation: login() or login() args — args are plain values, not selectors",
|
|
56
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?([a-zA-Z][a-zA-Z0-9_-]*)\\(\\)(?:\\s+(.*))?$",
|
|
57
|
+
"captures": {
|
|
58
|
+
"1": { "name": "entity.name.function.macro.scenetest" },
|
|
59
|
+
"2": { "patterns": [{ "include": "#value-with-interpolation" }] }
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"comment": "Conditional if",
|
|
64
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(if)\\s+(.*)$",
|
|
65
|
+
"captures": {
|
|
66
|
+
"1": { "name": "keyword.control.conditional.scenetest" },
|
|
67
|
+
"2": { "patterns": [{ "include": "#selector-chain" }] }
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"comment": "Coordination actions: emit, waitFor — message names are symbolic like selectors",
|
|
72
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(emit|waitFor)\\s+(.*)$",
|
|
73
|
+
"captures": {
|
|
74
|
+
"1": { "name": "keyword.other.coordination.scenetest" },
|
|
75
|
+
"2": { "patterns": [{ "include": "#selector-chain" }] }
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"comment": "Navigation action: openTo",
|
|
80
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(openTo)\\s+(.*)$",
|
|
81
|
+
"captures": {
|
|
82
|
+
"1": { "name": "entity.name.function.action.scenetest" },
|
|
83
|
+
"2": { "name": "string.other.link.scenetest" }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"comment": "Wait action with number",
|
|
88
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(wait)\\s+(\\d+)$",
|
|
89
|
+
"captures": {
|
|
90
|
+
"1": { "name": "entity.name.function.action.scenetest" },
|
|
91
|
+
"2": { "name": "constant.numeric.scenetest" }
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"comment": "Input actions: typeInto, select (selector + value)",
|
|
96
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(typeInto|select)\\s+(\\S+)\\s+(.*)$",
|
|
97
|
+
"captures": {
|
|
98
|
+
"1": { "name": "entity.name.function.action.scenetest" },
|
|
99
|
+
"2": { "patterns": [{ "include": "#selector-token" }] },
|
|
100
|
+
"3": { "patterns": [{ "include": "#value-with-interpolation" }] }
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"comment": "Warning action: warnIf (selector + message)",
|
|
105
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(warnIf)\\s+(\\S+)\\s+(.*)$",
|
|
106
|
+
"captures": {
|
|
107
|
+
"1": { "name": "entity.name.function.action.scenetest" },
|
|
108
|
+
"2": { "patterns": [{ "include": "#selector-token" }] },
|
|
109
|
+
"3": { "patterns": [{ "include": "#value-with-interpolation" }] }
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"comment": "Text assertion: seeText",
|
|
114
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(seeText)\\s+(.*)$",
|
|
115
|
+
"captures": {
|
|
116
|
+
"1": { "name": "entity.name.function.action.scenetest" },
|
|
117
|
+
"2": { "patterns": [{ "include": "#value-with-interpolation" }] }
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"comment": "Bare scope actions: click, up, prev, scrollToBottom (no arguments)",
|
|
122
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(click|up|prev|scrollToBottom)\\s*$",
|
|
123
|
+
"captures": {
|
|
124
|
+
"1": { "name": "entity.name.function.action.scenetest" }
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"comment": "Selector actions: see, seeInView, notSee, seeToast, click, check, up",
|
|
129
|
+
"match": "^\\s*(?:-\\s*|\\d+\\.\\s*)?(see|seeInView|notSee|seeToast|click|check|up)\\s+(.*)$",
|
|
130
|
+
"captures": {
|
|
131
|
+
"1": { "name": "entity.name.function.action.scenetest" },
|
|
132
|
+
"2": { "patterns": [{ "include": "#selector-chain" }] }
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"action-arguments": {
|
|
138
|
+
"patterns": [
|
|
139
|
+
{ "include": "#interpolation" },
|
|
140
|
+
{ "include": "#sigil" },
|
|
141
|
+
{ "include": "#number" },
|
|
142
|
+
{ "include": "#url" },
|
|
143
|
+
{ "include": "#plain-text" }
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"selector-chain": {
|
|
147
|
+
"patterns": [
|
|
148
|
+
{ "include": "#interpolation" },
|
|
149
|
+
{ "include": "#sigil" },
|
|
150
|
+
{ "include": "#selector-token" }
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"selector-token": {
|
|
154
|
+
"patterns": [
|
|
155
|
+
{
|
|
156
|
+
"comment": "Alias sigil: ~modal — same color as selectors, sigil provides distinction",
|
|
157
|
+
"name": "string.unquoted.selector.scenetest",
|
|
158
|
+
"match": "~[a-zA-Z][a-zA-Z0-9_-]*"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"comment": "Aria-label sigil: @Close — same color as selectors, sigil provides distinction",
|
|
162
|
+
"name": "string.unquoted.selector.scenetest",
|
|
163
|
+
"match": "@[a-zA-Z][a-zA-Z0-9_-]*"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"comment": "Interpolation: [actor.field]",
|
|
167
|
+
"name": "variable.interpolation.scenetest",
|
|
168
|
+
"match": "\\[[a-zA-Z][a-zA-Z0-9_-]*\\.[a-zA-Z][a-zA-Z0-9_-]*\\]"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"comment": "Plain selector token",
|
|
172
|
+
"name": "string.unquoted.selector.scenetest",
|
|
173
|
+
"match": "[a-zA-Z0-9_-]+"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"value-with-interpolation": {
|
|
178
|
+
"comment": "Plain text with optional interpolation - only interpolations get highlighted",
|
|
179
|
+
"patterns": [
|
|
180
|
+
{
|
|
181
|
+
"comment": "Interpolation in value: [actor.field]",
|
|
182
|
+
"name": "variable.interpolation.scenetest",
|
|
183
|
+
"match": "\\[[a-zA-Z][a-zA-Z0-9_-]*\\.[a-zA-Z][a-zA-Z0-9_-]*\\]"
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
"interpolation": {
|
|
188
|
+
"name": "variable.interpolation.scenetest",
|
|
189
|
+
"match": "\\[[a-zA-Z][a-zA-Z0-9_-]*\\.[a-zA-Z][a-zA-Z0-9_-]*\\]"
|
|
190
|
+
},
|
|
191
|
+
"sigil": {
|
|
192
|
+
"patterns": [
|
|
193
|
+
{
|
|
194
|
+
"name": "string.unquoted.selector.scenetest",
|
|
195
|
+
"match": "~[a-zA-Z][a-zA-Z0-9_-]*"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "string.unquoted.selector.scenetest",
|
|
199
|
+
"match": "@[a-zA-Z][a-zA-Z0-9_-]*"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"number": {
|
|
204
|
+
"name": "constant.numeric.scenetest",
|
|
205
|
+
"match": "\\b\\d+\\b"
|
|
206
|
+
},
|
|
207
|
+
"url": {
|
|
208
|
+
"name": "string.other.link.scenetest",
|
|
209
|
+
"match": "(?:https?://[^\\s]+|/[^\\s]*)"
|
|
210
|
+
},
|
|
211
|
+
"plain-text": {
|
|
212
|
+
"name": "string.unquoted.scenetest",
|
|
213
|
+
"match": "[^\\[\\]~@\\s]+"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# User Authentication
|
|
2
|
+
|
|
3
|
+
## new user signs up
|
|
4
|
+
new-user:
|
|
5
|
+
- openTo /signup
|
|
6
|
+
- see signup-form
|
|
7
|
+
- typeInto email-input [new-user.email]
|
|
8
|
+
- typeInto password-input secretpassword123
|
|
9
|
+
- click submit-button
|
|
10
|
+
- see ~modal confirmation-dialog
|
|
11
|
+
- click @Confirm
|
|
12
|
+
- seeToast success-toast
|
|
13
|
+
- see dashboard
|
|
14
|
+
|
|
15
|
+
## existing user logs in
|
|
16
|
+
primary-user:
|
|
17
|
+
- openTo /login
|
|
18
|
+
// Enter credentials
|
|
19
|
+
- see login-form
|
|
20
|
+
- typeInto email [primary-user.email]
|
|
21
|
+
- typeInto password [primary-user.password]
|
|
22
|
+
- click submit
|
|
23
|
+
- wait 1000
|
|
24
|
+
- see dashboard main-content
|
|
25
|
+
|
|
26
|
+
# Multi-Actor Scenarios
|
|
27
|
+
|
|
28
|
+
## sender and receiver exchange messages
|
|
29
|
+
sender:
|
|
30
|
+
- openTo /compose
|
|
31
|
+
- see compose-form
|
|
32
|
+
- typeInto body Hello from sender!
|
|
33
|
+
- click send
|
|
34
|
+
- emit message-sent
|
|
35
|
+
|
|
36
|
+
receiver:
|
|
37
|
+
- waitFor message-sent
|
|
38
|
+
- openTo /inbox
|
|
39
|
+
- seeText New message
|
|
40
|
+
- click inbox-item 12345
|
|
41
|
+
- see message-detail
|
|
42
|
+
- seeInView reply-button
|
|
43
|
+
|
|
44
|
+
# Edge Cases
|
|
45
|
+
|
|
46
|
+
## modal navigation
|
|
47
|
+
user:
|
|
48
|
+
- see ~modal form-container
|
|
49
|
+
- click nested-button
|
|
50
|
+
- prev
|
|
51
|
+
- up
|
|
52
|
+
- scrollToBottom
|
|
53
|
+
- click
|
|
54
|
+
|
|
55
|
+
## conditional flow
|
|
56
|
+
admin:
|
|
57
|
+
- openTo /admin
|
|
58
|
+
- if error-banner
|
|
59
|
+
- click dismiss
|
|
60
|
+
- notSee error-banner
|
|
61
|
+
- see admin-dashboard
|
|
62
|
+
|
|
63
|
+
## macro usage
|
|
64
|
+
test-user:
|
|
65
|
+
- login() alice@test.com secret123
|
|
66
|
+
- see dashboard
|
|
67
|
+
|
|
68
|
+
## warning action
|
|
69
|
+
user:
|
|
70
|
+
- warnIf slow-query Performance issue detected
|
|
71
|
+
- see results
|