diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-09-14 15:33:43 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-09-14 15:33:43 +0200 |
commit | 03f7f009068ff824a48c52aaf5cd5ccd34b3b5e3 (patch) | |
tree | b395e6c9ca6fbcbc0a6c20856d77c10036c0d64e /server/sonar-web/test | |
parent | a997f8804af48e789e7554405b01ca27c0daaae6 (diff) | |
download | sonarqube-03f7f009068ff824a48c52aaf5cd5ccd34b3b5e3.tar.gz sonarqube-03f7f009068ff824a48c52aaf5cd5ccd34b3b5e3.zip |
SONAR-5851 fix bug with duplicated languages in the list
Diffstat (limited to 'server/sonar-web/test')
-rw-r--r-- | server/sonar-web/test/medium/quality-profiles.spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/test/medium/quality-profiles.spec.js b/server/sonar-web/test/medium/quality-profiles.spec.js index cecc574ed3e..1d89f75ad33 100644 --- a/server/sonar-web/test/medium/quality-profiles.spec.js +++ b/server/sonar-web/test/medium/quality-profiles.spec.js @@ -355,6 +355,7 @@ define(function (require) { .mockFromFile('/api/languages/list', 'quality-profiles/languages.json') .startApp('quality-profiles', { urlRoot: '/test/medium/base.html' }) .checkElementExist('.js-list .list-group-item') + .checkElementCount('.js-list .js-list-language', 1) .checkElementCount('.js-list .list-group-item', 1) .clickElement('#quality-profiles-actions') .clickElement('#quality-profiles-restore-built-in') @@ -364,6 +365,7 @@ define(function (require) { .mockFromFile('/api/qualityprofiles/search', 'quality-profiles/search.json') .fillElement('#restore-built-in-profiles-language', 'java') .clickElement('#restore-built-in-profiles-submit') + .checkElementCount('.js-list .js-list-language', 4) .checkElementCount('.js-list .list-group-item', 5) .checkElementInclude('.js-list .list-group-item', 'Sonar way') .checkElementNotExist('.search-navigator-header-component'); |