Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UI/specs/Login_spec.js')
-rw-r--r--tests/UI/specs/Login_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/UI/specs/Login_spec.js b/tests/UI/specs/Login_spec.js
index c58dd5fc53..ed4ad31ba3 100644
--- a/tests/UI/specs/Login_spec.js
+++ b/tests/UI/specs/Login_spec.js
@@ -49,7 +49,7 @@ describe("Login", function () {
it("should redirect to login when logout link clicked", function (done) {
expect.screenshot("login_form").to.be.capture("logout_form", function (page) {
- page.click("#topBars a:contains(Sign out)");
+ page.click("#topRightBar .icon-sign-out");
}, done);
});
@@ -89,7 +89,7 @@ describe("Login", function () {
it("should login successfully when formless login used", function (done) {
expect.page("").contains('#dashboard', 'formless_login', function (page) {
- page.click("#topBars a:contains(Sign out)");
+ page.click("#topRightBar .icon-sign-out");
page.load(formlessLoginUrl);
}, done);
});