const assert = require('assert') const driverModule = require("../../wallets/libs/buildDriver"); const {profilePath, appPath} = require('../../configs/paths'); const {robot, teleport} = require('../../configs/urls'); const {txUrlId, fuckBtnId, continueBtnId } = require('../../wallets/keplr/pages/robot'); const {applyBtnId} = require('../../wallets/keplr/pages/keplr'); const { clickOnElement, ensureOneWindowsOpen, ensureElPresentDOM, closeWindow, checkWindowHandle, navigateToUrl, switchToNewWindow, switchToOriginalWindow2, setPassword, setTokenAmount, switchToOriginalWindow, chooseBuyToken, chooseSellToken, clearTokenAmount, chooseBtnClick } = require('../../wallets/libs/webdriverRelated'); const {takeScreenshot} = require('../../wallets/libs/fsRelated'); let driver = new driverModule(profilePath, appPath); let defaultWindow; describe('add()', async()=>{ let networks=[]; let tokens=[]; before(async () => { defaultWindow = await checkWindowHandle(driver.getDriver()); await navigateToUrl(driver.getDriver(), robot); await switchToNewWindow(driver.getDriver(), defaultWindow); await setPassword(driver.getDriver()); await switchToOriginalWindow(driver.getDriver(), defaultWindow, []); await navigateToUrl(driver.getDriver(), teleport); }); tokens.forEach(function(token) { tokens.forEach(function(token2) { it('Baaaaaa!!! token from: ${token.name}, to: ${token2.name}', async function() { }); }); }); });