add one test
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
appId: xyz.blueskyweb.app
|
||||||
|
---
|
||||||
|
- tapOn:
|
||||||
|
id: "bottomBarProfileBtn"
|
||||||
|
- tapOn:
|
||||||
|
id: "profilePager-selector-5"
|
||||||
|
- tapOn:
|
||||||
|
id: "createStarterpackBtn"
|
||||||
|
- tapOn:
|
||||||
|
id: "starterPackName"
|
||||||
|
- inputText: "some name"
|
||||||
|
- tapOn: "return"
|
||||||
|
- tapOn:
|
||||||
|
id: "starterPackDescription"
|
||||||
|
- inputText: "just a little description!"
|
||||||
|
- tapOn:
|
||||||
|
point: "50%,32%"
|
||||||
|
- tapOn: "Next"
|
||||||
|
- tapOn: "Search"
|
||||||
|
- inputText: "bob"
|
||||||
|
- tapOn:
|
||||||
|
point: "50%,21%"
|
||||||
|
- tapOn:
|
||||||
|
id: "searchTextInput"
|
||||||
|
- inputText: "carla"
|
||||||
|
- tapOn:
|
||||||
|
point: "50%,21%"
|
||||||
|
- tapOn: "Next"
|
||||||
|
- tapOn: "Skip"
|
||||||
@@ -8,6 +8,7 @@ import {msg} from '@lingui/macro'
|
|||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
import {useMutation} from '@tanstack/react-query'
|
import {useMutation} from '@tanstack/react-query'
|
||||||
|
|
||||||
|
import {IS_E2E} from 'lib/app-info'
|
||||||
import {until} from 'lib/async/until'
|
import {until} from 'lib/async/until'
|
||||||
import {sanitizeDisplayName} from 'lib/strings/display-names'
|
import {sanitizeDisplayName} from 'lib/strings/display-names'
|
||||||
import {sanitizeHandle} from 'lib/strings/handles'
|
import {sanitizeHandle} from 'lib/strings/handles'
|
||||||
@@ -117,6 +118,7 @@ export function useGenerateStarterPackMutation({
|
|||||||
return await agent.app.bsky.graph.starterpack.create(
|
return await agent.app.bsky.graph.starterpack.create(
|
||||||
{
|
{
|
||||||
repo: agent.session!.did,
|
repo: agent.session!.did,
|
||||||
|
validate: !IS_E2E,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: starterPackName,
|
name: starterPackName,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import {
|
|||||||
useQueryClient,
|
useQueryClient,
|
||||||
} from '@tanstack/react-query'
|
} from '@tanstack/react-query'
|
||||||
|
|
||||||
|
import {IS_E2E} from 'lib/app-info'
|
||||||
import {until} from 'lib/async/until'
|
import {until} from 'lib/async/until'
|
||||||
import {createStarterPackList} from 'lib/generate-starterpack'
|
import {createStarterPackList} from 'lib/generate-starterpack'
|
||||||
import {
|
import {
|
||||||
@@ -121,6 +122,7 @@ export function useCreateStarterPackMutation({
|
|||||||
return await agent.app.bsky.graph.starterpack.create(
|
return await agent.app.bsky.graph.starterpack.create(
|
||||||
{
|
{
|
||||||
repo: agent.session?.did,
|
repo: agent.session?.did,
|
||||||
|
validate: !IS_E2E,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name,
|
name,
|
||||||
|
|||||||
Reference in New Issue
Block a user