From cef1c1941839709b292be9df7d7c932f13244ec5 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 16 Apr 2015 14:01:16 +0200 Subject: [PATCH] fix timezone failure of web tests --- server/sonar-web/src/test/js/quality-profiles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-web/src/test/js/quality-profiles.js b/server/sonar-web/src/test/js/quality-profiles.js index 5fcb523b39f..1ff4d2330a5 100644 --- a/server/sonar-web/src/test/js/quality-profiles.js +++ b/server/sonar-web/src/test/js/quality-profiles.js @@ -830,7 +830,7 @@ casper.test.begin(testName('Changelog'), 21, function (test) { test.assertExists('.js-show-more-changelog'); test.assertElementCount('#quality-profile-changelog tbody tr', 2); - test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(1)', 'April 13 2015 1:44 PM'); + test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(1)', 'April 13 2015'); test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(1)', 'System'); test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(1)', 'ACTIVATED'); test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(1)', 'Synchronisation should not'); @@ -852,7 +852,7 @@ casper.test.begin(testName('Changelog'), 21, function (test) { test.assertDoesntExist('.js-show-changelog'); test.assertDoesntExist('.js-show-more-changelog'); - test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(3)', 'April 13 2015 1:44 PM'); + test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(3)', 'April 13 2015'); test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(3)', 'System'); test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(3)', 'DEACTIVATED'); test.assertSelectorContains('#quality-profile-changelog tbody tr:nth-child(3)', 'runFinalizersOnExit'); -- 2.39.5