diff options
Diffstat (limited to 'test/e2e/beta/metamask-beta-responsive-ui.spec.js')
-rw-r--r-- | test/e2e/beta/metamask-beta-responsive-ui.spec.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/e2e/beta/metamask-beta-responsive-ui.spec.js b/test/e2e/beta/metamask-beta-responsive-ui.spec.js index 8b34f9027..2ab8d86ce 100644 --- a/test/e2e/beta/metamask-beta-responsive-ui.spec.js +++ b/test/e2e/beta/metamask-beta-responsive-ui.spec.js @@ -276,9 +276,11 @@ describe('MetaMask', function () { const inputValue = await inputAmount.getAttribute('value') assert.equal(inputValue, '1') + }) + it('opens and closes the gas modal', async function () { // Set the gas limit - const configureGas = await findElement(driver, By.css('.send-v2__gas-fee-display button')) + const configureGas = await findElement(driver, By.css('.advanced-gas-options-btn')) await configureGas.click() await delay(regularDelayMs) @@ -286,9 +288,11 @@ describe('MetaMask', function () { const save = await findElement(driver, By.xpath(`//button[contains(text(), 'Save')]`)) await save.click() - await driver.wait(until.stalenessOf(gasModal)) + await driver.wait(until.stalenessOf(gasModal), 10000) await delay(regularDelayMs) + }) + it('clicks through to the confirm screen', async function () { // Continue to next screen const nextScreen = await findElement(driver, By.xpath(`//button[contains(text(), 'Next')]`)) await nextScreen.click() |