Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrodyHughes committed Mar 19, 2024
1 parent 990d5e6 commit 716a093
Show file tree
Hide file tree
Showing 18 changed files with 17 additions and 41 deletions.
1 change: 0 additions & 1 deletion e2e/deeplinks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ beforeAll(async () => {
}
});

// eslint-disable-next-line jest/no-disabled-tests
describe.skip('Deeplinks spec', () => {
it('Should show the welcome screen', async () => {
await Helpers.checkIfVisible('welcome-screen');
Expand Down
3 changes: 1 addition & 2 deletions e2e/discoverSheetFlow.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

const ios = device.getPlatform() === 'ios';
const android = device.getPlatform() === 'android';
Expand Down
3 changes: 1 addition & 2 deletions e2e/hardhatTransactionFlowSendAndWC.spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import { Contract } from '@ethersproject/contracts';
import WalletConnect from '@walletconnect/client';
import { convertUtf8ToHex } from '@walletconnect/legacy-utils';
import * as Helpers from './helpers';
import kittiesABI from '@/references/cryptokitties-abi.json';
import erc20ABI from '@/references/erc20-abi.json';
import { device } from 'detox';

let connector = null;
let uri = null;
Expand Down
3 changes: 1 addition & 2 deletions e2e/hardhatTransactionFlowSwaps.disabled.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

let connector = null;
const ios = device.getPlatform() === 'ios';
Expand Down
4 changes: 1 addition & 3 deletions e2e/hiddenTokensFlow.disable.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device, element, by, waitFor } from 'detox';

const android = device.getPlatform() === 'android';

// eslint-disable-next-line jest/no-disabled-tests
describe.skip('Hidden tokens flow', () => {
it('boots and loads wallet screen', async () => {
await Helpers.waitAndTap('already-have-wallet-button');
Expand Down
3 changes: 1 addition & 2 deletions e2e/homeScreen.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

const RAINBOW_TEST_WALLET = 'rainbowtestwallet.eth';

Expand Down
3 changes: 1 addition & 2 deletions e2e/importPrivateKeyFlow.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

const android = device.getPlatform() === 'android';

Expand Down
3 changes: 1 addition & 2 deletions e2e/importPrivateKeyFlow0x.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

const android = device.getPlatform() === 'android';

Expand Down
3 changes: 1 addition & 2 deletions e2e/init.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
// eslint-disable-next-line import/no-commonjs
import { exec } from 'child_process';
import { device } from 'detox';

require('dotenv').config({ path: '.env' });

Expand Down
3 changes: 1 addition & 2 deletions e2e/newWalletFlow.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

const android = device.getPlatform() === 'android';

Expand Down
3 changes: 1 addition & 2 deletions e2e/registerENSFlow.spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import { hash } from '@ensdomains/eth-ens-namehash';
import { Contract } from '@ethersproject/contracts';
import * as Helpers from './helpers';
import registrarABI from '@/references/ens/ENSETHRegistrarController.json';
import publicResolverABI from '@/references/ens/ENSPublicResolver.json';
import registryWithFallbackABI from '@/references/ens/ENSRegistryWithFallback.json';
import { device } from 'detox';

const ensETHRegistrarControllerAddress = '0x283Af0B28c62C092C9727F1Ee09c02CA627EB7F5';
const ensPublicResolverAddress = '0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41';
Expand Down
3 changes: 1 addition & 2 deletions e2e/sendSheetFlow.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

describe('Send Sheet Interaction Flow', () => {
beforeAll(async () => {
Expand Down
3 changes: 1 addition & 2 deletions e2e/sendSheetFlowContacts.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

const android = device.getPlatform() === 'android';

Expand Down
4 changes: 1 addition & 3 deletions e2e/swapSheetFlow1.disabled.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

const ios = device.getPlatform() === 'ios';
const android = device.getPlatform() === 'android';

// all relevant flows skipped at the moment
// removing this test from the flow until we fix

// eslint-disable-next-line jest/no-disabled-tests
describe.skip('Swap Sheet Interaction Flow', () => {
beforeAll(async () => {
await Helpers.startHardhat();
Expand Down
5 changes: 1 addition & 4 deletions e2e/swapSheetFlow2.disabled.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

beforeAll(async () => {
await Helpers.startHardhat();
Expand All @@ -14,8 +13,6 @@ const android = device.getPlatform() === 'android';
// part of the addy's REST API migration
//
// marking the test as SKIP for now

// eslint-disable-next-line jest/no-disabled-tests
describe.skip('Swap Sheet Interaction Flow', () => {
it('Should show the welcome screen', async () => {
await Helpers.checkIfVisible('welcome-screen');
Expand Down
4 changes: 1 addition & 3 deletions e2e/walletAvatarOptions.disabled.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device, element, by } from 'detox';

const WALLET_AVATAR_COORDS = { x: 210, y: 125 };
const WALLET_ADDRESS_COORDS = { x: 210, y: 185 };
Expand All @@ -13,7 +12,6 @@ const EMPTY_WALLET = '0x6791da9CCd95405e73d6a1117d02Dc81c4E58775';

const android = device.getPlatform() === 'android';

// eslint-disable-next-line jest/no-disabled-tests
describe('Wallet avatar options', () => {
it('watch wallet without ENS', async () => {
await Helpers.checkIfVisible('welcome-screen');
Expand Down
3 changes: 1 addition & 2 deletions e2e/watchAddressFlow.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import * as Helpers from './helpers';
import { device } from 'detox';

describe('Watch address flow', () => {
afterAll(async () => {
Expand Down
4 changes: 1 addition & 3 deletions e2e/watchedWalletCollectionActionsFlow.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* eslint-disable no-undef */
/* eslint-disable jest/expect-expect */
import { exec } from 'child_process';
import * as Helpers from './helpers';
import { device, element, by } from 'detox';

describe('Watched showcase and hidden actions flow', () => {
afterAll(async () => {
Expand Down

0 comments on commit 716a093

Please sign in to comment.