Skip to content
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: #2: optimizing tests for the task #2

Merged
merged 6 commits into from Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions app/components/UI/Navbar/index.js
Expand Up @@ -990,6 +990,7 @@ export function getWalletNavbarOptions(
headerRight: () => (
<TouchableOpacity
style={styles.infoButton}
testID='qr_scanner_button'
// eslint-disable-next-line
onPress={openQRScanner}
>
Expand Down
3 changes: 2 additions & 1 deletion app/components/UI/SignatureRequest/index.js
Expand Up @@ -282,7 +282,8 @@ class SignatureRequest extends PureComponent {
}
}
return (
<View style={[styles.root, expandedHeight]}>
<View style={[styles.root, expandedHeight]}
testID='signature-modal-window'>
<ActionView
cancelTestID={'request-signature-cancel-button'}
confirmTestID={'request-signature-confirm-button'}
Expand Down
3 changes: 2 additions & 1 deletion e2e/init.js
Expand Up @@ -9,6 +9,7 @@ jasmine.getEnv().addReporter(adapter);
beforeAll(async () => {
await detox.init(config);
await device.launchApp();
await device.enableSynchronization();
});

beforeEach(async () => {
Expand All @@ -18,5 +19,5 @@ beforeEach(async () => {
afterAll(async () => {
await adapter.afterAll();
await detox.cleanup();
jest.setTimeout(3000);
jest.setTimeout(2250000);
});
198 changes: 0 additions & 198 deletions e2e/specs/add-custom-rpc.spec.js

This file was deleted.