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

Detox: Browser Tests #1147

Merged
merged 6 commits into from
Oct 21, 2019
Merged

Detox: Browser Tests #1147

merged 6 commits into from
Oct 21, 2019

Conversation

ibrahimtaveras00
Copy link
Contributor

This PR tests the following:

  • navigate through explore tab on homepage
  • navigate to Uniswap, CANCEL connect and add to favorites
  • ensure Uniswap appears in favorites and navigate back and Connect
  • Test ethereum.enable by navigating to https://brunobar79.github.io/dapp-issues-repro/
  • Test signatures by navigating and interacting with https://danfinlay.github.io/js-eth-personal-sign-examples/
  • test ENS sites and ENS available TLDs that are not ENS names by going to brunobarbieri.eth and inbox.mailchain.xyz
  • test phishing sites by searching empowr secure and tapping on a search result

Seen here = http://recordit.co/z9mlQdH7ug

@ibrahimtaveras00 ibrahimtaveras00 requested review from estebanmino and brunobar79 and removed request for brunobar79 October 14, 2019 17:09
Copy link
Contributor

@brunobar79 brunobar79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 v

@@ -264,7 +264,7 @@ class AccountApproval extends PureComponent {
<Text style={styles.headerTitle} testID={'dapp-name-title'} numberOfLines={1}>
{title}
</Text>
<Text style={styles.headerUrl} numberOfLines={1}>
<Text style={styles.headerUrl} testID={'dapp-name-url'} numberOfLines={1}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Break down props in different lines

@@ -128,7 +128,7 @@ export default class BrowserBottomBar extends PureComponent {
<TouchableOpacity onPress={showTabs} style={styles.iconButton} testID={'show-tabs-button'}>
<TabCountIcon style={styles.tabIcon} />
</TouchableOpacity>
<TouchableOpacity onPress={goHome} style={styles.iconButton}>
<TouchableOpacity onPress={goHome} style={styles.iconButton} testID={'home-button'}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Break down props in different lines

'use strict';
import TestHelpers from './helpers';

const EthereumEnable = 'https://brunobar79.github.io/dapp-issues-repro/';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this all caps

@ibrahimtaveras00 ibrahimtaveras00 removed the request for review from estebanmino October 21, 2019 20:30
@ibrahimtaveras00 ibrahimtaveras00 merged commit 6d1aedd into develop Oct 21, 2019
@ibrahimtaveras00 ibrahimtaveras00 deleted the browser-tests branch October 21, 2019 23:53
rickycodes pushed a commit that referenced this pull request Jan 31, 2022
* added tests for browser and dapps

* rename files to be picked up by e2e tests

* updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants