summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locale/gitlab.pot3
-rw-r--r--spec/javascripts/monitoring/dashboard_spec.js2
2 files changed, 4 insertions, 1 deletions
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 3a140aef0e7..78d3234b562 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -5100,6 +5100,9 @@ msgstr ""
msgid "Metrics|No deployed environments"
msgstr ""
+msgid "Metrics|Show Last"
+msgstr ""
+
msgid "Metrics|There was an error fetching the environments data, please try again"
msgstr ""
diff --git a/spec/javascripts/monitoring/dashboard_spec.js b/spec/javascripts/monitoring/dashboard_spec.js
index b152ac82ca4..a2d1acbe618 100644
--- a/spec/javascripts/monitoring/dashboard_spec.js
+++ b/spec/javascripts/monitoring/dashboard_spec.js
@@ -138,7 +138,7 @@ describe('Dashboard', () => {
setTimeout(() => {
const dropdownMenuEnvironments = component.$el.querySelectorAll(
- '.js-environments-dropdown ul',
+ '.js-environments-dropdown .dropdown-item',
);
expect(dropdownMenuEnvironments.length).toEqual(0);