mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
17 lines
407 B
JavaScript
17 lines
407 B
JavaScript
import { messageItem } from './create_tx.pages'
|
|
const onchainMsgInput = 'input[placeholder*="Message"]'
|
|
|
|
export const offchainMessage = 'Test message 2 off-chain'
|
|
|
|
export function enterOnchainMessage(msg) {
|
|
cy.get(onchainMsgInput).type(msg)
|
|
}
|
|
|
|
export function clickOnMessageSignBtn(index) {
|
|
cy.get(messageItem)
|
|
.eq(index)
|
|
.within(() => {
|
|
cy.get('button').contains('Sign').click()
|
|
})
|
|
}
|