Files
SAGitHublinear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>vmosharova
2d6f4a2413 refactor: standardize "Safe account(s)" terminology across the app (#8178)
* refactor: standardize "Safe account(s)" terminology across the app

Normalize Title Case "Safe Account(s)" UI copy to sentence-case
"Safe account(s)" across web, mobile and shared packages, per the
agreed terminology and the repo's sentence-case UI rule.

Generated with [Linear](https://linear.app/safe-global/issue/WA-2700/standardize-safe-accounts-terminology-across-the-app#agent-session-dea55899)

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>

* tests: update mobile E2E assertions to "Safe account" casing

Two Maestro assertVisible strings still used the old Title Case copy.

Generated with [Linear](https://linear.app/safe-global/issue/WA-2700/standardize-safe-accounts-terminology-across-the-app#agent-session-dea55899)

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>

* fix: standardise new code / tests to use `Safe accounts`

---------

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
Co-authored-by: vmosharova <[email protected]>
2026-06-25 14:17:51 +02:00

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()
}