Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .maestro/tests/material_top_bar_example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
appId: com.pagerviewexample
---
- runFlow: material_top_bar_example_setup.yaml
- runFlow: ../setup/material_top_bar_example_setup.yaml

- tapOn:
id: 'material-top-bar-login-button'
Expand Down
2 changes: 1 addition & 1 deletion .maestro/tests/nested_pagerView_example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
appId: com.pagerviewexample
---
- runFlow: nested_pagerView_example_setup.yaml
- runFlow: ../setup/nested_pagerView_example_setup.yaml

- swipe:
from:
Expand Down
2 changes: 1 addition & 1 deletion .maestro/tests/on_page_selected_example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
appId: com.pagerviewexample
---
- runFlow: on_page_selected_example_setup.yaml
- runFlow: ../setup/on_page_selected_example_setup.yaml

- tapOn: 'OK'

Expand Down
2 changes: 1 addition & 1 deletion .maestro/tests/pager_basic_example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
appId: com.pagerviewexample
---
- runFlow: pager_basic_example_setup.yaml
- runFlow: ../setup/pager_basic_example_setup.yaml
- tapOn: 'Scroll Enabled'
- swipe:
from:
Expand Down
2 changes: 1 addition & 1 deletion .maestro/tests/pager_vertical_basic_example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
appId: com.pagerviewexample
---
- runFlow: pager_vertical_basic_example_setup.yaml
- runFlow: ../setup/pager_vertical_basic_example_setup.yaml
- tapOn: 'Scroll Enabled'
- swipe:
from:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ appId: com.pagerviewexample
text: 'PagerView Example'
timeout: 15000

- tapOn: 'LTR'
- runFlow:
when:
visible: 'LTR'
commands:
- tapOn: 'LTR'

- extendedWaitUntil:
visible:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ appId: com.pagerviewexample
text: 'PagerView Example'
timeout: 15000

- tapOn: 'LTR'
- runFlow:
when:
visible: 'LTR'
commands:
- tapOn: 'LTR'

- extendedWaitUntil:
visible:
Expand Down
2 changes: 1 addition & 1 deletion .maestro/tests/scrollable_pagerView_example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
appId: com.pagerviewexample
---
- runFlow: scrollable_pagerView_example_setup.yaml
- runFlow: ../setup/scrollable_pagerView_example_setup.yaml

- swipe:
start: 90%, 30%
Expand Down
2 changes: 1 addition & 1 deletion .maestro/tests/tab_view_inside_scroll_view_example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
appId: com.pagerviewexample
---
- runFlow: tab_view_inside_scroll_view_example_setup.yaml
- runFlow: ../setup/tab_view_inside_scroll_view_example_setup.yaml

- swipe:
start: 90%, 45%
Expand Down
4 changes: 3 additions & 1 deletion example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
* @format
*/

import { AppRegistry } from 'react-native';
import { AppRegistry, LogBox } from 'react-native';
import { Navigation } from './src/App';
import { name as appName } from './app.json';

LogBox.ignoreAllLogs(true);
Comment thread
troZee marked this conversation as resolved.

AppRegistry.registerComponent(appName, () => Navigation);
2 changes: 1 addition & 1 deletion example/src/tabView/TabViewInsideScrollViewExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const styles = StyleSheet.create({
},
header:{
width:'100%',
height:300,
height:200,
backgroundColor:'purple',
},
});
3 changes: 2 additions & 1 deletion scripts/run-maestro-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trap 'exit 130' INT TERM
PLATFORM=${1:-}
APPID="com.pagerviewexample"
MAX_ATTEMPTS=${MAX_ATTEMPTS:-3}
RETRY_DELAYS=(30 120)
RETRY_DELAYS=(5 15)
DEVICE_ID=${MAESTRO_DEVICE:-${DEVICE_ID:-}}
SHARD_COUNT=${SHARD_COUNT:-}
SHARD_INDEX=${SHARD_INDEX:-}
Expand Down Expand Up @@ -48,6 +48,7 @@ shopt -s nullglob
allTestFiles=(
.maestro/tests/*.yaml
.maestro/"$PLATFORM"-only/*.yaml
.maestro/tests/rtl/*.yaml
)

if [ ${#allTestFiles[@]} -eq 0 ]; then
Expand Down
Loading