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 .github/workflows/e2e-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
key: ${{ steps.playwright-cache.outputs.cache-primary-key }}

- name: Run e2e tests
run: yarn example e2e:web
run: yarn example e2e:web --retries=3
2 changes: 2 additions & 0 deletions example/e2e/maestro/bottom-tabs-preload-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ name: Bottom Tabs - Preload Flow
text: 'Loaded!'
- tapOn:
text: 'Back to home'
- assertVisible:
text: 'Home'
- tapOn:
text: 'Navigate to Details'
- assertVisible:
Expand Down
12 changes: 6 additions & 6 deletions example/e2e/maestro/tab-view-coverflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,39 @@ name: Tab View - Coverflow
- extendedWaitUntil:
visible:
text: 'Number of the Beast'
timeout: 1500
timeout: 2000
- swipe:
direction: LEFT
duration: 300
- extendedWaitUntil:
visible:
text: "It's Blitz"
timeout: 1500
timeout: 2000
- swipe:
direction: RIGHT
duration: 300
- extendedWaitUntil:
visible:
text: 'Number of the Beast'
timeout: 1500
timeout: 2000
- swipe:
direction: RIGHT
duration: 300
- extendedWaitUntil:
visible:
text: 'Homogenic'
timeout: 1500
timeout: 2000
- swipe:
direction: RIGHT
duration: 300
- extendedWaitUntil:
visible:
text: 'Bat Out of Hell'
timeout: 1500
timeout: 2000
- swipe:
direction: LEFT
duration: 300
- extendedWaitUntil:
visible:
text: 'Homogenic'
timeout: 1500
timeout: 2000
14 changes: 7 additions & 7 deletions example/e2e/maestro/tab-view-custom-tab-bar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,44 +13,44 @@ name: Tab View - Custom Tab Bar
- extendedWaitUntil:
visible:
id: 'album-0'
timeout: 1500
timeout: 2000
- tapOn:
id: 'article'
- extendedWaitUntil:
visible:
text: 'What is Lorem Ipsum?'
timeout: 1500
timeout: 2000
- tapOn:
id: 'chat'
delay: 500
- extendedWaitUntil:
visible:
text: 'make me a sandwich'
timeout: 1500
timeout: 2000
- tapOn:
id: 'contacts'
- extendedWaitUntil:
visible:
text: 'Marissa Castillo'
timeout: 1500
timeout: 2000
- swipe:
direction: LEFT
duration: 300
- extendedWaitUntil:
visible:
id: 'album-0'
timeout: 1500
timeout: 2000
- swipe:
direction: LEFT
duration: 300
- extendedWaitUntil:
visible:
text: 'What is Lorem Ipsum?'
timeout: 1500
timeout: 2000
- swipe:
direction: RIGHT
duration: 300
- extendedWaitUntil:
visible:
id: 'album-0'
timeout: 1500
timeout: 2000
14 changes: 7 additions & 7 deletions example/e2e/maestro/tab-view-scrollable-tab-bar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,43 +13,43 @@ name: Tab View - Scrollable Tab Bar
- extendedWaitUntil:
visible:
text: 'What is Lorem Ipsum?'
timeout: 1500
timeout: 2000
- tapOn:
text: 'Albums'
- extendedWaitUntil:
visible:
id: 'album-0'
timeout: 1500
timeout: 2000
- tapOn:
text: 'Chat'
- extendedWaitUntil:
visible:
text: 'make me a sandwich'
timeout: 1500
timeout: 2000
- tapOn:
text: 'Contacts'
- extendedWaitUntil:
visible:
text: 'Marissa Castillo'
timeout: 1500
timeout: 2000
- swipe:
direction: LEFT
duration: 300
- extendedWaitUntil:
visible:
id: 'album-0'
timeout: 1500
timeout: 2000
- swipe:
direction: LEFT
duration: 300
- extendedWaitUntil:
visible:
text: 'make me a sandwich'
timeout: 1500
timeout: 2000
- swipe:
direction: RIGHT
duration: 300
- extendedWaitUntil:
visible:
id: 'album-0'
timeout: 1500
timeout: 2000
1 change: 1 addition & 0 deletions example/server/env.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
process.env.EXPO_OS = 'web';
1 change: 1 addition & 0 deletions example/server/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './resolve-hooks';
import './env';

import {
ServerContainer,
Expand Down
2 changes: 1 addition & 1 deletion example/src/Screens/BottomTabsPreloadFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const linking = {
const DetailsScreen = ({
navigation,
}: BottomTabScreenProps<PreloadBottomTabsParamList, 'Details'>) => {
const [loadingCountdown, setLoadingCountdown] = useState(5);
const [loadingCountdown, setLoadingCountdown] = useState(3);

useEffect(() => {
if (loadingCountdown === 0) {
Expand Down
2 changes: 1 addition & 1 deletion example/src/Screens/NativeStackPreloadFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const linking = {
const DetailsScreen = ({
navigation,
}: NativeStackScreenProps<PreloadNativeStackParamList, 'Details'>) => {
const [loadingCountdown, setLoadingCountdown] = useState(5);
const [loadingCountdown, setLoadingCountdown] = useState(3);

useEffect(() => {
if (loadingCountdown === 0) {
Expand Down
2 changes: 1 addition & 1 deletion example/src/Screens/StackPreloadFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const linking = {
const DetailsScreen = ({
navigation,
}: StackScreenProps<PreloadStackParamList, 'Details'>) => {
const [loadingCountdown, setLoadingCountdown] = useState(5);
const [loadingCountdown, setLoadingCountdown] = useState(3);

useEffect(() => {
if (loadingCountdown === 0) {
Expand Down
Loading