diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-04-17 19:37:16 +0300 |
---|---|---|
committer | Jose <jivanvl@hotmail.com> | 2018-04-20 20:48:04 +0300 |
commit | ea7127dea929bd47b9142f1550841e196898b7b3 (patch) | |
tree | ccf9699d155555232a6ce8ffe990e7068f76ec7c /spec/javascripts/settings_panels_spec.js | |
parent | 4745361c1f714812d6d07ba5b8a1dc686e9e74e4 (diff) |
Changed anchor not to have the js prefix, add i18n
Diffstat (limited to 'spec/javascripts/settings_panels_spec.js')
-rw-r--r-- | spec/javascripts/settings_panels_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/settings_panels_spec.js b/spec/javascripts/settings_panels_spec.js index b22ef7373b3..4fba36bd4de 100644 --- a/spec/javascripts/settings_panels_spec.js +++ b/spec/javascripts/settings_panels_spec.js @@ -13,9 +13,9 @@ describe('Settings Panels', () => { }); it('should expand linked hash fragment panel', () => { - location.hash = '#js-autodevops-settings'; + location.hash = '#autodevops-settings'; - const pipelineSettingsPanel = document.querySelector('#js-autodevops-settings'); + const pipelineSettingsPanel = document.querySelector('#autodevops-settings'); // Our test environment automatically expands everything so we need to clear that out first pipelineSettingsPanel.classList.remove('expanded'); |