[v1.110] Release prep (#9399)

* yml formatting whatever

* fix date input color

* fix up report dialog tests

* dumb fix to bypass save password popup

* remove tooltip in e2e

* Update index.e2e.tsx

* skip gate in e2e
This commit is contained in:
Samuel Newman
2025-11-17 18:01:02 +02:00
committed by GitHub
parent ef97a20c23
commit 7197a064d7
14 changed files with 74 additions and 29 deletions
+8 -2
View File
@@ -31,9 +31,15 @@ appId: xyz.blueskyweb.app
text: "Your account" text: "Your account"
- tapOn: - tapOn:
id: "nextBtn" id: "nextBtn"
- waitForAnimationToEnd
- tapOn: - tapOn:
text: "Not Now" # save password thing no longer seems to be in hierarchy
optional: true # tap on something else instead
point: 20%,20%
repeat: 2
delay: 1000
- tapOn:
id: "handleInput"
- inputText: "e2e-test" - inputText: "e2e-test"
- extendedWaitUntil: - extendedWaitUntil:
visible: visible:
+3 -3
View File
@@ -3,7 +3,7 @@ appId: xyz.blueskyweb.app
- runScript: - runScript:
file: ../setupServer.js file: ../setupServer.js
env: env:
SERVER_PATH: ?users&follows&posts&feeds SERVER_PATH: ?users&follows&posts&feeds
- runFlow: - runFlow:
file: ../setupApp.yml file: ../setupApp.yml
- tapOn: - tapOn:
@@ -11,7 +11,7 @@ appId: xyz.blueskyweb.app
- extendedWaitUntil: - extendedWaitUntil:
visible: visible:
text: "Feeds ✨" text: "Feeds ✨"
- tapOn: - tapOn:
label: "Can go to feeds page using feeds button in tab bar" label: "Can go to feeds page using feeds button in tab bar"
text: "Feeds ✨" text: "Feeds ✨"
@@ -50,6 +50,6 @@ appId: xyz.blueskyweb.app
label: "Can delete posts" label: "Can delete posts"
id: "postDropdownBtn" id: "postDropdownBtn"
childOf: childOf:
id: "feedItem-by-alice.test" id: "feedItem-by-alice.test"
- tapOn: "Delete post" - tapOn: "Delete post"
- tapOn: "Delete" - tapOn: "Delete"
+2 -1
View File
@@ -17,7 +17,8 @@ appId: xyz.blueskyweb.app
index: 0 index: 0
- tapOn: - tapOn:
id: "postDropdownReportBtn" id: "postDropdownReportBtn"
- tapOn: "Create report for Misleading Post" - tapOn: "Create report for Misleading"
- tapOn: "Create report for Spam"
- tapOn: "Send report to Dev-env Moderation" - tapOn: "Send report to Dev-env Moderation"
- tapOn: - tapOn:
point: "50%,90%" point: "50%,90%"
@@ -3,7 +3,7 @@ appId: xyz.blueskyweb.app
- runScript: - runScript:
file: ../../setupServer.js file: ../../setupServer.js
env: env:
SERVER_PATH: ?users&follows&posts&feeds SERVER_PATH: ?users&follows&posts&feeds
- runFlow: - runFlow:
file: ../../setupApp.yml file: ../../setupApp.yml
- tapOn: - tapOn:
@@ -15,9 +15,11 @@ appId: xyz.blueskyweb.app
- tapOn: - tapOn:
id: "profileHeaderDropdownReportBtn" id: "profileHeaderDropdownReportBtn"
- tapOn: - tapOn:
id: "report:option:com.atproto.moderation.defs#reasonSpam" id: "report:category:Misleading"
- tapOn:
id: "report:option:Spam"
- assertVisible: - assertVisible:
id: "report:labeler:mod-authority.test" text: "Send report to Dev-env Moderation"
- tapOn: - tapOn:
id: "report:submit" id: "report:submit"
- assertNotVisible: - assertNotVisible:
+5 -3
View File
@@ -3,7 +3,7 @@ appId: xyz.blueskyweb.app
- runScript: - runScript:
file: ../../setupServer.js file: ../../setupServer.js
env: env:
SERVER_PATH: ?users&follows&posts&feeds SERVER_PATH: ?users&follows&posts&feeds
- runFlow: - runFlow:
file: ../../setupApp.yml file: ../../setupApp.yml
- tapOn: - tapOn:
@@ -15,9 +15,11 @@ appId: xyz.blueskyweb.app
- tapOn: - tapOn:
id: "postDropdownReportBtn" id: "postDropdownReportBtn"
- tapOn: - tapOn:
id: "report:option:com.atproto.moderation.defs#reasonSpam" id: "report:category:Misleading"
- tapOn:
id: "report:option:Spam"
- assertVisible: - assertVisible:
id: "report:labeler:mod-authority.test" text: "Send report to Dev-env Moderation"
- tapOn: - tapOn:
id: "report:submit" id: "report:submit"
- assertNotVisible: - assertNotVisible:
@@ -3,7 +3,7 @@ appId: xyz.blueskyweb.app
- runScript: - runScript:
file: ../../setupServer.js file: ../../setupServer.js
env: env:
SERVER_PATH: ?users&follows&posts&feeds SERVER_PATH: ?users&follows&posts&feeds
- runFlow: - runFlow:
file: ../../setupApp.yml file: ../../setupApp.yml
- tapOn: - tapOn:
@@ -15,20 +15,28 @@ appId: xyz.blueskyweb.app
- tapOn: - tapOn:
id: "postDropdownReportBtn" id: "postDropdownReportBtn"
- tapOn: - tapOn:
id: "report:option:com.atproto.moderation.defs#reasonOther" id: "report:category:Misleading"
- tapOn:
id: "report:option:Other misleading content"
- assertVisible: - assertVisible:
id: "report:labeler:mod-authority.test" text: Your report will be sent to Dev-env Moderation.*
# reason "other" defaults with details open # reason "other" defaults with details open
- assertVisible: - assertVisible:
id: "report:details" id: "report:details"
- tapOn: - tapOn:
id: "report:clearOption" id: "report:clearReportOption"
- assertNotVisible: - assertNotVisible:
id: "report:details" id: "report:details"
- tapOn: - tapOn:
id: "report:option:com.atproto.moderation.defs#reasonSpam" id: "report:clearCategory"
- assertNotVisible:
id: "report:option:Other misleading content"
- tapOn:
id: "report:category:Misleading"
- tapOn:
id: "report:option:Spam"
- assertVisible: - assertVisible:
id: "report:labeler:mod-authority.test" text: Your report will be sent to Dev-env Moderation.*
- tapOn: - tapOn:
id: "report:submit" id: "report:submit"
- assertNotVisible: - assertNotVisible:
@@ -3,7 +3,7 @@ appId: xyz.blueskyweb.app
- runScript: - runScript:
file: ../../setupServer.js file: ../../setupServer.js
env: env:
SERVER_PATH: ?users&follows&posts&feeds SERVER_PATH: ?users&follows&posts&feeds
- runFlow: - runFlow:
file: ../../setupApp.yml file: ../../setupApp.yml
- tapOn: - tapOn:
@@ -15,9 +15,11 @@ appId: xyz.blueskyweb.app
- tapOn: - tapOn:
id: "postDropdownReportBtn" id: "postDropdownReportBtn"
- tapOn: - tapOn:
id: "report:option:com.atproto.moderation.defs#reasonOther" id: "report:category:Misleading"
- tapOn:
id: "report:option:Other misleading content"
- assertVisible: - assertVisible:
id: "report:labeler:mod-authority.test" text: "Send report to Dev-env Moderation"
# reason "other" defaults with details open # reason "other" defaults with details open
- assertVisible: - assertVisible:
id: "report:details" id: "report:details"
+1 -2
View File
@@ -1,4 +1,3 @@
# flow.yaml # flow.yaml
appId: xyz.blueskyweb.app appId: xyz.blueskyweb.app
@@ -33,7 +32,7 @@ appId: xyz.blueskyweb.app
direction: "LEFT" direction: "LEFT"
- swipe: - swipe:
direction: "LEFT" direction: "LEFT"
- swipe: - swipe:
direction: "LEFT" direction: "LEFT"
- swipe: - swipe:
direction: "RIGHT" direction: "RIGHT"
+19
View File
@@ -0,0 +1,19 @@
export function SheetCompatProvider({children}: {children: React.ReactNode}) {
return children
}
export function Outer({children}: {children: React.ReactNode}) {
return children
}
export function Target({children}: {children: React.ReactNode}) {
return children
}
export function Content() {
return null
}
export function TextBubble() {
return null
}
@@ -73,8 +73,8 @@ export function DateFieldButton({
a.flex_row, a.flex_row,
a.flex_1, a.flex_1,
a.w_full, a.w_full,
a.rounded_sm, {borderRadius: 10},
t.atoms.bg_contrast_25, t.atoms.bg_contrast_50,
a.align_center, a.align_center,
hovered ? chromeHover : {}, hovered ? chromeHover : {},
focused || pressed ? chromeFocus : {}, focused || pressed ? chromeFocus : {},
+1 -1
View File
@@ -266,7 +266,7 @@ export function createInput(Component: typeof TextInput) {
a.z_10, a.z_10,
a.absolute, a.absolute,
a.inset_0, a.inset_0,
a.rounded_sm, {borderRadius: 10},
t.atoms.bg_contrast_50, t.atoms.bg_contrast_50,
{borderColor: 'transparent', borderWidth: 2}, {borderColor: 'transparent', borderWidth: 2},
ctx.hovered ? chromeHover : {}, ctx.hovered ? chromeHover : {},
@@ -685,7 +685,7 @@ function CategoryCard({
}, [onSelect, option]) }, [onSelect, option])
return ( return (
<Button <Button
testID={`report:option:${option.title}`} testID={`report:category:${option.title}`}
label={_(msg`Create report for ${option.title}`)} label={_(msg`Create report for ${option.title}`)}
onPress={onPress} onPress={onPress}
disabled={!onSelect}> disabled={!onSelect}>
+6 -1
View File
@@ -13,7 +13,12 @@ export const RELEASE_VERSION: string =
/** /**
* The env the app is running in e.g. development, testflight, production, e2e * The env the app is running in e.g. development, testflight, production, e2e
*/ */
export const ENV: string = process.env.EXPO_PUBLIC_ENV export const ENV: string = process.env.EXPO_PUBLIC_ENV as
| 'production'
| 'testflight'
| 'development'
| 'e2e'
| (string & {})
/** /**
* Indicates whether the app is running in TestFlight * Indicates whether the app is running in TestFlight
+2 -1
View File
@@ -50,6 +50,7 @@ import {PostControls} from '#/components/PostControls'
import {DiscoverDebug} from '#/components/PostControls/DiscoverDebug' import {DiscoverDebug} from '#/components/PostControls/DiscoverDebug'
import {RichText} from '#/components/RichText' import {RichText} from '#/components/RichText'
import {SubtleHover} from '#/components/SubtleHover' import {SubtleHover} from '#/components/SubtleHover'
import {ENV} from '#/env'
import * as bsky from '#/types/bsky' import * as bsky from '#/types/bsky'
import {PostFeedReason} from './PostFeedReason' import {PostFeedReason} from './PostFeedReason'
@@ -181,7 +182,7 @@ let FeedItemInner = ({
feedContext, feedContext,
reqId, reqId,
}) })
if (gate('feed_reply_button_open_thread')) { if (gate('feed_reply_button_open_thread') && ENV !== 'e2e') {
navigation.navigate('PostThread', { navigation.navigate('PostThread', {
name: post.author.did, name: post.author.did,
rkey, rkey,