Сравнение постов
Различия между постами
#264582 (30.08.2022 00:01)
и
#277414 (19.09.2024 08:57).
1 | const assert = require('assert') | |
2 | const driverModule = require("../../wallets/libs/buildDriver"); | |
3 | ||
4 | const {profilePath, appPath} = require('../../configs/paths'); | |
5 | const {robot, teleport} = require('../../configs/urls'); | |
6 | ||
7 | const {txUrlId, fuckBtnId, continueBtnId } = require('../../wallets/keplr/pages/robot'); | |
8 | ||
9 | const {applyBtnId} = require('../../wallets/keplr/pages/keplr'); | |
10 | const { clickOnElement, ensureOneWindowsOpen, ensureElPresentDOM, closeWindow, checkWindowHandle, | |
11 | navigateToUrl, switchToNewWindow, switchToOriginalWindow2, setPassword, setTokenAmount, | |
1 | Scale up your account and get MORE! | |
2 | ||
3 | Regardless of your budget, we suffer with an amazing offer in behalf of you! | |
4 | ||
5 | Leave any amount up to $400 and coax a HONORARIUM of 100-120% of your leave amount! | |
6 | ||
7 | Still if you don't hold a large amount, you can allay distend your entrust and enjoy more mirth while playing! | |
8 | ||
9 | Try it truthful just now and start playing with amazingly funds in your account! | |
10 | ||
11 | Your winnings are waiting as a replacement for you! | |
12 | switchToOriginalWindow, chooseBuyToken, chooseSellToken, clearTokenAmount, chooseBtnClick | |
13 | } = require('../../wallets/libs/webdriverRelated'); | |
14 | ||
15 | const {takeScreenshot} = require('../../wallets/libs/fsRelated'); | |
16 | let driver = new driverModule(profilePath, appPath); | |
17 | let defaultWindow; | |
18 | ||
19 | describe('add()', async()=>{ | |
20 | let networks=[]; | |
21 | let tokens=[]; | |
22 | ||
23 | before(async () => { | |
24 | defaultWindow = await checkWindowHandle(driver.getDriver()); | |
25 | await navigateToUrl(driver.getDriver(), robot); | |
26 | await switchToNewWindow(driver.getDriver(), defaultWindow); | |
27 | await setPassword(driver.getDriver()); | |
28 | await switchToOriginalWindow(driver.getDriver(), defaultWindow, []); | |
29 | await navigateToUrl(driver.getDriver(), teleport); | |
30 | }); | |
31 | ||
32 | ||
33 | tokens.forEach(function(token) { | |
34 | ||
35 | tokens.forEach(function(token2) { | |
36 | ||
37 | it('Baaaaaa!!! token from: ${token.name}, to: ${token2.name}', async function() { | |
38 | ||
39 | ||
40 | ||
41 | }); | |
42 | }); | |
43 | }); |