-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/nav3 #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/nav3 #81
Changes from all commits
0c4d561
6406751
0341a95
b949d45
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -334,8 +334,8 @@ export async function swipeFullScreen(direction: Direction) { | |
| endY = height * 0.2; | ||
| break; | ||
| case 'down': | ||
| startY = height * 0.2; | ||
| endY = height * 0.8; | ||
| startY = height * 0.1; | ||
| endY = height * 0.9; | ||
| break; | ||
| } | ||
|
|
||
|
|
@@ -347,8 +347,7 @@ export async function swipeFullScreen(direction: Direction) { | |
| actions: [ | ||
| { type: 'pointerMove', duration: 0, x: startX, y: startY }, | ||
| { type: 'pointerDown', button: 0 }, | ||
| { type: 'pause', duration: 50 }, | ||
| { type: 'pointerMove', duration: 200, x: endX, y: endY }, | ||
| { type: 'pointerMove', duration: 100, x: endX, y: endY }, | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👎 |
||
| { type: 'pointerUp', button: 0 }, | ||
| ], | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -272,6 +272,8 @@ describe('@settings - Settings', () => { | |
| await sleep(1000); | ||
| await tap('BackupWallet'); | ||
| await sleep(1000); // animation | ||
| await tap('BackupIntroViewContinue'); // proceed past backup intro screen | ||
| await sleep(1000); | ||
|
Comment on lines
+275
to
+276
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is actually a bug I point out here: synonymdev/bitkit-android#554 (comment) Tests should remain unchanged. |
||
|
|
||
| // get the seed from SeedContainer | ||
| const seedElement = await elementById('SeedContainer'); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,8 +62,8 @@ export const config: WebdriverIO.Config = { | |
| ? { | ||
| platformName: 'Android', | ||
| 'appium:automationName': 'UiAutomator2', | ||
| 'appium:deviceName': 'Pixel_6', | ||
| 'appium:platformVersion': '13.0', | ||
| 'appium:deviceName': process.env.DEVICE_NAME || 'Pixel_6', | ||
| 'appium:platformVersion': process.env.PLATFORM_VERSION || '15', | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is unrelated change to the android Feat/nav3, why introducing this? It breaks current CI flow. |
||
| 'appium:app': path.join(__dirname, 'aut', 'bitkit_e2e.apk'), | ||
| // 'appium:app': path.join(__dirname, 'aut', 'bitkit_v1.1.2.apk'), | ||
| 'appium:autoGrantPermissions': true, | ||
|
|
@@ -136,7 +136,17 @@ export const config: WebdriverIO.Config = { | |
| // Services take over a specific job you don't want to take care of. They enhance | ||
| // your test setup with almost no effort. Unlike plugins, they don't add new | ||
| // commands. Instead, they hook themselves up into the test process. | ||
| services: ['appium'], | ||
| services: [ | ||
| [ | ||
| 'appium', | ||
| { | ||
| args: { | ||
| port: 4723, | ||
| }, | ||
| command: 'appium', | ||
| }, | ||
| ], | ||
| ], | ||
|
Comment on lines
+139
to
+149
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated to original change. Should not be introduced there. |
||
|
|
||
| // Framework you want to run your specs with. | ||
| // The following are supported: Mocha, Jasmine, and Cucumber | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why exactly this is introduced?