Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrodyHughes committed May 24, 2024
1 parent dacb987 commit 133e5cd
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 188 deletions.
10 changes: 7 additions & 3 deletions e2e/7_maliciousDappConnection.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
typeText,
delayTime,
tapByText,
tapAtPoint,
} from './helpers';

describe('Check malicious dapp warning', () => {
Expand Down Expand Up @@ -38,8 +39,11 @@ describe('Check malicious dapp warning', () => {
});

it('Should attempt to connect to in browser dapp', async () => {
await tapByText('Connect Wallet');
await waitAndTap('rk-connect-button');
await delayTime('very-long');
console.log('tapping! 250 200');
await delayTime('medium');
await tapAtPoint('browser-screen', { x: 250, y: 200 });
await delayTime('medium');
// 'browser-screen'
// 'in-app-dapp-browser'
});
});
1 change: 1 addition & 0 deletions e2e/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ beforeAll(async () => {
'.*rainbow-proxy-rpc.rainbowdotme.workers.*',
'.*localhost:8081/assets/src/assets*.',
'.*arc-graphql.rainbowdotme.workers.dev*.',
'.*googleapis.com*.',
]);
});
Loading

0 comments on commit 133e5cd

Please sign in to comment.