mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
17 lines
598 B
JavaScript
17 lines
598 B
JavaScript
import * as main from './main.page.js'
|
|
|
|
export const wcInput = '[data-testid="wc-input"]'
|
|
export const wcLogo = '[data-testid="wc-icon"]'
|
|
export const wcTitle = '[data-testid="wc-title"]'
|
|
const wcButton = 'span[data-track="walletconnect: WC popup"]'
|
|
const wcHintsBtn = '[data-track="walletconnect: WC hide hints"] > button'
|
|
|
|
export const connectWCStr = 'Please open one of your Safe Accounts to connect to via WalletConnect'
|
|
export function checkBasicElementsVisible() {
|
|
main.verifyElementsIsVisible([wcLogo, wcTitle, wcHintsBtn])
|
|
}
|
|
|
|
export function clickOnWCBtn() {
|
|
cy.get(wcButton).click()
|
|
}
|