mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix tests.
This commit is contained in:
parent
d7985fbf77
commit
07dd064247
@ -10,6 +10,7 @@ import ImportSeedPhraseScreen from './import-seed-phrase-screen'
|
||||
import {
|
||||
onboardingBuyEthView,
|
||||
unMarkPasswordForgotten,
|
||||
showModal,
|
||||
} from '../../../../ui/app/actions'
|
||||
|
||||
class FirstTimeFlow extends Component {
|
||||
@ -80,7 +81,7 @@ class FirstTimeFlow extends Component {
|
||||
renderScreen () {
|
||||
const {SCREEN_TYPE} = FirstTimeFlow
|
||||
const {
|
||||
goToBuyEtherView,
|
||||
openBuyEtherModal,
|
||||
address,
|
||||
restoreCreatePasswordScreen,
|
||||
forgottenPassword,
|
||||
|
@ -57,9 +57,9 @@ async function runFirstTimeUsageTest (assert, done) {
|
||||
;(await findAsync(app, '.first-time-flow__button')).click()
|
||||
|
||||
// Deposit Ether Screen
|
||||
const buyEthTitle = (await findAsync(app, '.buy-ether__title'))[0]
|
||||
assert.equal(buyEthTitle.textContent, 'Deposit Ether', 'deposit ether screen')
|
||||
;(await findAsync(app, '.buy-ether__do-it-later')).click()
|
||||
const depositEthTitle = (await findAsync(app, '.page-container__title'))[0]
|
||||
assert.equal(depositEthTitle.textContent, 'Deposit Ether', 'deposit ether screen')
|
||||
;(await findAsync(app, '.page-container__header-close')).click()
|
||||
|
||||
const menu = (await findAsync(app, '.account-menu__icon'))[0]
|
||||
menu.click()
|
||||
|
Loading…
x
Reference in New Issue
Block a user