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:
parent
83f3e8ab98
commit
cca73f33f3
@ -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)
|
||||||
})
|
})
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user