From 081b6c8395e6abe4568c670f6364d01046c7ead8 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 19 Feb 2015 14:31:41 +0100 Subject: [PATCH] kill unused test --- .../js/tests/e2e/tests/source-viewer-spec.js | 46 ------------------- 1 file changed, 46 deletions(-) diff --git a/server/sonar-web/src/main/js/tests/e2e/tests/source-viewer-spec.js b/server/sonar-web/src/main/js/tests/e2e/tests/source-viewer-spec.js index 4346ecfe1ea..45ab591bc39 100644 --- a/server/sonar-web/src/main/js/tests/e2e/tests/source-viewer-spec.js +++ b/server/sonar-web/src/main/js/tests/e2e/tests/source-viewer-spec.js @@ -120,49 +120,3 @@ casper.test.begin(testName('Test File'), function (test) { test.done(); }); }); - - -// FIXME enable test -//casper.test.begin(testName('Go From Coverage to Test File'), function (test) { -// casper -// .start(lib.buildUrl('source-viewer'), function () { -// lib.setDefaultViewport(); -// lib.mockRequest('/api/l10n/index', '{}'); -// lib.mockRequestFromFile('/api/components/app', 'app.json'); -// lib.mockRequestFromFile('/api/sources/lines', 'lines.json'); -// lib.mockRequestFromFile('/api/issues/search', 'issues.json'); -// lib.mockRequestFromFile('/api/tests/test_cases', 'test-cases.json'); -// }) -// -// .then(function () { -// casper.waitForSelector('.component-viewer-source .source-line'); -// }) -// -// .then(function () { -// casper.click('.js-toggle-coverage'); -// casper.waitForSelector('.source-line-covered', function () { -// casper.click('.source-line-covered'); -// casper.waitForSelector('.bubble-popup', function () { -// test.assertSelectorContains('.bubble-popup', 'src/test/java/org/sonar/batch/issue/IssueCacheTest.java'); -// test.assertSelectorContains('.bubble-popup', 'should_update_existing_issue'); -// test.assertSelectorContains('.bubble-popup li[title="should_update_existing_issue"]', '293'); -// -// lib.clearRequestMocks(); -// lib.mockRequestFromFile('/api/components/app', 'tests/app.json'); -// lib.mockRequestFromFile('/api/sources/show', 'tests/source.json'); -// lib.mockRequestFromFile('/api/resources', 'tests/resources.json'); -// lib.mockRequest('/api/coverage/show', '{}'); -// lib.mockRequestFromFile('/api/tests/show', 'tests/tests.json'); -// casper.click('.component-viewer-popup-test-file[data-key]'); -// -// casper.waitForSelector('.js-unit-test', function () { -// test.assertElementCount('.js-unit-test', 2); -// }); -// }); -// }); -// }) -// -// .run(function () { -// test.done(); -// }); -//}); -- 2.39.5