diff --git a/__e2e__/flows/curate-lists.yml b/__e2e__/flows/curate-lists.yml index 662ec84233..41c3f2c7cc 100644 --- a/__e2e__/flows/curate-lists.yml +++ b/__e2e__/flows/curate-lists.yml @@ -26,7 +26,7 @@ appId: xyz.blueskyweb.app - tapOn: "Save" - assertNotVisible: id: "createOrEditListModal" -- tapOn: "About" +- tapOn: "People" - assertVisible: "Good Ppl" - assertVisible: "They good" @@ -93,10 +93,10 @@ appId: xyz.blueskyweb.app - tapOn: "Save" - assertNotVisible: id: "createOrEditListModal" -- tapOn: "About" +- tapOn: "People" - assertVisible: "Good Ppl" - assertVisible: "They good" -- tapOn: "About" +- tapOn: "People" - tapOn: label: "Adds users on curatelists from the list" @@ -145,7 +145,7 @@ appId: xyz.blueskyweb.app id: "e2eGotoLists" - tapOn: "Good Ppl" -- tapOn: "About" +- tapOn: "People" - assertVisible: label: "Removes users on curatelists from the list" id: "user-bob.test" diff --git a/__e2e__/flows/feed-reorder.yml b/__e2e__/flows/feed-reorder.yml index c502373c42..6e37321221 100644 --- a/__e2e__/flows/feed-reorder.yml +++ b/__e2e__/flows/feed-reorder.yml @@ -11,10 +11,8 @@ appId: xyz.blueskyweb.app # Pin alice's feed - extendedWaitUntil: - visible: - id: "viewHeaderDrawerBtn" -- tapOn: - id: "viewHeaderDrawerBtn" + visible: "Open drawer menu" +- tapOn: "Open drawer menu" - tapOn: id: "profileCardButton" - tapOn: @@ -32,8 +30,7 @@ appId: xyz.blueskyweb.app text: "alice-favs" # Set alice-favs first -- tapOn: - id: "viewHeaderDrawerBtn" +- tapOn: "Open drawer menu" - tapOn: id: "menuItemButton-Feeds" - tapOn: @@ -44,8 +41,7 @@ appId: xyz.blueskyweb.app - tapOn: label: "Save button" id: "saveChangesBtn" -- tapOn: - id: "viewHeaderDrawerBtn" +- tapOn: "Go back" - assertVisible: id: "homeScreenFeedTabs-selector-0" text: "alice-favs" @@ -54,8 +50,7 @@ appId: xyz.blueskyweb.app text: "Following" # Set following first -- tapOn: - id: "viewHeaderDrawerBtn" +- tapOn: "Open drawer menu" - tapOn: id: "menuItemButton-Feeds" - tapOn: @@ -66,8 +61,7 @@ appId: xyz.blueskyweb.app - tapOn: label: "Save button" id: "saveChangesBtn" -- tapOn: - id: "viewHeaderDrawerBtn" +- tapOn: "Go back" - assertVisible: id: "homeScreenFeedTabs-selector-0" text: "Following" @@ -76,8 +70,7 @@ appId: xyz.blueskyweb.app text: "alice-favs" # Remove following -- tapOn: - id: "viewHeaderDrawerBtn" +- tapOn: "Open drawer menu" - tapOn: id: "menuItemButton-Feeds" - tapOn: @@ -88,8 +81,7 @@ appId: xyz.blueskyweb.app - tapOn: label: "Save button" id: "saveChangesBtn" -- tapOn: - id: "viewHeaderDrawerBtn" +- tapOn: "Go back" - assertVisible: id: "homeScreenFeedTabs-selector-0" text: "alice-favs" diff --git a/__e2e__/flows/home-screen.yml b/__e2e__/flows/home-screen.yml index b7e96282d7..e818168065 100644 --- a/__e2e__/flows/home-screen.yml +++ b/__e2e__/flows/home-screen.yml @@ -27,7 +27,9 @@ appId: xyz.blueskyweb.app - tapOn: id: "bottomBarHomeBtn" - tapOn: - id: "viewHeaderDrawerBtn" + id: "bottomBarHomeBtn" +- tapOn: + id: "bottomBarHomeBtn" - assertNotVisible: "Feeds ✨" - tapOn: diff --git a/__e2e__/flows/mod-lists.yml b/__e2e__/flows/mod-lists.yml index 54832a07eb..ef757c5b11 100644 --- a/__e2e__/flows/mod-lists.yml +++ b/__e2e__/flows/mod-lists.yml @@ -14,7 +14,7 @@ appId: xyz.blueskyweb.app id: "e2eGotoModeration" - tapOn: id: "moderationlistsBtn" -- tapOn: "New" +- tapOn: "New list" - tapOn: id: "editNameInput" - inputText: "Muted Users" diff --git a/__e2e__/setupApp.yml b/__e2e__/setupApp.yml index 8c3ffd2d3b..25f9aa8470 100644 --- a/__e2e__/setupApp.yml +++ b/__e2e__/setupApp.yml @@ -6,6 +6,8 @@ appId: xyz.blueskyweb.app - waitForAnimationToEnd - tapOn: "http://localhost:8081" - waitForAnimationToEnd +- extendedWaitUntil: + visible: "Continue" - swipe: from: "Bluesky" direction: DOWN diff --git a/src/lib/notifications/notifications.e2e.ts b/src/lib/notifications/notifications.e2e.ts new file mode 100644 index 0000000000..0586ac1bf8 --- /dev/null +++ b/src/lib/notifications/notifications.e2e.ts @@ -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() {}