-
Notifications
You must be signed in to change notification settings - Fork 477
[Wallet] E2E test improvements #2542
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
Changes from all commits
3170af4
f45e4bb
93ae17b
e703138
03b6ca7
43a9062
2e12699
3977d98
ad17346
fb05d98
d55d5bf
034190d
6919b3b
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 |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <network-security-config> | ||
| <!-- This allows unencrypted communication to these domains, which the bundler needs when running on an emulator --> | ||
| <domain-config cleartextTrafficPermitted="true"> | ||
| <domain includeSubdomains="true">localhost</domain> | ||
| <domain includeSubdomains="true">10.0.1.1</domain> | ||
| <domain includeSubdomains="true">10.0.2.2</domain> | ||
| <domain includeSubdomains="true">10.0.3.2</domain> | ||
| </domain-config> | ||
| </network-security-config> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,14 +2,23 @@ const detox = require('detox') | |
| const config = require('../package.json').detox | ||
| const adapter = require('detox/runners/jest/adapter') | ||
| const specReporter = require('detox/runners/jest/specReporter') | ||
| const assignReporter = require('detox/runners/jest/assignReporter') | ||
|
|
||
| jest.setTimeout(120000) | ||
| jasmine.getEnv().addReporter(adapter) | ||
| // This takes care of generating status logs on a per-spec basis. By default, jest only reports at file-level. | ||
| // This is strictly optional. | ||
| jasmine.getEnv().addReporter(specReporter) | ||
|
|
||
| // This will post which device has assigned to run a suite, which can be useful in a multiple-worker tests run. | ||
| // This is strictly optional. | ||
| jasmine.getEnv().addReporter(assignReporter) | ||
|
|
||
| // Increase default jest timeout | ||
| jest.setTimeout(120000) | ||
|
|
||
| beforeAll(async () => { | ||
| await detox.init(config) | ||
| }) | ||
| }, 300000) | ||
|
Contributor
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. Nice addition! We should add a comment as to why this is needed.
Contributor
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'm not 100% sure, I'm just aligning this file with the example on Detox's repo |
||
|
|
||
| beforeEach(async () => { | ||
| await adapter.beforeEach() | ||
|
|
||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.