+8
-2
__e2e__/flows/create-account.yml
+8
-2
__e2e__/flows/create-account.yml
···
31
31
text: "Your account"
32
32
- tapOn:
33
33
id: "nextBtn"
34
+
- waitForAnimationToEnd
34
35
- tapOn:
35
-
text: "Not Now"
36
-
optional: true
36
+
# save password thing no longer seems to be in hierarchy
37
+
# tap on something else instead
38
+
point: 20%,20%
39
+
repeat: 2
40
+
delay: 1000
41
+
- tapOn:
42
+
id: "handleInput"
37
43
- inputText: "e2e-test"
38
44
- extendedWaitUntil:
39
45
visible:
+3
-3
__e2e__/flows/home-screen.yml
+3
-3
__e2e__/flows/home-screen.yml
···
3
3
- runScript:
4
4
file: ../setupServer.js
5
5
env:
6
-
SERVER_PATH: ?users&follows&posts&feeds
6
+
SERVER_PATH: ?users&follows&posts&feeds
7
7
- runFlow:
8
8
file: ../setupApp.yml
9
9
- tapOn:
···
11
11
12
12
- extendedWaitUntil:
13
13
visible:
14
-
text: "Feeds ✨"
14
+
text: "Feeds ✨"
15
15
- tapOn:
16
16
label: "Can go to feeds page using feeds button in tab bar"
17
17
text: "Feeds ✨"
···
50
50
label: "Can delete posts"
51
51
id: "postDropdownBtn"
52
52
childOf:
53
-
id: "feedItem-by-alice.test"
53
+
id: "feedItem-by-alice.test"
54
54
- tapOn: "Delete post"
55
55
- tapOn: "Delete"
+2
-1
__e2e__/flows/post-report-flow.yml
+2
-1
__e2e__/flows/post-report-flow.yml
+5
-3
__e2e__/flows/report-dialog/account.default.yml
+5
-3
__e2e__/flows/report-dialog/account.default.yml
···
3
3
- runScript:
4
4
file: ../../setupServer.js
5
5
env:
6
-
SERVER_PATH: ?users&follows&posts&feeds
6
+
SERVER_PATH: ?users&follows&posts&feeds
7
7
- runFlow:
8
8
file: ../../setupApp.yml
9
9
- tapOn:
···
15
15
- tapOn:
16
16
id: "profileHeaderDropdownReportBtn"
17
17
- tapOn:
18
-
id: "report:option:com.atproto.moderation.defs#reasonSpam"
18
+
id: "report:category:Misleading"
19
+
- tapOn:
20
+
id: "report:option:Spam"
19
21
- assertVisible:
20
-
id: "report:labeler:mod-authority.test"
22
+
text: "Send report to Dev-env Moderation"
21
23
- tapOn:
22
24
id: "report:submit"
23
25
- assertNotVisible:
+5
-3
__e2e__/flows/report-dialog/post.default.yml
+5
-3
__e2e__/flows/report-dialog/post.default.yml
···
3
3
- runScript:
4
4
file: ../../setupServer.js
5
5
env:
6
-
SERVER_PATH: ?users&follows&posts&feeds
6
+
SERVER_PATH: ?users&follows&posts&feeds
7
7
- runFlow:
8
8
file: ../../setupApp.yml
9
9
- tapOn:
···
15
15
- tapOn:
16
16
id: "postDropdownReportBtn"
17
17
- tapOn:
18
-
id: "report:option:com.atproto.moderation.defs#reasonSpam"
18
+
id: "report:category:Misleading"
19
+
- tapOn:
20
+
id: "report:option:Spam"
19
21
- assertVisible:
20
-
id: "report:labeler:mod-authority.test"
22
+
text: "Send report to Dev-env Moderation"
21
23
- tapOn:
22
24
id: "report:submit"
23
25
- assertNotVisible:
+14
-6
__e2e__/flows/report-dialog/post.edit-reason.yml
+14
-6
__e2e__/flows/report-dialog/post.edit-reason.yml
···
3
3
- runScript:
4
4
file: ../../setupServer.js
5
5
env:
6
-
SERVER_PATH: ?users&follows&posts&feeds
6
+
SERVER_PATH: ?users&follows&posts&feeds
7
7
- runFlow:
8
8
file: ../../setupApp.yml
9
9
- tapOn:
···
15
15
- tapOn:
16
16
id: "postDropdownReportBtn"
17
17
- tapOn:
18
-
id: "report:option:com.atproto.moderation.defs#reasonOther"
18
+
id: "report:category:Misleading"
19
+
- tapOn:
20
+
id: "report:option:Other misleading content"
19
21
- assertVisible:
20
-
id: "report:labeler:mod-authority.test"
22
+
text: Your report will be sent to Dev-env Moderation.*
21
23
# reason "other" defaults with details open
22
24
- assertVisible:
23
25
id: "report:details"
24
26
- tapOn:
25
-
id: "report:clearOption"
27
+
id: "report:clearReportOption"
26
28
- assertNotVisible:
27
29
id: "report:details"
28
30
- tapOn:
29
-
id: "report:option:com.atproto.moderation.defs#reasonSpam"
31
+
id: "report:clearCategory"
32
+
- assertNotVisible:
33
+
id: "report:option:Other misleading content"
34
+
- tapOn:
35
+
id: "report:category:Misleading"
36
+
- tapOn:
37
+
id: "report:option:Spam"
30
38
- assertVisible:
31
-
id: "report:labeler:mod-authority.test"
39
+
text: Your report will be sent to Dev-env Moderation.*
32
40
- tapOn:
33
41
id: "report:submit"
34
42
- assertNotVisible:
+5
-3
__e2e__/flows/report-dialog/post.reason-other.yml
+5
-3
__e2e__/flows/report-dialog/post.reason-other.yml
···
3
3
- runScript:
4
4
file: ../../setupServer.js
5
5
env:
6
-
SERVER_PATH: ?users&follows&posts&feeds
6
+
SERVER_PATH: ?users&follows&posts&feeds
7
7
- runFlow:
8
8
file: ../../setupApp.yml
9
9
- tapOn:
···
15
15
- tapOn:
16
16
id: "postDropdownReportBtn"
17
17
- tapOn:
18
-
id: "report:option:com.atproto.moderation.defs#reasonOther"
18
+
id: "report:category:Misleading"
19
+
- tapOn:
20
+
id: "report:option:Other misleading content"
19
21
- assertVisible:
20
-
id: "report:labeler:mod-authority.test"
22
+
text: "Send report to Dev-env Moderation"
21
23
# reason "other" defaults with details open
22
24
- assertVisible:
23
25
id: "report:details"
+1
-2
__e2e__/perf-test.yml
+1
-2
__e2e__/perf-test.yml
+19
src/components/Tooltip/index.e2e.tsx
+19
src/components/Tooltip/index.e2e.tsx
···
1
+
export function SheetCompatProvider({children}: {children: React.ReactNode}) {
2
+
return children
3
+
}
4
+
5
+
export function Outer({children}: {children: React.ReactNode}) {
6
+
return children
7
+
}
8
+
9
+
export function Target({children}: {children: React.ReactNode}) {
10
+
return children
11
+
}
12
+
13
+
export function Content() {
14
+
return null
15
+
}
16
+
17
+
export function TextBubble() {
18
+
return null
19
+
}
+1
-1
src/components/forms/TextField.tsx
+1
-1
src/components/forms/TextField.tsx
+1
-1
src/components/moderation/ReportDialog/index.tsx
+1
-1
src/components/moderation/ReportDialog/index.tsx
+6
-1
src/env/common.ts
+6
-1
src/env/common.ts
···
13
13
/**
14
14
* The env the app is running in e.g. development, testflight, production, e2e
15
15
*/
16
-
export const ENV: string = process.env.EXPO_PUBLIC_ENV
16
+
export const ENV: string = process.env.EXPO_PUBLIC_ENV as
17
+
| 'production'
18
+
| 'testflight'
19
+
| 'development'
20
+
| 'e2e'
21
+
| (string & {})
17
22
18
23
/**
19
24
* Indicates whether the app is running in TestFlight
+2
-1
src/view/com/posts/PostFeedItem.tsx
+2
-1
src/view/com/posts/PostFeedItem.tsx
···
50
50
import {DiscoverDebug} from '#/components/PostControls/DiscoverDebug'
51
51
import {RichText} from '#/components/RichText'
52
52
import {SubtleHover} from '#/components/SubtleHover'
53
+
import {ENV} from '#/env'
53
54
import * as bsky from '#/types/bsky'
54
55
import {PostFeedReason} from './PostFeedReason'
55
56
···
181
182
feedContext,
182
183
reqId,
183
184
})
184
-
if (gate('feed_reply_button_open_thread')) {
185
+
if (gate('feed_reply_button_open_thread') && ENV !== 'e2e') {
185
186
navigation.navigate('PostThread', {
186
187
name: post.author.did,
187
188
rkey,