diff options
author | Simon Knox <psimyn@gmail.com> | 2019-06-11 20:59:18 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2019-06-12 07:19:49 +1000 |
commit | a6e30424918f015e6f2f61796b1f7aada621f3c4 (patch) | |
tree | 6f6637c4845c5f5d7cc977a4f95d326c0d64b845 /spec/javascripts | |
parent | d7f5027643d2239b1ea5fd96c19f5e50fbb91691 (diff) | |
download | gitlab-ce-a6e30424918f015e6f2f61796b1f7aada621f3c4.tar.gz |
Make time window links take up full dropdown width62300-target-area-for-dropdown-list-items-is-too-small-on-metrics-dashboard
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/monitoring/dashboard_spec.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/javascripts/monitoring/dashboard_spec.js b/spec/javascripts/monitoring/dashboard_spec.js index 1a371c3adaf..f9c3122088e 100644 --- a/spec/javascripts/monitoring/dashboard_spec.js +++ b/spec/javascripts/monitoring/dashboard_spec.js @@ -314,9 +314,7 @@ describe('Dashboard', () => { }); setTimeout(() => { - const selectedTimeWindow = component.$el.querySelector( - '.js-time-window-dropdown [active="true"]', - ); + const selectedTimeWindow = component.$el.querySelector('.js-time-window-dropdown .active'); expect(selectedTimeWindow.textContent.trim()).toEqual('30 minutes'); done(); |