1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Update button type on metrics opt-in screen.

This commit is contained in:
Dan Miller 2019-04-17 20:25:55 -02:30
parent 83f3e8ab98
commit cca73f33f3
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ describe('MetaMask', function () {
}) })
it('clicks the "I agree" option on the metametrics opt-in screen', async () => { 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() optOutButton.click()
await delay(largeDelayMs) await delay(largeDelayMs)
}) })

View File

@ -149,7 +149,7 @@ export default class MetaMetricsOptIn extends Component {
}) })
}} }}
submitText={'I agree'} submitText={'I agree'}
submitButtonType={'confirm'} submitButtonType={'primary'}
disabled={false} disabled={false}
/> />
<div className="metametrics-opt-in__bottom-text"> <div className="metametrics-opt-in__bottom-text">