]> source.dussan.org Git - sonarqube.git/commitdiff
fix timezone failure of web tests
authorStas Vilchik <vilchiks@gmail.com>
Thu, 16 Apr 2015 12:01:16 +0000 (14:01 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 16 Apr 2015 12:01:23 +0000 (14:01 +0200)
server/sonar-web/src/test/js/quality-profiles.js

index 5fcb523b39ff6d0b215700ddaff1c2af5dc82f6e..1ff4d2330a5fa0922f8b95b1adde312319febe4e 100644 (file)
@@ -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');