Files
Liliya SorokaandGitHub 4cb9f1a286 fix(e2e): update WC, untrusted fallbackhandler and refactor Assets.page (#6952)
* fix(e2e): check wc on accounts instead of welcome page

* fix(e2e): replace Error check by Badge check for untrusted fallback

* fix(e2e): fix 2 tests and assets.page refactoring

* fix(e2e): remove only
2026-01-15 17:44:27 +01:00

20 lines
640 B
JavaScript

import * as constants from '../../support/constants.js'
import { getSafes, CATEGORIES } from '../../support/safes/safesHandler.js'
import * as wc from '../pages/walletconnect.page.js'
import * as main from '../pages/main.page.js'
let staticSafes = []
describe('Walletconnect tests', () => {
before(async () => {
staticSafes = await getSafes(CATEGORIES.static)
})
it('Verify that connection via WC is not allowed when no selected safe in URL', () => {
cy.visit('/' + constants.welcomeAccountUrl)
wc.clickOnWCBtn()
cy.contains(wc.connectWCStr).should('be.visible')
main.verifyElementsCount(wc.wcInput, 0)
})
})