+2
-2
@@ -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"
|
||||||
|
|||||||
+564
-493
File diff suppressed because it is too large
Load Diff
+564
-493
File diff suppressed because it is too large
Load Diff
+563
-492
File diff suppressed because it is too large
Load Diff
+564
-493
File diff suppressed because it is too large
Load Diff
+564
-493
File diff suppressed because it is too large
Load Diff
+564
-493
File diff suppressed because it is too large
Load Diff
+582
-511
File diff suppressed because it is too large
Load Diff
+563
-492
File diff suppressed because it is too large
Load Diff
+564
-493
File diff suppressed because it is too large
Load Diff
+564
-493
File diff suppressed because it is too large
Load Diff
+555
-497
File diff suppressed because it is too large
Load Diff
+411
-364
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+587
-516
File diff suppressed because it is too large
Load Diff
+564
-494
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user