aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/test/medium/users.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/test/medium/users.spec.js')
-rw-r--r--server/sonar-web/test/medium/users.spec.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/sonar-web/test/medium/users.spec.js b/server/sonar-web/test/medium/users.spec.js
index e950e631f86..db0b17b9f33 100644
--- a/server/sonar-web/test/medium/users.spec.js
+++ b/server/sonar-web/test/medium/users.spec.js
@@ -8,7 +8,7 @@ define(function (require) {
.open()
.mockFromString('/api/l10n/index', '{}')
.mockFromFile('/api/users/search', 'users-spec/search.json')
- .startApp('users')
+ .startApp('users/app')
.checkElementCount('#users-list li[data-login]', 3)
.checkElementInclude('#users-list .js-user-login', 'smith')
.checkElementInclude('#users-list .js-user-name', 'Bob')
@@ -30,7 +30,7 @@ define(function (require) {
.open()
.mockFromString('/api/l10n/index', '{}')
.mockFromFile('/api/users/search', 'users-spec/search.json')
- .startApp('users')
+ .startApp('users/app')
.checkElementCount('#users-list li[data-login]', 3)
.clearMocks()
.mockFromFile('/api/users/search', 'users-spec/search-filtered.json')
@@ -51,7 +51,7 @@ define(function (require) {
.open()
.mockFromString('/api/l10n/index', '{}')
.mockFromFile('/api/users/search', 'users-spec/search-big-1.json')
- .startApp('users')
+ .startApp('users/app')
.checkElementCount('#users-list li[data-login]', 2)
.clearMocks()
.mockFromFile('/api/users/search', 'users-spec/search-big-2.json')
@@ -65,7 +65,7 @@ define(function (require) {
.open()
.mockFromString('/api/l10n/index', '{}')
.mockFromFile('/api/users/search', 'users-spec/search.json')
- .startApp('users')
+ .startApp('users/app')
.checkElementCount('#users-list li[data-login]', 3)
.clickElement('#users-create')
.checkElementCount('#create-user-form', 1)
@@ -93,7 +93,7 @@ define(function (require) {
.open()
.mockFromString('/api/l10n/index', '{}')
.mockFromFile('/api/users/search', 'users-spec/search.json')
- .startApp('users')
+ .startApp('users/app')
.clickElement('[data-login="smith"] .js-user-update')
.checkElementCount('#create-user-form', 1)
.clearMocks()
@@ -116,7 +116,7 @@ define(function (require) {
.open()
.mockFromString('/api/l10n/index', '{}')
.mockFromFile('/api/users/search', 'users-spec/search.json')
- .startApp('users')
+ .startApp('users/app')
.clickElement('[data-login="smith"] .js-user-change-password')
.checkElementCount('#change-user-password-form', 1)
.clearMocks()
@@ -136,7 +136,7 @@ define(function (require) {
.open()
.mockFromString('/api/l10n/index', '{}')
.mockFromFile('/api/users/search', 'users-spec/search.json')
- .startApp('users')
+ .startApp('users/app')
.clickElement('[data-login="smith"] .js-user-deactivate')
.checkElementCount('#deactivate-user-form', 1)
.clearMocks()