aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2019-04-18 06:55:55 +0800
committerDan Miller <danjm.com@gmail.com>2019-04-18 08:14:39 +0800
commitcca73f33f3dfab8b2bb6f9ac1cc4959a01dab93f (patch)
tree13d5c6442a4bd0cdd83949cf1848b41f53e1025c
parent83f3e8ab983e420a25c14ae35398f80d740dae54 (diff)
downloadtangerine-wallet-browser-cca73f33f3dfab8b2bb6f9ac1cc4959a01dab93f.tar
tangerine-wallet-browser-cca73f33f3dfab8b2bb6f9ac1cc4959a01dab93f.tar.gz
tangerine-wallet-browser-cca73f33f3dfab8b2bb6f9ac1cc4959a01dab93f.tar.bz2
tangerine-wallet-browser-cca73f33f3dfab8b2bb6f9ac1cc4959a01dab93f.tar.lz
tangerine-wallet-browser-cca73f33f3dfab8b2bb6f9ac1cc4959a01dab93f.tar.xz
tangerine-wallet-browser-cca73f33f3dfab8b2bb6f9ac1cc4959a01dab93f.tar.zst
tangerine-wallet-browser-cca73f33f3dfab8b2bb6f9ac1cc4959a01dab93f.zip
Update button type on metrics opt-in screen.
-rw-r--r--test/e2e/beta/metamask-beta-responsive-ui.spec.js2
-rw-r--r--ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/beta/metamask-beta-responsive-ui.spec.js b/test/e2e/beta/metamask-beta-responsive-ui.spec.js
index b1ed8536e..9ef560556 100644
--- a/test/e2e/beta/metamask-beta-responsive-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-responsive-ui.spec.js
@@ -123,7 +123,7 @@ describe('MetaMask', function () {
})
it('clicks the "I agree" option on the metametrics opt-in screen', async () => {
- const optOutButton = await findElement(driver, By.css('.btn-confirm'))
+ const optOutButton = await findElement(driver, By.css('.btn-primary'))
optOutButton.click()
await delay(largeDelayMs)
})
diff --git a/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js b/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js
index 19c668278..ffaff9acf 100644
--- a/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js
+++ b/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js
@@ -149,7 +149,7 @@ export default class MetaMetricsOptIn extends Component {
})
}}
submitText={'I agree'}
- submitButtonType={'confirm'}
+ submitButtonType={'primary'}
disabled={false}
/>
<div className="metametrics-opt-in__bottom-text">