diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-08-24 13:50:18 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-08-26 10:12:03 +0200 |
commit | 223bcb955ba554be354f6b4b1ca0c1acb9431d66 (patch) | |
tree | c055f39d1cf688974d275877c5ff07490c32295f /server/sonar-web/test/medium/issues.spec.js | |
parent | 4fa812ee4cb69d00e761b7887fdd30820d6748a9 (diff) | |
download | sonarqube-223bcb955ba554be354f6b4b1ca0c1acb9431d66.tar.gz sonarqube-223bcb955ba554be354f6b4b1ca0c1acb9431d66.zip |
use the single web app
Diffstat (limited to 'server/sonar-web/test/medium/issues.spec.js')
-rw-r--r-- | server/sonar-web/test/medium/issues.spec.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/server/sonar-web/test/medium/issues.spec.js b/server/sonar-web/test/medium/issues.spec.js index 14991fa8af3..791025f15d5 100644 --- a/server/sonar-web/test/medium/issues.spec.js +++ b/server/sonar-web/test/medium/issues.spec.js @@ -10,7 +10,7 @@ define(function (require) { .mockFromString('/api/l10n/index', '{}') .mockFromFile('/api/issue_filters/app', 'issues-spec/app.json') .mockFromFile('/api/issues/search', 'issues-spec/search.json') - .startApp('issues') + .startApp('issues/app') .checkElementCount('.js-filter', 2) .checkElementCount('.js-filter[data-id="31"]', 1) .checkElementCount('.js-filter[data-id="32"]', 1); @@ -23,7 +23,7 @@ define(function (require) { .mockFromFile('/api/issue_filters/app', 'issues-spec/app.json') .mockFromFile('/api/issues/search', 'issues-spec/search.json') .mockFromFile('/api/issue_filters/show/31', 'issues-spec/filter.json') - .startApp('issues') + .startApp('issues/app') .clickElement('.search-navigator-filters-show-list') .clickElement('.js-filter[data-id="31"]') .checkElementCount('.js-filter-copy', 1) @@ -41,7 +41,7 @@ define(function (require) { .mockFromFile('/api/issue_filters/app', 'issues-spec/app.json') .mockFromFile('/api/issues/search', 'issues-spec/search.json') .mockFromFile('/api/issue_filters/show/31', 'issues-spec/filter.json') - .startApp('issues') + .startApp('issues/app') .clickElement('.search-navigator-filters-show-list') .clickElement('.js-filter[data-id="31"]') .checkElementCount('.js-filter-copy', 1) @@ -64,7 +64,7 @@ define(function (require) { .mockFromString('/api/l10n/index', '{}') .mockFromFile('/api/issue_filters/app', 'issues-spec/app.json') .mockFromFile('/api/issues/search', 'issues-spec/search.json') - .startApp('issues') + .startApp('issues/app') .clickElement('.js-new-search') .checkElementExist('.facet[data-value=BLOCKER]') .checkElementExist('.facet[data-value=CRITICAL]') @@ -103,7 +103,7 @@ define(function (require) { .mockFromString('/api/l10n/index', '{}') .mockFromFile('/api/issue_filters/app', 'issues-spec/app.json') .mockFromFile('/api/issues/search', 'issues-spec/search.json') - .startApp('issues') + .startApp('issues/app') .clickElement('.js-new-search') .checkElementCount('.issue', 50) .clearMocks() @@ -121,7 +121,7 @@ define(function (require) { .mockFromString('/api/l10n/index', '{}') .mockFromFile('/api/issue_filters/app', 'issues-spec/app.json') .mockFromFile('/api/issues/search', 'issues-spec/search.json') - .startApp('issues') + .startApp('issues/app') .clickElement('.js-new-search') .checkElementExist('.js-selection') .checkElementNotExist('.js-selection.icon-checkbox-checked') @@ -147,7 +147,7 @@ define(function (require) { .mockFromFile('/api/issues/search', 'issues-spec/search.json') .mockFromString('/issues/bulk_change_form*', '<div id="bulk-change-form">bulk change form</div>', { contentType: 'text/plain' }) - .startApp('issues') + .startApp('issues/app') .clickElement('.js-new-search') .clickElement('#issues-bulk-change') .clickElement('.js-bulk-change') @@ -166,7 +166,7 @@ define(function (require) { .mockFromFile('/api/issues/search', 'issues-spec/search.json') .mockFromString('/issues/bulk_change_form*', '<div id="bulk-change-form">bulk change form</div>', { contentType: 'text/plain' }) - .startApp('issues') + .startApp('issues/app') .clickElement('.js-new-search') .checkElementExist('.js-selection') .checkElementNotExist('.js-selection.icon-checkbox-checked') @@ -194,7 +194,7 @@ define(function (require) { .mockFromString('/api/l10n/index', '{}') .mockFromFile('/api/issue_filters/app', 'issues-spec/app.json') .mockFromFile('/api/issues/search', 'issues-spec/search-filter-similar-issues.json') - .startApp('issues') + .startApp('issues/app') .clickElement('.js-new-search') .checkElementCount('.issue', 2) .clickElement('.issue.selected .js-issue-filter') @@ -228,7 +228,7 @@ define(function (require) { .mockFromFile('/api/issues/search', 'issues-page-should-open-issue-permalink/search.json', { data: { issues: issueKey } }) .mockFromFile('/api/components/app', 'issues-page-should-open-issue-permalink/components-app.json') .mockFromFile('/api/sources/lines', 'issues-page-should-open-issue-permalink/lines.json') - .startApp('issues') + .startApp('issues/app') .checkElementExist('.source-line') .checkElementInclude('.source-line', 'public void executeOn(Project project, SensorContext context') .checkElementCount('.issue', 1) @@ -242,7 +242,7 @@ define(function (require) { .mockFromFile('/api/issue_filters/app', 'issues-spec/app.json') .mockFromFile('/api/issues/search', 'issues-spec/search-rules-facet.json', { data: { facets: 'rules' } }) .mockFromFile('/api/issues/search', 'issues-spec/search.json') - .startApp('issues') + .startApp('issues/app') .clickElement('[data-property="rules"] .js-facet-toggle') .checkElementCount('[data-property="rules"] .js-facet', 13) .checkElementInclude('[data-property="rules"] .js-facet:nth-child(1)', 'Objects should be compared with'); |