From ef9eba554c679835dfb2dc60c4d3549405c6ec58 Mon Sep 17 00:00:00 2001 From: spalger Date: Tue, 14 Jun 2016 18:33:45 -0700 Subject: [PATCH] [status] update functional tests to use testSubject selector --- src/plugins/status_page/public/status_page.html | 6 +++--- src/plugins/status_page/public/status_page.less | 6 +++--- test/functional/status_page/index.js | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/plugins/status_page/public/status_page.html b/src/plugins/status_page/public/status_page.html index 29c83c37eb836..f95892f6787d6 100644 --- a/src/plugins/status_page/public/status_page.html +++ b/src/plugins/status_page/public/status_page.html @@ -15,7 +15,7 @@

-
+

Status Breakdown

@@ -26,7 +26,7 @@

No status information available

- +
@@ -43,7 +43,7 @@

Service Status
- +
diff --git a/src/plugins/status_page/public/status_page.less b/src/plugins/status_page/public/status_page.less index c63a323b4c265..520708d86d016 100644 --- a/src/plugins/status_page/public/status_page.less +++ b/src/plugins/status_page/public/status_page.less @@ -59,7 +59,7 @@ } // status status table section -.status_status_wrapper { +.status_statuses_wrapper { margin-top: 25px; margin-left: -5px; margin-right: -5px; @@ -78,7 +78,7 @@ text-align: center; } - .status_status_breakdown { + .status_statuses_breakdown { margin-left: 0; margin-right: 0; @@ -156,7 +156,7 @@ content: @icon; } - .status_status_wrapper { + .status_statuses_wrapper { border-top-color: @color; } } diff --git a/test/functional/status_page/index.js b/test/functional/status_page/index.js index 5a813e632c89e..e745b18746090 100644 --- a/test/functional/status_page/index.js +++ b/test/functional/status_page/index.js @@ -14,8 +14,7 @@ bdd.describe('status page', function () { var self = this; return common.tryForTime(6000, function () { - return self.remote - .findByCssSelector('.plugin_status_breakdown') + return common.findTestSubject('pluginStatusBreakdown') .getVisibleText() .then(function (text) { common.saveScreenshot('Status');
Plugin Version