parent
0b43d728e4
commit
4b69948366
|
@ -1,5 +1,5 @@
|
||||||
import {resolveConfig} from 'detox/internals'
|
|
||||||
import {execSync} from 'child_process'
|
import {execSync} from 'child_process'
|
||||||
|
import {resolveConfig} from 'detox/internals'
|
||||||
import http from 'http'
|
import http from 'http'
|
||||||
|
|
||||||
const platform = device.getPlatform()
|
const platform = device.getPlatform()
|
||||||
|
@ -52,7 +52,7 @@ export async function login(
|
||||||
if (await isVisible('chooseAccountForm')) {
|
if (await isVisible('chooseAccountForm')) {
|
||||||
await element(by.id('chooseNewAccountBtn')).tap()
|
await element(by.id('chooseNewAccountBtn')).tap()
|
||||||
}
|
}
|
||||||
await element(by.id('loginSelectServiceButton')).tap()
|
await element(by.id('selectServiceButton')).tap()
|
||||||
if (takeScreenshots) {
|
if (takeScreenshots) {
|
||||||
await device.takeScreenshot('2- opened service selector')
|
await device.takeScreenshot('2- opened service selector')
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ export function HostingProvider({
|
||||||
onSelect={onSelectServiceUrl}
|
onSelect={onSelectServiceUrl}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
testID="loginSelectServiceButton"
|
testID="selectServiceButton"
|
||||||
label={toNiceDomain(serviceUrl)}
|
label={toNiceDomain(serviceUrl)}
|
||||||
accessibilityHint={_(msg`Press to change hosting provider`)}
|
accessibilityHint={_(msg`Press to change hosting provider`)}
|
||||||
variant="solid"
|
variant="solid"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -58,6 +58,7 @@ export function StepHandle() {
|
||||||
<TextField.Root>
|
<TextField.Root>
|
||||||
<TextField.Icon icon={At} />
|
<TextField.Icon icon={At} />
|
||||||
<TextField.Input
|
<TextField.Input
|
||||||
|
testID="handleInput"
|
||||||
onChangeText={onHandleChange}
|
onChangeText={onHandleChange}
|
||||||
label={_(msg`Input your user handle`)}
|
label={_(msg`Input your user handle`)}
|
||||||
defaultValue={state.handle}
|
defaultValue={state.handle}
|
||||||
|
|
|
@ -82,6 +82,7 @@ export function StepInfo() {
|
||||||
<TextField.Root>
|
<TextField.Root>
|
||||||
<TextField.Icon icon={Envelope} />
|
<TextField.Icon icon={Envelope} />
|
||||||
<TextField.Input
|
<TextField.Input
|
||||||
|
testID="emailInput"
|
||||||
onChangeText={value => {
|
onChangeText={value => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: 'setEmail',
|
type: 'setEmail',
|
||||||
|
@ -103,6 +104,7 @@ export function StepInfo() {
|
||||||
<TextField.Root>
|
<TextField.Root>
|
||||||
<TextField.Icon icon={Lock} />
|
<TextField.Icon icon={Lock} />
|
||||||
<TextField.Input
|
<TextField.Input
|
||||||
|
testID="passwordInput"
|
||||||
onChangeText={value => {
|
onChangeText={value => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: 'setPassword',
|
type: 'setPassword',
|
||||||
|
|
|
@ -196,6 +196,7 @@ export function Signup({onPressBack}: {onPressBack: () => void}) {
|
||||||
</Button>
|
</Button>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
|
testID="nextBtn"
|
||||||
label={_(msg`Continue to next step`)}
|
label={_(msg`Continue to next step`)}
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="primary"
|
color="primary"
|
||||||
|
|
Loading…
Reference in New Issue