diff --git a/e2e/pages/Settings/AdvancedView.js b/e2e/pages/Settings/AdvancedView.js index fcf7a9b3c2d..4d56b6c3a4c 100644 --- a/e2e/pages/Settings/AdvancedView.js +++ b/e2e/pages/Settings/AdvancedView.js @@ -3,17 +3,6 @@ import Gestures from '../../utils/Gestures'; import Matchers from '../../utils/Matchers'; class AdvancedSettingsView { - async tapEthSignSwitch() { - // Scroll to the element - await Gestures.scrollToElement( - this.ethSignSwitch, - this.scrollViewIdentifier, - ); - - // Wait and tap the element - await Gestures.waitAndTap(this.ethSignSwitch); - } - get scrollViewIdentifier() { return Matchers.getIdentifier( AdvancedViewSelectorsIDs.ADVANCED_SETTINGS_SCROLLVIEW, @@ -34,6 +23,14 @@ class AdvancedSettingsView { await Gestures.waitAndTap(this.showFiatOnTestnetsToggle); } + async tapEthSignSwitch() { + await Gestures.scrollToElement( + this.ethSignSwitch, + this.scrollViewIdentifier, + ); + await Gestures.waitAndTap(this.ethSignSwitch); + } + async scrollToShowFiatOnTestnetsToggle() { await Gestures.scrollToElement( this.showFiatOnTestnetsToggle,