diff --git a/apps/remix-ide-e2e/src/helpers/init.ts b/apps/remix-ide-e2e/src/helpers/init.ts index 7740db1f78..fdef47e8e7 100644 --- a/apps/remix-ide-e2e/src/helpers/init.ts +++ b/apps/remix-ide-e2e/src/helpers/init.ts @@ -31,6 +31,6 @@ function initModules (browser: NightwatchBrowser, callback: VoidFunction) { .clickLaunchIcon('settings') .setValue('[data-id="settingsTabGistAccessToken"]', process.env.gist_token) .click('[data-id="settingsTabSaveGistToken"]') - .click('[data-id="settingsTabThemeFlatly"]') // e2e tests were initially developed with Flatly. Some tests are failing with the default one (Dark), because the dark theme put uppercase everywhere. + .click('[data-id="settingsTabThemeLabelFlatly"]') // e2e tests were initially developed with Flatly. Some tests are failing with the default one (Dark), because the dark theme put uppercase everywhere. .perform(() => { callback() }) } diff --git a/apps/remix-ide/src/app/tabs/settings-tab.js b/apps/remix-ide/src/app/tabs/settings-tab.js index f460dcd977..e03899de41 100644 --- a/apps/remix-ide/src/app/tabs/settings-tab.js +++ b/apps/remix-ide/src/app/tabs/settings-tab.js @@ -55,11 +55,11 @@ module.exports = class SettingsTab extends ViewPlugin { this._deps.themeModule.switchTheme(name) } if (themes) { - return yo`