|
|
@ -612,9 +612,16 @@ describe('MetaMask', function () { |
|
|
|
await driver.switchTo().window(extension) |
|
|
|
await driver.switchTo().window(extension) |
|
|
|
await delay(regularDelayMs) |
|
|
|
await delay(regularDelayMs) |
|
|
|
|
|
|
|
|
|
|
|
const transactions = await findElements(driver, By.css('.transaction-list-item')) |
|
|
|
let transactions = await findElements(driver, By.css('.transaction-list-item')) |
|
|
|
await transactions[3].click() |
|
|
|
await transactions[3].click() |
|
|
|
await delay(regularDelayMs) |
|
|
|
await delay(regularDelayMs) |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
transactions = await findElements(driver, By.css('.transaction-list-item'), 1000) |
|
|
|
|
|
|
|
await transactions[3].click() |
|
|
|
|
|
|
|
} catch (e) { |
|
|
|
|
|
|
|
console.log(e) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
await delay(regularDelayMs) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
it('navigates the transactions', async () => { |
|
|
|
it('navigates the transactions', async () => { |
|
|
|