diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-08-17 17:08:06 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-08-17 17:11:54 +0200 |
commit | 862d4a02e215d2b6ae215976f766e761ed9d84d0 (patch) | |
tree | 44d65d1e1751b620a3d8b187d14eecc2b455500e /server/sonar-web/test | |
parent | 24f3abee42c9e734418f5ad4359f639bca5eb899 (diff) | |
download | sonarqube-862d4a02e215d2b6ae215976f766e761ed9d84d0.tar.gz sonarqube-862d4a02e215d2b6ae215976f766e761ed9d84d0.zip |
SONAR-6765 apply feedback
Diffstat (limited to 'server/sonar-web/test')
-rw-r--r-- | server/sonar-web/test/medium/source-viewer.spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/test/medium/source-viewer.spec.js b/server/sonar-web/test/medium/source-viewer.spec.js index 544dfa39427..5872dc7c0fe 100644 --- a/server/sonar-web/test/medium/source-viewer.spec.js +++ b/server/sonar-web/test/medium/source-viewer.spec.js @@ -42,7 +42,7 @@ define(function (require) { .checkElementInclude('.source-line-code[data-line-number="3"] .source-line-code-issue', '14 So') .clickElement('.source-line-with-issues[data-line-number="3"]') .clickElement('.js-issue-locations') - .checkElementExist('.source-line-code[data-line-number="3"] .source-viewer-issue-location') + .checkElementCount('.source-line-code[data-line-number="3"] .source-viewer-issue-location', 1) .checkElementCount('.source-line-code[data-line-number="3"] .source-line-code-secondary-issue', 2) .checkElementInclude('.source-line-code[data-line-number="3"] .source-line-code-secondary-issue', ') 200') .checkElementInclude('.source-line-code[data-line-number="3"] .source-line-code-secondary-issue', '14 So'); @@ -61,8 +61,8 @@ define(function (require) { .checkElementInclude('.source-line-code[data-line-number="9"] .source-line-code-issue', 'sion') .clickElement('.source-line-with-issues[data-line-number="9"]') .clickElement('.js-issue-locations') - .checkElementExist('.source-line-code[data-line-number="8"] .source-viewer-issue-location') - .checkElementExist('.source-line-code[data-line-number="9"] .source-viewer-issue-location') + .checkElementCount('.source-line-code[data-line-number="8"] .source-viewer-issue-location', 1) + .checkElementNotExist('.source-line-code[data-line-number="9"] .source-viewer-issue-location') .checkElementCount('.source-line-code[data-line-number="8"] .source-line-code-secondary-issue', 1) .checkElementCount('.source-line-code[data-line-number="9"] .source-line-code-secondary-issue', 1) .checkElementInclude('.source-line-code[data-line-number="8"] .source-line-code-secondary-issue', 'ense ') |