summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/test
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-26 16:03:00 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-26 16:03:00 +0200
commitdb17082eea791372e587b9762b0871766591fa18 (patch)
tree880c0225fbad6d3cfef6b5bed231269f48c69295 /server/sonar-web/test
parent0629a1049e4c0b022cb8bcc5def2c4ffc4a6916c (diff)
downloadsonarqube-db17082eea791372e587b9762b0871766591fa18.tar.gz
sonarqube-db17082eea791372e587b9762b0871766591fa18.zip
fix tests for SONAR-6797 order permissions
Diffstat (limited to 'server/sonar-web/test')
-rw-r--r--server/sonar-web/test/medium/project-permissions.spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/test/medium/project-permissions.spec.js b/server/sonar-web/test/medium/project-permissions.spec.js
index b3bd5ec567d..4eaf5a7db96 100644
--- a/server/sonar-web/test/medium/project-permissions.spec.js
+++ b/server/sonar-web/test/medium/project-permissions.spec.js
@@ -13,10 +13,10 @@ define(function (require) {
.checkElementCount('#projects > thead > tr > th', 3)
.checkElementCount('#projects > tbody > tr', 2)
.checkElementInclude('#projects > tbody > tr:first-child td:nth-child(1)', 'My Project')
- .checkElementInclude('#projects > tbody > tr:first-child td:nth-child(2)', '1')
- .checkElementInclude('#projects > tbody > tr:first-child td:nth-child(2)', '2')
- .checkElementInclude('#projects > tbody > tr:first-child td:nth-child(3)', '3')
- .checkElementInclude('#projects > tbody > tr:first-child td:nth-child(3)', '4');
+ .checkElementInclude('#projects > tbody > tr:first-child td:nth-child(2)', '3')
+ .checkElementInclude('#projects > tbody > tr:first-child td:nth-child(2)', '4')
+ .checkElementInclude('#projects > tbody > tr:first-child td:nth-child(3)', '1')
+ .checkElementInclude('#projects > tbody > tr:first-child td:nth-child(3)', '2');
});
});
});