Fix tests

This commit is contained in:
Paul Frazee
2024-12-17 21:29:45 -08:00
parent ff02868afc
commit 3262b83420
6 changed files with 29 additions and 22 deletions
+4 -4
View File
@@ -26,7 +26,7 @@ appId: xyz.blueskyweb.app
- tapOn: "Save" - tapOn: "Save"
- assertNotVisible: - assertNotVisible:
id: "createOrEditListModal" id: "createOrEditListModal"
- tapOn: "About" - tapOn: "People"
- assertVisible: "Good Ppl" - assertVisible: "Good Ppl"
- assertVisible: "They good" - assertVisible: "They good"
@@ -93,10 +93,10 @@ appId: xyz.blueskyweb.app
- tapOn: "Save" - tapOn: "Save"
- assertNotVisible: - assertNotVisible:
id: "createOrEditListModal" id: "createOrEditListModal"
- tapOn: "About" - tapOn: "People"
- assertVisible: "Good Ppl" - assertVisible: "Good Ppl"
- assertVisible: "They good" - assertVisible: "They good"
- tapOn: "About" - tapOn: "People"
- tapOn: - tapOn:
label: "Adds users on curatelists from the list" label: "Adds users on curatelists from the list"
@@ -145,7 +145,7 @@ appId: xyz.blueskyweb.app
id: "e2eGotoLists" id: "e2eGotoLists"
- tapOn: "Good Ppl" - tapOn: "Good Ppl"
- tapOn: "About" - tapOn: "People"
- assertVisible: - assertVisible:
label: "Removes users on curatelists from the list" label: "Removes users on curatelists from the list"
id: "user-bob.test" id: "user-bob.test"
+8 -16
View File
@@ -11,10 +11,8 @@ appId: xyz.blueskyweb.app
# Pin alice's feed # Pin alice's feed
- extendedWaitUntil: - extendedWaitUntil:
visible: visible: "Open drawer menu"
id: "viewHeaderDrawerBtn" - tapOn: "Open drawer menu"
- tapOn:
id: "viewHeaderDrawerBtn"
- tapOn: - tapOn:
id: "profileCardButton" id: "profileCardButton"
- tapOn: - tapOn:
@@ -32,8 +30,7 @@ appId: xyz.blueskyweb.app
text: "alice-favs" text: "alice-favs"
# Set alice-favs first # Set alice-favs first
- tapOn: - tapOn: "Open drawer menu"
id: "viewHeaderDrawerBtn"
- tapOn: - tapOn:
id: "menuItemButton-Feeds" id: "menuItemButton-Feeds"
- tapOn: - tapOn:
@@ -44,8 +41,7 @@ appId: xyz.blueskyweb.app
- tapOn: - tapOn:
label: "Save button" label: "Save button"
id: "saveChangesBtn" id: "saveChangesBtn"
- tapOn: - tapOn: "Go back"
id: "viewHeaderDrawerBtn"
- assertVisible: - assertVisible:
id: "homeScreenFeedTabs-selector-0" id: "homeScreenFeedTabs-selector-0"
text: "alice-favs" text: "alice-favs"
@@ -54,8 +50,7 @@ appId: xyz.blueskyweb.app
text: "Following" text: "Following"
# Set following first # Set following first
- tapOn: - tapOn: "Open drawer menu"
id: "viewHeaderDrawerBtn"
- tapOn: - tapOn:
id: "menuItemButton-Feeds" id: "menuItemButton-Feeds"
- tapOn: - tapOn:
@@ -66,8 +61,7 @@ appId: xyz.blueskyweb.app
- tapOn: - tapOn:
label: "Save button" label: "Save button"
id: "saveChangesBtn" id: "saveChangesBtn"
- tapOn: - tapOn: "Go back"
id: "viewHeaderDrawerBtn"
- assertVisible: - assertVisible:
id: "homeScreenFeedTabs-selector-0" id: "homeScreenFeedTabs-selector-0"
text: "Following" text: "Following"
@@ -76,8 +70,7 @@ appId: xyz.blueskyweb.app
text: "alice-favs" text: "alice-favs"
# Remove following # Remove following
- tapOn: - tapOn: "Open drawer menu"
id: "viewHeaderDrawerBtn"
- tapOn: - tapOn:
id: "menuItemButton-Feeds" id: "menuItemButton-Feeds"
- tapOn: - tapOn:
@@ -88,8 +81,7 @@ appId: xyz.blueskyweb.app
- tapOn: - tapOn:
label: "Save button" label: "Save button"
id: "saveChangesBtn" id: "saveChangesBtn"
- tapOn: - tapOn: "Go back"
id: "viewHeaderDrawerBtn"
- assertVisible: - assertVisible:
id: "homeScreenFeedTabs-selector-0" id: "homeScreenFeedTabs-selector-0"
text: "alice-favs" text: "alice-favs"
+3 -1
View File
@@ -27,7 +27,9 @@ appId: xyz.blueskyweb.app
- tapOn: - tapOn:
id: "bottomBarHomeBtn" id: "bottomBarHomeBtn"
- tapOn: - tapOn:
id: "viewHeaderDrawerBtn" id: "bottomBarHomeBtn"
- tapOn:
id: "bottomBarHomeBtn"
- assertNotVisible: "Feeds ✨" - assertNotVisible: "Feeds ✨"
- tapOn: - tapOn:
+1 -1
View File
@@ -14,7 +14,7 @@ appId: xyz.blueskyweb.app
id: "e2eGotoModeration" id: "e2eGotoModeration"
- tapOn: - tapOn:
id: "moderationlistsBtn" id: "moderationlistsBtn"
- tapOn: "New" - tapOn: "New list"
- tapOn: - tapOn:
id: "editNameInput" id: "editNameInput"
- inputText: "Muted Users" - inputText: "Muted Users"
+2
View File
@@ -6,6 +6,8 @@ appId: xyz.blueskyweb.app
- waitForAnimationToEnd - waitForAnimationToEnd
- tapOn: "http://localhost:8081" - tapOn: "http://localhost:8081"
- waitForAnimationToEnd - waitForAnimationToEnd
- extendedWaitUntil:
visible: "Continue"
- swipe: - swipe:
from: "Bluesky" from: "Bluesky"
direction: DOWN direction: DOWN
@@ -0,0 +1,11 @@
export function useNotificationsRegistration() {}
export function useRequestNotificationsPermission() {
return async (
_context: 'StartOnboarding' | 'AfterOnboarding' | 'Login' | 'Home',
) => {}
}
export async function decrementBadgeCount(_by: number) {}
export async function resetBadgeCount() {}