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
71 changes: 71 additions & 0 deletions .maestro/enrichedInput/flows/nested_lists_indent_outdent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
appId: swmansion.enriched.example
---
# Validates indenting, list type switching, checkbox toggling and outdenting of nested lists
- launchApp

- tapOn:
id: "toggle-screen-button"

- tapOn:
id: "editor-input"

- tapOn:
id: "toolbar-unordered-list"
- inputText: "One"
- pressKey: Enter
- inputText: "Two"
- pressKey: Enter
- inputText: "Three"

# Select all
- longPressOn:
id: "editor-input"
point: "30%, 50%"
- tapOn:
text: "Select All"

- tapOn:
id: "toolbar-indent"
- tapOn:
id: "toolbar-indent"
- tapOn:
id: "toolbar-indent"

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
env:
SCREENSHOT_NAME: "nested_lists_indent_outdent_indented"

- doubleTapOn:
id: "editor-input"
point: "50%, 50%"

# Move cursor to the second list element and switch it to an ordered list
- tapOn:
id: "editor-input"
point: "50%, 50%"
- tapOn:
id: "toolbar-ordered-list"


# Move cursor to the last list element and turn it into a checkbox item
- tapOn:
id: "editor-input"
point: "80%, 80%"
- tapOn:
id: "toolbar-checkbox-list"

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
env:
SCREENSHOT_NAME: "nested_lists_indent_outdent_toggled"

- tapOn:
id: "toolbar-outdent"
- tapOn:
id: "toolbar-outdent"

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
env:
SCREENSHOT_NAME: "nested_lists_indent_outdent_outdented"
34 changes: 34 additions & 0 deletions .maestro/enrichedInput/flows/nested_lists_mixed_parsing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
appId: swmansion.enriched.example
---
# Validates parsing of nested unordered > ordered > checkbox lists
- launchApp

- tapOn:
id: "toggle-screen-button"

- runFlow:
file: "../subflows/set_editor_value.yaml"
env:
VALUE: >
<html>
<ul>
<li>1</li>
<li>2<ol>
<li>3</li>
<li>4<ul data-type="checkbox">
<li checked>5</li>
<li>6</li>
</ul>
</li>
</ol>
</li>
</ul>
</html>

- tapOn:
id: "size-max-button"

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
env:
SCREENSHOT_NAME: "nested_lists_mixed_parsing"
34 changes: 34 additions & 0 deletions .maestro/enrichedInput/flows/nested_ordered_lists_parsing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
appId: swmansion.enriched.example
---
# Validates parsing and numbering of nested ordered lists
- launchApp

- tapOn:
id: "toggle-screen-button"

- runFlow:
file: "../subflows/set_editor_value.yaml"
env:
VALUE: >
<html>
<ol>
<li>A<ol>
<li>B</li>
<li>B<ol>
<li>C</li>
</ol>
</li>
<li>B</li>
</ol>
</li>
<li>A</li>
</ol>
</html>

- tapOn:
id: "size-max-button"

- runFlow:
file: "../subflows/capture_or_assert_screenshot.yaml"
env:
SCREENSHOT_NAME: "nested_ordered_lists_parsing"
Binary file modified .maestro/enrichedInput/screenshots/android/checkbox_toggle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions .maestro/enrichedText/flows/nested_lists_display.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
appId: swmansion.enriched.example
---
# Validates display of nested unordered, ordered and checkbox lists
- launchApp

- tapOn:
id: 'toggle-screen-button'

- tapOn:
id: 'toggle-enriched-text-screen-button'

- runFlow:
file: '../subflows/set_enriched_text_value.yaml'
env:
VALUE: >
<html>
<ul>
<li>1</li>
<li>2<ol>
<li>3</li>
<li>4<ul data-type="checkbox">
<li checked>5</li>
<li>6</li>
</ul>
</li>
<li>7</li>
</ol>
</li>
</ul>
</html>

- runFlow:
file: '../subflows/capture_or_assert_screenshot.yaml'
env:
SCREENSHOT_NAME: 'nested_lists_display'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.