mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix warnings for integration tests
This commit is contained in:
parent
cb71896a8f
commit
04743afb2d
@ -1,10 +1,7 @@
|
|||||||
const reactTriggerChange = require('react-trigger-change')
|
const reactTriggerChange = require('react-trigger-change')
|
||||||
const {
|
const {
|
||||||
timeout,
|
|
||||||
queryAsync,
|
queryAsync,
|
||||||
findAsync,
|
|
||||||
} = require('../../lib/util')
|
} = require('../../lib/util')
|
||||||
const PASSWORD = 'password123'
|
|
||||||
|
|
||||||
QUnit.module('confirm sig requests')
|
QUnit.module('confirm sig requests')
|
||||||
|
|
||||||
@ -45,7 +42,7 @@ async function runConfirmSigRequestsTest (assert, done) {
|
|||||||
assert.equal(confirmSigHeadline[0].textContent, 'Your signature is being requested')
|
assert.equal(confirmSigHeadline[0].textContent, 'Your signature is being requested')
|
||||||
|
|
||||||
confirmSigRowValue = await queryAsync($, '.request-signature__row-value')
|
confirmSigRowValue = await queryAsync($, '.request-signature__row-value')
|
||||||
assert.ok(confirmSigRowValue[0].textContent.match(/^\#\sTerms\sof\sUse/))
|
assert.ok(confirmSigRowValue[0].textContent.match(/^#\sTerms\sof\sUse/))
|
||||||
|
|
||||||
confirmSigSignButton = await queryAsync($, 'button.btn-primary.btn--large')
|
confirmSigSignButton = await queryAsync($, 'button.btn-primary.btn--large')
|
||||||
confirmSigSignButton[0].click()
|
confirmSigSignButton[0].click()
|
||||||
|
@ -5,8 +5,6 @@ const {
|
|||||||
findAsync,
|
findAsync,
|
||||||
} = require('../../lib/util')
|
} = require('../../lib/util')
|
||||||
|
|
||||||
const PASSWORD = 'password123'
|
|
||||||
|
|
||||||
QUnit.module('new ui send flow')
|
QUnit.module('new ui send flow')
|
||||||
|
|
||||||
QUnit.test('successful send flow', (assert) => {
|
QUnit.test('successful send flow', (assert) => {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
const reactTriggerChange = require('../../lib/react-trigger-change')
|
const reactTriggerChange = require('../../lib/react-trigger-change')
|
||||||
const {
|
const {
|
||||||
timeout,
|
|
||||||
queryAsync,
|
queryAsync,
|
||||||
findAsync,
|
findAsync,
|
||||||
} = require('../../lib/util')
|
} = require('../../lib/util')
|
||||||
|
Loading…
Reference in New Issue
Block a user