Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

More e2e test fixes (#5982)

* fix feed reorder test

* fix feed reorder test pt 2

* fix edit profile test

* fix mod list test

* fix fab

* add assert

* one more assertVisible

* fix search test

* tap now now if it shows up

authored by

Hailey and committed by
GitHub
3244e1c4 84db1f99

+50 -31
+2
__e2e__/flows/composer-self-label.yml
··· 10 10 id: "e2eSignInAlice" 11 11 12 12 # Post an image with the porn label 13 + - assertVisible: 14 + id: "composeFAB" 13 15 - tapOn: 14 16 id: "composeFAB" 15 17 - inputText: "Post with an image"
+3 -1
__e2e__/flows/composer.yml
··· 8 8 file: ../setupApp.yml 9 9 - tapOn: 10 10 id: "e2eSignInAlice" 11 + - assertVisible: 12 + id: "composeFAB" 11 13 - tapOn: 12 14 id: "composeFAB" 13 15 - inputText: "Post text only" ··· 60 62 id: "repostBtn" 61 63 - tapOn: 62 64 id: "quoteBtn" 63 - - inputText: "QP text only" 65 + - inputText: "QP text only" 64 66 - tapOn: 65 67 id: "composerPublishBtn" 66 68 - assertVisible:
+1
__e2e__/flows/create-account.yml
··· 29 29 - pressKey: Enter 30 30 - tapOn: 31 31 id: "nextBtn" 32 + - tapOn: "Not now" 32 33 - tapOn: 33 34 id: "handleInput" 34 35 - inputText: "e2e-test"
-4
__e2e__/flows/curate-lists.yml
··· 23 23 id: "editDescriptionInput" 24 24 - inputText: "They good" 25 25 - tapOn: "Save" 26 - - tapOn: "Save" 27 26 - assertNotVisible: 28 27 id: "createOrEditListModal" 29 28 - tapOn: "About" ··· 45 44 id: "editDescriptionInput" 46 45 - eraseText 47 46 - inputText: "They bad" 48 - - tapOn: "Save" 49 47 - tapOn: "Save" 50 48 - assertNotVisible: 51 49 id: "createOrEditListModal" ··· 62 60 id: "editDescriptionInput" 63 61 - eraseText 64 62 - tapOn: "Save" 65 - - tapOn: "Save" 66 63 - assertNotVisible: 67 64 id: "createOrEditListModal" 68 65 - assertNotVisible: ··· 89 86 - tapOn: 90 87 id: "editDescriptionInput" 91 88 - inputText: "They good" 92 - - tapOn: "Save" 93 89 - tapOn: "Save" 94 90 - assertNotVisible: 95 91 id: "createOrEditListModal"
+12 -9
__e2e__/flows/feed-reorder.yml
··· 36 36 id: "viewHeaderDrawerBtn" 37 37 - tapOn: 38 38 id: "menuItemButton-Feeds" 39 - - tapOn: 39 + - tapOn: 40 40 id: "editFeedsBtn" 41 41 - tapOn: 42 42 label: "Tap on down arrow" 43 - point: "79%,23%" 43 + id: "feed-timeline-moveDown" 44 44 - tapOn: 45 - id: "viewHeaderDrawerBtn" 45 + label: "Save button" 46 + id: "saveChangesBtn" 46 47 - tapOn: 47 48 id: "viewHeaderDrawerBtn" 48 49 - assertVisible: ··· 57 58 id: "viewHeaderDrawerBtn" 58 59 - tapOn: 59 60 id: "menuItemButton-Feeds" 60 - - tapOn: 61 + - tapOn: 61 62 id: "editFeedsBtn" 62 63 - tapOn: 63 64 label: "Tap on down arrow" 64 - point: "79%,23%" 65 + id: "feed-feed-moveDown" 65 66 - tapOn: 66 - id: "viewHeaderDrawerBtn" 67 + label: "Save button" 68 + id: "saveChangesBtn" 67 69 - tapOn: 68 70 id: "viewHeaderDrawerBtn" 69 71 - assertVisible: ··· 78 80 id: "viewHeaderDrawerBtn" 79 81 - tapOn: 80 82 id: "menuItemButton-Feeds" 81 - - tapOn: 83 + - tapOn: 82 84 id: "editFeedsBtn" 83 85 - tapOn: 84 86 label: "Tap on unpin" 85 - point: "91%,23%" 87 + id: "feed-timeline-togglePin" 86 88 - tapOn: 87 - id: "viewHeaderDrawerBtn" 89 + label: "Save button" 90 + id: "saveChangesBtn" 88 91 - tapOn: 89 92 id: "viewHeaderDrawerBtn" 90 93 - assertVisible:
+3 -2
__e2e__/flows/login.yml
··· 9 9 - tapOn: 10 10 id: "e2eOpenLoggedOutView" 11 11 - tapOn: "Sign in" 12 - - tapOn: 12 + - tapOn: 13 13 id: "selectServiceButton" 14 14 - tapOn: "Custom" 15 15 - tapOn: ··· 23 23 id: "loginPasswordInput" 24 24 - inputText: "hunter2" 25 25 - pressKey: Enter 26 - - assertVisible: "Following" 26 + - tapOn: "Not now" 27 + - assertVisible: "Following"
+8 -7
__e2e__/flows/mod-lists.yml
··· 22 22 id: "editDescriptionInput" 23 23 - inputText: "Shhh" 24 24 - tapOn: "Save" 25 - - tapOn: "Save" 26 25 27 26 # view modlist 28 27 - assertVisible: "Muted Users" 29 28 - assertVisible: "Shhh" 30 29 31 - # toggle mute subscription 32 30 - tapOn: 33 - point: "70%,9%" 31 + label: "Dropdown" 32 + point: "71%,9%" 33 + 34 34 - tapOn: "Mute accounts" 35 35 - tapOn: "Mute list" 36 36 - tapOn: "Unmute" 37 37 38 - # toggle block subscription 39 38 - tapOn: 40 - point: "70%,9%" 39 + label: "Dropdown" 40 + point: "71%,9%" 41 + 41 42 - tapOn: "Block accounts" 42 43 - tapOn: "Block list" 43 44 - tapOn: "Unblock" 44 - 45 - # the rest of the behaviors are tested in curate-lists.yml 45 + 46 + # the rest of the behaviors are tested in curate-lists.yml
+1
__e2e__/flows/search-screen.yml
··· 12 12 # Navigate to another user profile via autocomplete 13 13 - tapOn: 14 14 id: "bottomBarSearchBtn" 15 + - assertVisible: "Search" 15 16 - tapOn: "Search" 16 17 - inputText: "b" 17 18 - tapOn:
+2
__e2e__/flows/shared-prefs.yml
··· 8 8 file: ../setupApp.yml 9 9 - tapOn: 10 10 id: "e2eSignInAlice" 11 + - assertVisible: 12 + id: "storybookBtn" 11 13 - tapOn: 12 14 id: "storybookBtn" 13 15 - tapOn:
+2 -1
__e2e__/flows/thread-muting.yml
··· 7 7 - runFlow: 8 8 file: ../setupApp.yml 9 9 10 - 11 10 # Login, create a thread, and log out 12 11 - tapOn: 13 12 id: "e2eSignInAlice" 13 + - assertVisible: 14 + id: "composeFAB" 14 15 - tapOn: 15 16 id: "composeFAB" 16 17 - inputText: "Test thread"
+8 -3
src/screens/Profile/Header/EditProfileDialog.tsx
··· 67 67 nativeOptions={{ 68 68 preventDismiss: dirty, 69 69 minHeight: SCREEN_HEIGHT, 70 - }}> 70 + }} 71 + testID="editProfileModal"> 71 72 <DialogInner 72 73 profile={profile} 73 74 onUpdate={onUpdate} ··· 221 222 size="small" 222 223 color="primary" 223 224 variant="ghost" 224 - style={[a.rounded_full]}> 225 + style={[a.rounded_full]} 226 + testID="editProfileCancelBtn"> 225 227 <ButtonText style={[a.text_md]}> 226 228 <Trans>Cancel</Trans> 227 229 </ButtonText> ··· 244 246 size="small" 245 247 color="primary" 246 248 variant="ghost" 247 - style={[a.rounded_full]}> 249 + style={[a.rounded_full]} 250 + testID="editProfileSaveBtn"> 248 251 <ButtonText style={[a.text_md, !dirty && t.atoms.text_contrast_low]}> 249 252 <Trans>Save</Trans> 250 253 </ButtonText> ··· 316 319 onChangeText={setDisplayName} 317 320 label={_(msg`Display name`)} 318 321 placeholder={_(msg`e.g. Alice Lastname`)} 322 + testID="editProfileDisplayNameInput" 319 323 /> 320 324 </TextField.Root> 321 325 {displayNameTooLong && ( ··· 346 350 multiline 347 351 label={_(msg`Display name`)} 348 352 placeholder={_(msg`Tell us a bit about yourself`)} 353 + testID="editProfileDescriptionInput" 349 354 /> 350 355 </TextField.Root> 351 356 {descriptionTooLong && (
+8 -4
src/view/screens/SavedFeeds.tsx
··· 97 97 onPress={onSaveChanges} 98 98 label={_(msg`Save changes`)} 99 99 disabled={isOverwritePending || !hasUnsavedChanges} 100 - style={[isDesktop && a.mt_sm]}> 100 + style={[isDesktop && a.mt_sm]} 101 + testID="saveChangesBtn"> 101 102 <ButtonText style={[isDesktop && a.text_md]}> 102 103 {isDesktop ? <Trans>Save changes</Trans> : <Trans>Save</Trans>} 103 104 </ButtonText> ··· 315 316 borderRadius: 4, 316 317 marginRight: 8, 317 318 opacity: state.hovered || state.pressed ? 0.5 : 1, 318 - })}> 319 + })} 320 + testID={`feed-${feed.type}-moveUp`}> 319 321 <FontAwesomeIcon 320 322 icon="arrow-up" 321 323 size={14} ··· 333 335 borderRadius: 4, 334 336 marginRight: 8, 335 337 opacity: state.hovered || state.pressed ? 0.5 : 1, 336 - })}> 338 + })} 339 + testID={`feed-${feed.type}-moveDown`}> 337 340 <FontAwesomeIcon 338 341 icon="arrow-down" 339 342 size={14} ··· 374 377 paddingVertical: 10, 375 378 borderRadius: 4, 376 379 opacity: state.hovered || state.focused ? 0.5 : 1, 377 - })}> 380 + })} 381 + testID={`feed-${feed.type}-togglePin`}> 378 382 <FontAwesomeIcon 379 383 icon="thumb-tack" 380 384 size={14}