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, };