aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/chrome/metamask.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/chrome/metamask.spec.js')
-rw-r--r--test/e2e/chrome/metamask.spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/chrome/metamask.spec.js b/test/e2e/chrome/metamask.spec.js
index fb33e88fd..d72ebe1a9 100644
--- a/test/e2e/chrome/metamask.spec.js
+++ b/test/e2e/chrome/metamask.spec.js
@@ -102,7 +102,8 @@ describe('Metamask popup page', function () {
it('shows value was created and seed phrase', async () => {
await delay(300)
- await driver.findElement(By.css('.twelve-word-phrase')).getText()
+ const seedPhrase = await driver.findElement(By.css('.twelve-word-phrase')).getText()
+ assert.equal(seedPhrase.split(' ').length, 12)
const continueAfterSeedPhrase = await driver.findElement(By.css('#app-content > div > div.app-primary.from-right > div > button:nth-child(4)'))
assert.equal(await continueAfterSeedPhrase.getText(), `I'VE COPIED IT SOMEWHERE SAFE`)
await continueAfterSeedPhrase.click()