-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathcodeblock_style_blocking.yaml
More file actions
53 lines (41 loc) · 1 KB
/
Copy pathcodeblock_style_blocking.yaml
File metadata and controls
53 lines (41 loc) · 1 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
appId: swmansion.enriched.example
---
# Verifies that inside a code block, inline styles and rich features are
# blocked in the toolbar. Code blocks do not support inline formatting,
# automatic link detection, or mention insertion.
- launchApp
- tapOn:
id: "toggle-screen-button"
- tapOn:
id: "editor-input"
- tapOn:
id: "toolbar-code-block"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "ABC example.com"
- assertVisible:
id: "toolbar-bold"
enabled: false
- assertVisible:
id: "toolbar-italic"
enabled: false
- assertVisible:
id: "toolbar-underline"
enabled: false
- assertVisible:
id: "toolbar-strikethrough"
enabled: false
- assertVisible:
id: "toolbar-inline-code"
enabled: false
- assertVisible:
id: "toolbar-link"
enabled: false
- assertVisible:
id: "toolbar-mention"
enabled: false
- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
env:
SCREENSHOT_NAME: "codeblock_style_blocking"