From 2f85d6bfe71fa902780d99ad26937c7a47d517da Mon Sep 17 00:00:00 2001 From: Brendan Kirby Date: Sun, 20 Oct 2024 21:43:47 -0700 Subject: [PATCH] chore: cleanup based on feedback --- e2e/pages/Ramps/BuildQuoteView.js | 2 +- e2e/selectors/Ramps/BuildQuote.selectors.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/pages/Ramps/BuildQuoteView.js b/e2e/pages/Ramps/BuildQuoteView.js index ddaa0663fe5..f95e6819ce0 100644 --- a/e2e/pages/Ramps/BuildQuoteView.js +++ b/e2e/pages/Ramps/BuildQuoteView.js @@ -12,7 +12,7 @@ class BuildQuoteView { } get cancelButton() { - return Matchers.getElementByText(BuildQuoteSelectors.CANCEL_BUTTON); + return Matchers.getElementByText(BuildQuoteSelectors.CANCEL_BUTTON_TEXT); } async tapCancelButton() { diff --git a/e2e/selectors/Ramps/BuildQuote.selectors.js b/e2e/selectors/Ramps/BuildQuote.selectors.js index dccd5c85133..f6414abc6cb 100644 --- a/e2e/selectors/Ramps/BuildQuote.selectors.js +++ b/e2e/selectors/Ramps/BuildQuote.selectors.js @@ -3,5 +3,5 @@ import enContent from '../../../locales/languages/en.json'; export const BuildQuoteSelectors = { AMOUNT_TO_BUY_LABEL: enContent.fiat_on_ramp_aggregator.amount_to_buy, GET_QUOTES_BUTTON: enContent.fiat_on_ramp_aggregator.get_quotes, - CANCEL_BUTTON: enContent.navigation.cancel, + CANCEL_BUTTON_TEXT: enContent.navigation.cancel, };