Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .maestro/enrichedInput/flows/checkbox_toggle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,22 @@ appId: swmansion.enriched.example

- tapOn:
id: "toolbar-checkbox-list"
- inputText: "Item one"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Item one"
- pressKey: Enter
- inputText: "Item two"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Item two"
- pressKey: Enter

- pressKey: Backspace
- inputText: "Plain text"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Plain text"
- pressKey: Enter

- tapOn:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ appId: swmansion.enriched.example
- tapOn:
id: "toolbar-code-block"

- inputText: "Hello example.com"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Hello example.com"

- assertVisible:
id: "toolbar-link"
Expand Down
5 changes: 4 additions & 1 deletion .maestro/enrichedInput/flows/codeblock_style_blocking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ appId: swmansion.enriched.example
- tapOn:
id: "toolbar-code-block"

- inputText: "ABC example.com"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "ABC example.com"

- assertVisible:
id: "toolbar-bold"
Expand Down
25 changes: 20 additions & 5 deletions .maestro/enrichedInput/flows/conflicting_paragraph_merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,20 @@ appId: swmansion.enriched.example

- tapOn:
id: "toolbar-code-block"
- inputText: "Code text"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Code text"
- pressKey: Enter

- tapOn:
id: "toolbar-code-block"
- tapOn:
id: "toolbar-heading-1"
- inputText: "H1"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "H1"

# Position cursor at start of H1 line
- tapOn:
Expand All @@ -30,7 +36,10 @@ appId: swmansion.enriched.example
- runFlow:
commands:
- pressKey: Backspace
- inputText: " "
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: " "

- tapOn:
id: "editor-input"
Expand All @@ -42,14 +51,20 @@ appId: swmansion.enriched.example

- tapOn:
id: "toolbar-inline-code"
- inputText: "Inline code"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Inline code"

- tapOn:
id: "editor-input"
point: "5%, 75%"

- pressKey: Backspace
- inputText: " "
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: " "

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,45 +1,54 @@
appId: swmansion.enriched.example
tags:
- android-only
- android-only
---
- launchApp
- tapOn:
id: "toggle-screen-button"
id: 'toggle-screen-button'

- tapOn:
id: "focus-button"
id: 'focus-button'

- inputText: "EADING"
- doubleTapOn:
id: "editor-input"
point: "10%, 50%"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: 'EADING'
- tapOn:
id: 'editor-input'
point: '10%, 50%'
- tapOn:
id: 'editor-input'
point: '10%, 50%'

- tapOn:
id: "android:id/floating_toolbar_menu_item_text"
text: "Copy"
id: 'android:id/floating_toolbar_menu_item_text'
text: 'Copy'

# Dismiss toolbar with Copy/Cut etc. options
- tapOn:
id: "editor-input"
id: 'editor-input'
- tapOn:
id: "clear-button"
id: 'clear-button'
- tapOn:
id: "focus-button"
id: 'focus-button'

- tapOn:
id: "toolbar-heading-1"
id: 'toolbar-heading-1'

- inputText: "H"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: 'H'

- longPressOn:
id: "editor-input"
point: "50%, 50%"
id: 'editor-input'
point: '50%, 50%'

- tapOn:
id: "android:id/floating_toolbar_menu_item_text"
text: "Paste"
id: 'android:id/floating_toolbar_menu_item_text'
text: 'Paste'

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
file: '../subflows/capture_or_assert_screenshot.yaml'
env:
SCREENSHOT_NAME: "extending_paragraph_style_on_paste_after_copy"
SCREENSHOT_NAME: 'extending_paragraph_style_on_paste_after_copy'
Original file line number Diff line number Diff line change
@@ -1,37 +1,46 @@
appId: swmansion.enriched.example
tags:
- android-only
- android-only
---
- launchApp
- tapOn:
id: "toggle-screen-button"
id: 'toggle-screen-button'

- tapOn:
id: "focus-button"
id: 'focus-button'

- inputText: "EADING"
- doubleTapOn:
id: "editor-input"
point: "10%, 50%"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: 'EADING'
- tapOn:
id: 'editor-input'
point: '10%, 50%'
- tapOn:
id: 'editor-input'
point: '10%, 50%'

- tapOn:
id: "android:id/floating_toolbar_menu_item_text"
text: "Cut"
id: 'android:id/floating_toolbar_menu_item_text'
text: 'Cut'

- tapOn:
id: "toolbar-heading-1"
id: 'toolbar-heading-1'

- inputText: "H"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: 'H'

- longPressOn:
id: "editor-input"
point: "50%, 50%"
id: 'editor-input'
point: '50%, 50%'

- tapOn:
id: "android:id/floating_toolbar_menu_item_text"
text: "Paste"
id: 'android:id/floating_toolbar_menu_item_text'
text: 'Paste'

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
file: '../subflows/capture_or_assert_screenshot.yaml'
env:
SCREENSHOT_NAME: "extending_paragraph_style_on_paste_after_cut"
SCREENSHOT_NAME: 'extending_paragraph_style_on_paste_after_cut'
50 changes: 40 additions & 10 deletions .maestro/enrichedInput/flows/font_scaling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,39 +15,69 @@ tags:
- tapOn:
id: "editor-input"

- inputText: "Plain "
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Plain "

- tapOn:
id: "toolbar-bold"
- inputText: "bold"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "bold"
- tapOn:
id: "toolbar-bold"
- inputText: " "
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: " "

- tapOn:
id: "toolbar-italic"
- inputText: "italic"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "italic"
- tapOn:
id: "toolbar-italic"
- inputText: " "
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: " "

- tapOn:
id: "toolbar-underline"
- inputText: "underline"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "underline"
- tapOn:
id: "toolbar-underline"
- inputText: " "
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: " "

- tapOn:
id: "toolbar-strikethrough"
- inputText: "strike-through"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "strike-through"
- tapOn:
id: "toolbar-strikethrough"
- inputText: " "
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: " "

- tapOn:
id: "toolbar-inline-code"
- inputText: "code"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "code"
- tapOn:
id: "toolbar-inline-code"

Expand Down
5 changes: 4 additions & 1 deletion .maestro/enrichedInput/flows/html_link_not_extended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ appId: swmansion.enriched.example
id: "editor-input"
point: "95%, 50%"

- inputText: " extra"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: " extra"

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
Expand Down
15 changes: 12 additions & 3 deletions .maestro/enrichedInput/flows/image_position_stability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@ appId: swmansion.enriched.example
- tapOn:
id: "editor-input"

- inputText: "Paragraph one"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Paragraph one"
- pressKey: Enter
- pressKey: Enter

- inputText: "Paragraph two"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Paragraph two"

- tapOn:
id: "editor-input"
Expand All @@ -37,7 +43,10 @@ appId: swmansion.enriched.example
- tapOn:
id: "editor-input"
point: "50%,50%"
- inputText: "Paragraph in the middle"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "Paragraph in the middle"

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ appId: swmansion.enriched.example

- waitForAnimationToEnd

- inputText: "snippet"
- runFlow:
file: '../../subflows/input_text.yaml'
env:
TEXT: "snippet"

- assertVisible:
id: "toolbar-link"
Expand Down
Loading
Loading