mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* tests(e2e): update hidden tokens tests * tests(e2e): default tokens set up for nested safes tests * tests(e2e): update swap tokens tests * tests(e2e): update notifications and proposers tests * tests(e2e): new main function and small fixes * tests(e2e): add ls set up for nested safe creation tests * tests(e2e): fixComments * tests(e2e): fix for smoke test with image * tests(e2e): remove logo check * tests(e2e): fixe for the image * tests(e2e): update verifySummaryByName function * tests(e2e): update verifyTokenSymbol function to more general solution * tests(e2e): remove Perl from new endpoints test * tests(e2e): removed unused test and update hidentoken function * tests(e2e): update create tx functions and fix create_tx_2 test * tests(e2e): update selector for the logos * tests(e2e): update number of button and list of pages
44 lines
1.2 KiB
JavaScript
44 lines
1.2 KiB
JavaScript
import * as constants from '../../support/constants.js'
|
|
import { getSafes, CATEGORIES } from '../../support/safes/safesHandler.js'
|
|
import * as wc from '../pages/walletconnect.page.js'
|
|
|
|
let staticSafes = []
|
|
|
|
describe('Walletconnect UI tests', () => {
|
|
before(async () => {
|
|
staticSafes = await getSafes(CATEGORIES.static)
|
|
})
|
|
|
|
const views = [
|
|
constants.BALANCE_URL,
|
|
constants.setupUrl,
|
|
constants.swapUrl,
|
|
constants.createNewSafeSepoliaUrl,
|
|
constants.transactionUrl,
|
|
constants.transactionsHistoryUrl,
|
|
constants.loadNewSafeSepoliaUrl,
|
|
constants.securityUrl,
|
|
constants.homeUrl,
|
|
constants.balanceNftsUrl,
|
|
constants.welcomeAccountsSepoliaUrl,
|
|
constants.addressBookUrl,
|
|
constants.appsUrlGeneral,
|
|
constants.transactionQueueUrl,
|
|
constants.transactionsMessagesUrl,
|
|
constants.modulesUrl,
|
|
constants.appsCustomUrl,
|
|
constants.securityUrl,
|
|
constants.appearanceSettingsUrl,
|
|
constants.dataSettingsUrl,
|
|
constants.notificationsUrl,
|
|
]
|
|
|
|
views.forEach((link) => {
|
|
it(`Verify clicking on WC icon shows basic elements in view: ${link}`, () => {
|
|
cy.visit(link + staticSafes.SEP_STATIC_SAFE_4)
|
|
wc.clickOnWCBtn()
|
|
wc.checkBasicElementsVisible()
|
|
})
|
|
})
|
|
})
|