Skip to content

Commit a41f491

Browse files
committed
chore: cleanup tests
1 parent c241a86 commit a41f491

File tree

117 files changed

+69
-165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+69
-165
lines changed

maestro_tests/android/tc4_pager_basic_example.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

maestro_tests/android/tc5_pager_basic_example.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

maestro_tests/android/tc6_pager_basic_example.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

maestro_tests/android/tc7_pager_basic_example.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

maestro_tests/regression/auto_width_tab_bar_example/tc119_AutoWidthTabBarExample.yaml renamed to maestro_tests/auto_width_tab_bar_example/tc119_AutoWidthTabBarExample.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ appId: ${APP_ID}
33
---
44
- runFlow: tc115_AutoWidthTabBarExample.yaml
55
- repeat:
6-
times: 2
7-
commands:
8-
- swipe:
9-
start: '92%,62%'
10-
end: '34%,61%'
11-
duration: 320
6+
times: 2
7+
commands:
8+
- swipe:
9+
start: '92%,62%'
10+
end: '34%,61%'
11+
duration: 320
1212
- assertVisible: 'Write a message'
1313
- tapOn: 'Write a message'
1414
- inputText: 'Cotton candy macaroon carrot cake sesame snaps cake caramels pudding powder'
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
appId: ${APP_ID}
2+
# tc16 The active [Like] button is on each page
3+
---
4+
- launchApp
5+
- assertVisible: 'PagerView Example'
6+
- tapOn: 'Basic Example'
7+
- assertVisible: 'Basic Example'
8+
- assertVisible: 'Page 1 / 10 '
9+
- assertVisible: '7 likes'
10+
- tapOn: '👍 Like'
11+
- assertVisible: '8 likes'
12+
- tapOn: 'Next'
13+
- assertVisible: 'Page 2 / 10 '
14+
- assertVisible: '👍 Like'
15+
- assertVisible: '7 likes'
16+
- tapOn: '👍 Like'
17+
- repeat:
18+
times: 9
19+
commands:
20+
- tapOn:
21+
text: '👍 Like'
22+
retryTapIfNoChange: false
23+
- assertVisible: '17 likes'
24+
- tapOn: 'Last'
25+
- assertVisible: '7 likes'
26+
- tapOn: '👍 Like'
27+
- repeat:
28+
times: 25
29+
commands:
30+
- tapOn:
31+
text: '👍 Like'
32+
retryTapIfNoChange: false
33+
- assertVisible: '33 likes'
34+
- tapOn: 'Prev'
35+
- assertVisible: '7 likes'
36+
- tapOn: '👍 Like'
37+
- repeat:
38+
times: 79
39+
commands:
40+
- tapOn:
41+
text: '👍 Like'
42+
retryTapIfNoChange: false
43+
- assertVisible: '87 likes'
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
appId: ${APP_ID}
2+
# tc17 The amount of likes added doesn’t change while swiping pages
3+
---
4+
- runFlow: tc16_pager_basic_example.yaml
5+
- tapOn: 'Next'
6+
- assertVisible: '33 likes'
7+
- tapOn: 'Prev'
8+
- assertVisible: '87 likes'
9+
- tapOn: 'Start'
10+
- assertVisible: '8 likes'
11+
- tapOn: 'Next'
12+
- assertVisible: '17 likes'
13+
- tapOn: 'Prev'
14+
- assertVisible: '8 likes'
15+
- tapOn: 'Last'
16+
- assertVisible: '33 likes'
17+
- tapOn: 'Prev'
18+
- assertVisible: '87 likes'

maestro_tests/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
flows:
2-
- 'regression/**/*'
2+
- '**'

maestro_tests/ios/tc16_pager_basic_example.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

maestro_tests/ios/tc17_pager_basic_example.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"bootstrap": "yarn example && yarn && yarn example pods",
3333
"fabricexample": "yarn --cwd fabricexample",
3434
"bootstrap-fabric": "yarn fabricexample && yarn && yarn fabricexample pods",
35-
"maestro-android": "APP_ID=com.pagerviewexample maestro test maestro_tests/regression",
35+
"maestro-android": "APP_ID=com.pagerviewexample maestro test maestro_tests",
3636
"maestro-ios": "APP_ID=org.reactjs.native.example.FabricExample maestro test maestro_tests"
3737
},
3838
"keywords": [

0 commit comments

Comments
 (0)