text: const locators = {
    LOGIN: {
      USER: '[data-test=email]',
      PASSWORD: '[data-test=passwd]',
      BTN_LOGIN: '.btn',
    },
    MENU: {
      HOME: '[data-test=menu-home]',
      SETTINGS: '[data-test=menu-settings]',
      ACCOUNTS: '[href="/contas"]',
      RESET: '[href="/reset"]',
      TRANSACTIONS: '[href="/movimentacao"]',
      EXTRACT: '[data-test=menu-extrato]',
    },
    ACCOUNTS: {
      NOME: '[data-test=nome]',
      BTN_SAVE: '.btn',
      XP_BTN_CHANGE: (account) => `//table//td[contains(., '${account}')]/..//i[@class='far fa-edit']`,
    },
    TRANSACTIONS: {
      DESCRIPTION: '[data-test=descricao]',
      VALUE: '[data-test=valor]',
      INTERESTED: '[data-test=envolvido]',
      ACCOUNT: '[data-test=conta]',
      STATUS: '[data-test=status]',
      BTN_SAVE: '.btn-primary',
    },
    EXTRACT: {
      LINES: '.list-group > li',
      XP_SEARCH_ELEMENT: "//span[contains(., 'Salário')]//following-sibling::small[contains(., '123')]",
      FN_XP_REMOVE_ELEMENT: (account) => `//span[contains(., '${account}')]/../../..//i[@class='far fa-trash-alt']`,
      FN_XP_ALTERAR_ELEMENT: (account) => `//span[contains(., '${account}')]/../../..//i[@class='fas fa-edit']`,
      FN_XP_LINE: (desc) => `//span[contains(., '${desc}')]/../../../..`,
    },
    BALANCE: {
      FN_XP_SALDO_CONTA: (name) => `//td[contains(., '${name}')]//../td[2]`,
    },
    MESSAGE: '.toast-message',
  };
  
  export default locators;
  