]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7761 Fix ITs as login page is now using AJAX
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 22 Jun 2016 12:32:29 +0000 (14:32 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 29 Jun 2016 06:41:53 +0000 (08:41 +0200)
72 files changed:
it/it-tests/src/test/resources/administration/UsersPageTest/admin_should_change_its_own_password.html
it/it-tests/src/test/resources/administration/UsersPageTest/generate_and_revoke_user_token.html
it/it-tests/src/test/resources/authorisation/QualityProfileAdminPermissionTest/normal-user.html
it/it-tests/src/test/resources/authorisation/QualityProfileAdminPermissionTest/profile-admin.html
it/it-tests/src/test/resources/issue/IssueNotificationsTest/email_configuration.html
it/it-tests/src/test/resources/issue/IssueNotificationsTest/user_notifications_settings.html
it/it-tests/src/test/resources/measureFilter/MeasureFiltersTest/copy_measure_filter.html
it/it-tests/src/test/resources/measureFilter/MeasureFiltersTest/copy_uniqueness_of_name.html
it/it-tests/src/test/resources/measureFilter/MeasureFiltersTest/list_change_columns.html
it/it-tests/src/test/resources/measureFilter/MeasureFiltersTest/list_widget.html
it/it-tests/src/test/resources/measureFilter/MeasureFiltersTest/list_widget_sort.html
it/it-tests/src/test/resources/measureFilter/MeasureFiltersTest/save_with_special_characters.html
it/it-tests/src/test/resources/measureFilter/MeasureFiltersTest/should-not-share-filter-when-user-have-no-sharing-permissions.html
it/it-tests/src/test/resources/measureFilter/MeasureFiltersTest/should-unshare-filter-remove-other-filters-favourite.html
it/it-tests/src/test/resources/projectAdministration/BackgroundTasksTest/should_not_display_failing_and_search_and_filter_elements_on_project_level_page.html
it/it-tests/src/test/resources/projectAdministration/BulkDeletionTest/bulk-delete-filter-projects.html
it/it-tests/src/test/resources/projectAdministration/ProjectAdministrationTest/project-deletion/project-deletion.html
it/it-tests/src/test/resources/projectAdministration/ProjectAdministrationTest/project-settings/only-on-project-settings.html
it/it-tests/src/test/resources/projectAdministration/ProjectAdministrationTest/project-settings/override-global-settings.html
it/it-tests/src/test/resources/projectAdministration/ProjectAdministrationTest/project-update-keys/bulk-update-impossible-because-duplicate-keys.html
it/it-tests/src/test/resources/projectAdministration/ProjectAdministrationTest/project-update-keys/bulk-update-impossible-because-no-match.html
it/it-tests/src/test/resources/projectAdministration/ProjectAdministrationTest/project-update-keys/bulk-update-success.html
it/it-tests/src/test/resources/projectAdministration/ProjectAdministrationTest/project-update-keys/fine-grained-update-impossible.html
it/it-tests/src/test/resources/projectAdministration/ProjectAdministrationTest/project-update-keys/fine-grained-update-success.html
it/it-tests/src/test/resources/projectAdministration/ProjectPermissionsTest/test_project_permissions_page_shows_only_single_project.html
it/it-tests/src/test/resources/projectEvent/EventTest/create_delete_standard_event.html
it/it-tests/src/test/resources/projectEvent/EventTest/create_event_with_special_character.html
it/it-tests/src/test/resources/projectEvent/EventTest/show_events_using_filters.html
it/it-tests/src/test/resources/qualityGate/QualityGateUiTest/should-display-alerts-correctly-history-page.html
it/it-tests/src/test/resources/qualityGate/QualityGateUiTest/should-display-period-alerts-correctly.html
it/it-tests/src/test/resources/qualityGate/notifications/activate_notification_channels.html
it/it-tests/src/test/resources/qualityGate/notifications/email_configuration.html
it/it-tests/src/test/resources/serverSystem/ServerSystemTest/missing_ip.html
it/it-tests/src/test/resources/serverSystem/ServerSystemTest/organisation_must_not_accept_special_chars.html
it/it-tests/src/test/resources/serverSystem/ServerSystemTest/system_info.html
it/it-tests/src/test/resources/serverSystem/ServerSystemTest/valid_id.html
it/it-tests/src/test/resources/settings/PropertySetsTest/auto-generated/create.html
it/it-tests/src/test/resources/settings/PropertySetsTest/auto-generated/update.html
it/it-tests/src/test/resources/settings/PropertySetsTest/property-sets/all_types.html
it/it-tests/src/test/resources/settings/PropertySetsTest/property-sets/create.html
it/it-tests/src/test/resources/settings/PropertySetsTest/property-sets/delete.html
it/it-tests/src/test/resources/settings/PropertySetsTest/property-sets/reference.html
it/it-tests/src/test/resources/settings/SettingsTest/display-license.html
it/it-tests/src/test/resources/settings/SettingsTest/display-untyped-license.html
it/it-tests/src/test/resources/settings/SettingsTest/encrypt-text.html
it/it-tests/src/test/resources/settings/SettingsTest/general-settings.html
it/it-tests/src/test/resources/settings/SettingsTest/generate-secret-key.html
it/it-tests/src/test/resources/settings/SettingsTest/global-extension-property.html
it/it-tests/src/test/resources/settings/SettingsTest/hidden-extension-property.html
it/it-tests/src/test/resources/settings/SettingsTest/hide-passwords.html
it/it-tests/src/test/resources/settings/SettingsTest/ignore-corrupted-license.html
it/it-tests/src/test/resources/settings/SettingsTest/property_relocation.html
it/it-tests/src/test/resources/settings/SettingsTest/validate-property-type.html
it/it-tests/src/test/resources/settings/subcategories/global-subcategories-no-default.html
it/it-tests/src/test/resources/settings/subcategories/global-subcategories.html
it/it-tests/src/test/resources/settings/subcategories/project-subcategories-no-default.html
it/it-tests/src/test/resources/settings/subcategories/project-subcategories.html
it/it-tests/src/test/resources/updateCenter/installed-plugins.html
it/it-tests/src/test/resources/user/ExternalAuthenticationTest/create-and-delete-user.html
it/it-tests/src/test/resources/user/ExternalAuthenticationTest/external-user-details.html
it/it-tests/src/test/resources/user/ExternalAuthenticationTest/external-user-details2.html
it/it-tests/src/test/resources/user/LocalAuthenticationTest/allow_users_to_sign_up.html
it/it-tests/src/test/resources/user/LocalAuthenticationTest/force-authentication.html
it/it-tests/src/test/resources/user/LocalAuthenticationTest/login_successful.html
it/it-tests/src/test/resources/user/LocalAuthenticationTest/redirect_to_original_url_after_direct_login.html
it/it-tests/src/test/resources/user/LocalAuthenticationTest/redirect_to_original_url_after_indirect_login.html
it/it-tests/src/test/resources/user/MyAccountPageTest/should_change_password.html
it/it-tests/src/test/resources/user/MyAccountPageTest/should_display_issues.html
it/it-tests/src/test/resources/user/MyAccountPageTest/should_display_no_projects.html
it/it-tests/src/test/resources/user/MyAccountPageTest/should_display_projects.html
it/it-tests/src/test/resources/user/MyAccountPageTest/should_display_user_details.html
server/sonar-web/src/main/js/main/nav/global/global-nav-user.js

index 78bbdd81b586173f7af6cee065a1594d1009db37..6152139f9d5d47880f6d9a4a726783f7d413d989 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/users</td>
index aeb8df593f664d64ebe1fa9359388f94ae42ce5e..005b6546d03e549a25a2a63e37ed1285c9fd9120 100644 (file)
        <td>name=commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/users</td>
index dee98790990e6ca5e0e9dac1bc933b035fcbab7c..1d1fb92439676b3de8c334acdd61ad15f70079ac 100644 (file)
@@ -9,56 +9,61 @@
 <table cellpadding="1" cellspacing="1" border="1">
   <tbody>
   <tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>id=login</td>
-       <td>not_profileadm</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>id=password</td>
-       <td>userpwd</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>name=commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>css=.quality-profiles-table-row[data-name=&quot;Basic&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>css=.quality-profiles-table-row[data-name=&quot;Basic&quot;] .quality-profiles-table-name a</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>css=.quality-profile-header</td>
-       <td>*Basic*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>css=.js-change-parent</td>
-       <td></td>
-</tr>
-</tbody>
+    <td>open</td>
+    <td>/sessions/logout</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>open</td>
+    <td>/sessions/new</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>type</td>
+    <td>id=login</td>
+    <td>not_profileadm</td>
+  </tr>
+  <tr>
+    <td>type</td>
+    <td>id=password</td>
+    <td>userpwd</td>
+  </tr>
+  <tr>
+    <td>clickAndWait</td>
+    <td>name=commit</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>open</td>
+    <td>/profiles</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.quality-profiles-table-row[data-name=&quot;Basic&quot;]</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>click</td>
+    <td>css=.quality-profiles-table-row[data-name=&quot;Basic&quot;] .quality-profiles-table-name a</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>waitForText</td>
+    <td>css=.quality-profile-header</td>
+    <td>*Basic*</td>
+  </tr>
+  <tr>
+    <td>assertElementNotPresent</td>
+    <td>css=.js-change-parent</td>
+    <td></td>
+  </tr>
+  </tbody>
 </table>
 </body>
 </html>
index 76ec57eadc0a789606001b54718dfc16e1fda4f2..083c7539e19669520ba5f6cdb72a3a9aee8e4396 100644 (file)
        <td>name=commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/profiles</td>
index e79ce04527ed821165fc3ad4b849d9c5e9a71f73..578817a1c433c190a01adad2042d4d95b06e4fab 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/email_configuration</td>
index 0bd235376ecc9219e594205b444e9813359e4f8d..ba82e3ac3563b83c77649508c3d6a159860477ab 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/account/notifications</td>
index 559a0d2e9d38e4354e63d98fc1c5723f0d4c1d28..e88d2a374c5f9228851b7f67962f629f76c8ab0d 100644 (file)
        <td>name=commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/measures</td>
index 4cdff2a7a6fd7b9ba3e3a8260287781a6f7a1605..33c575f7dc2f59ee54052f8a5582cc15356eee80 100644 (file)
        <td>name=commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/measures</td>
index d7b3f886a06a2ae045bbde83a275a0768d3f3123..2e7b51c505ce2d8270bea8dcb57fc467aa730bc4 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/measures</td>
index acbbc61e350e7ea4abc9cf9df2b465ab9189e393..dd38f5d361f5b4d10fc0cb85bba370bf0c26783e 100644 (file)
        <td>name=commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>clickAndWait</td>
        <td>xpath=(//table[contains(@id, 'shared-filters')]//a[contains(text(),'Projects')])</td>
index 2b4b072cde6a223e9ecbec09973de858bf4bd36e..ab4dda0d92ad17ecbd59709495fcc8ffade29229 100644 (file)
        <td>name=commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/measures</td>
index ea6b998299b9edf0fcfeaca5fb4cd05035d79025..a757677af9d1b57c35a6350e016622d2baf72c1f 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/measures</td>
index cbcc3685da8c0998fbfb6b96079f255978badf89..fe75c78c0b57c26b6cadf3d2fbf4da9e1b6e155b 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/measures</td>
index dd5f99b68ff58a40924b256c2e87522269d99ff1..885412059bb2ffd7a49c58acd26872ffc758c0be 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/measures</td>
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/measures/manage</td>
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/measures</td>
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/measures/manage</td>
index 92e83f2859e4a8d77eab2c684786897a35e6b518..375340060e7c9bd565e462fea53d3ef5dc1e74b3 100644 (file)
        <td>admin</td>
 </tr>
 <tr>
-       <td>clickAndWait</td>
+       <td>click</td>
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/project/background_tasks?id=test-project</td>
index a2335a7916c9d8beb1f835a28e1a9ff3c1595b50..b1a78ffe504c9994eab89a9399e0ed9227aa665d 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/projects</td>
index d67d7b7d8004c786f2429e134f2c41cdc6398d31..16a057b896ad8ca23258ccdd2c353a14d24930ff 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/</td>
index e06e83d52ce24e4693c20d3e867cda143dcd5d60..9197fa9c348a2991a37442d68d68c2f4f89bb37e 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>type</td>
         <td>id=input_prop_only_on_project</td>
index f9ab41f50b368efd1e2e457be6d027eda685966e..a73b2ca147564ee1a2c5e2b13a38625f4ba4a6ac 100644 (file)
        <td>name=commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>type</td>
        <td>id=input_sonar.exclusions</td>
index 3a80a92df24db8ce9f40696ee35bcfe16617cdde..dcffc75a5a27d10c8792d4c994d672b698bea8dc 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/dashboard/index/com.sonarsource.it.samples:multi-modules-sample</td>
index 2e667543a1500cf36b3ede3ffad1b37404168a4d..f4e01d07dba330adfeba2351f2fd4c8fd3d4a5d5 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/dashboard/index/com.sonarsource.it.samples:multi-modules-sample</td>
index 88a5ea62b3484905453221b6d9b573cbf1770d0b..e75663989cab001a5d7404a116db20ccc8706947 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/dashboard/index/com.sonarsource.it.samples:multi-modules-sample</td>
index c143353b823ca089eb2b7e209e52cdbe519d4421..d074667d223a8405025485bacaf54302fd22b29d 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/dashboard/index/com.sonarsource.it.samples:multi-modules-sample</td>
index fc2eaedd1ef1dca2f5611fbff94446094936cab5..4f2d9d597ebc7bc9b7c8c371f2f5bcc75af6262b 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/dashboard/index/com.sonarsource.it.samples:multi-modules-sample</td>
index 8062527e3e0d737a9e1b1849b9d0e1507cd9d0f6..cbb6595ff20cf420213e41d9b7e074ca9dcd762c 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/project_roles?id=project-permissions-project</td>
index f004a1f29a95d9bd488b78abecbaca85a61bfda4..b94fadf8d65d9e19f5744d05848e28edbdc014f2 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/project/history?id=sample</td>
index 8df480d22a7aa024ff5787417f00f3e7354dd2ff..c191a260a072b3b392e753b64cce3dde0fe14862 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/project/history?id=sample</td>
index 4ee440a08334afb4fdbe00a7d6812f1045ac7419..ca90b8077fc73f1756cd1631386d151121940e23 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/project/history?id=sample</td>
index 8a0c160497febca3a1752feaa41d3e3ce8a6e411..3038a8931cb92c22fffc925f416efbaebd1b143b 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/dashboard/index/sample</td>
index 573cbbd9ff3adc2833fd1489673d5b6735b83938..3a1f8699e136045703c16156e96553f7d236fe13 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/widget?id=alerts&amp;resource=sample</td>
index fc1b770918e59ee49b8f25665790e938c2a4fcaf..40de82c178af488bd10929785206c125fd8a2ca3 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/sonar/account/notifications</td>
index dace0c5d07e2da01c2db5d6b1af8198e151f03d8..7b43cf8ee03f0266db295d2a6e5cc96af656ffb3 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/email_configuration</td>
index c8a9607f25e8fe924ae61b7831f9d2b48ac84f50..1a9725f07a8b7e4849c584b262bc4842900c36f6 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/settings/index</td>
index d1d083a96d8248a28d71fcb956797acf7b624264..29823121244bec49cf3dcfe95e12e013fb16c75e 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings/index</td>
index 9d469c02f28c7f0ab645c73b1f701cd732380de3..eb9f7ea5cf19397099bc4ce8dd6b41fbd0c0b09a 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/system/index</td>
index 2ad01661ed4e9e060adcc6a262cab1012c95ff25..4f86397d6423208069d1892d59d19816666a913b 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings/index</td>
index bceffc86f1267f3bf161ea514aabdb503b068082..a28e6426fdf65e8c0ddb5108f5832c7a262d9132 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings?category=DEV</td>
index dc4e7ac8ccff2567191c3163c85eb8dffb2db875..2db1709391395e03b380523a5d3b33fc009a3560 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings?category=DEV</td>
index 9cdfdc43d0b391ac6fca088c00e4b21b567cae36..4dfffa1d3844fb51659fdbebe1b6481db962d418 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/settings?category=DEV</td>
index d1bc2b3a11b37446d506b8eb451338b7335a6d69..d85e447c5c409c5fa55c00eac1e696648296a339 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings?category=DEV</td>
index 8cc1952ef6053f826775ceb2ebd9b35eb87acddc..aa0e9cacc6d3ac7dc46b1d3a76d5ac54a12fdd62 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/settings?category=DEV</td>
index d282e68e5283950439edbb967157bade098bd235..c212340711fa6f149e0d22143867883a27a64010 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings?category=DEV</td>
index 4ddf181464980594049b59c993968767ff89a3db..f2f1d31bb878e45ee3e04b1b0ff490dc52738c3a 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>type</td>
         <td>id=input_typed.license.secured</td>
index a6bd3b1a7b8e9e02c48ead84e80817ab2b331ac2..ae353cf7618eb872c480cf08210286dab4d87c1e 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>type</td>
         <td>id=input_untyped.license.secured</td>
index 329f11dfd760319b7293a4e0d034e2d6e474c622..fe174478d54f783c2b4309b858b2819334be15b8 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>selectFrame</td>
         <td>settings_iframe</td>
index f412bf865a449c2ed40ba2140c412521a786e0fb..89061e138bafd385b256771b3044c31daa1fde7a 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/settings/index</td>
index 8632039e4ab1adf2ccf9f3c88acb4c9981fea745..c667bf3ca0ba91a430aefb79eb156cf645bab60e 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>selectFrame</td>
         <td>settings_iframe</td>
index 73093c729ac7d93f90c3ad4ceefcbe21b86a5ccf..ad3d97682b3c73a75279945822f41cb788b9cc23 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
-
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings?category=Settings</td>
index 87f773db812075bfb6d6225feee6a2f456f84b07..7aa9bd9cba111c3cbc08e29489248e85c14bc6fc 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
-
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings?category=Settings</td>
index c2ee4b3351779c8fae20830d38045efa9135f28e..531e11e8bd493473ee2992ac4ef6b183cd0890d5 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>waitForText</td>
         <td>block_password</td>
index 8e735cc8c8b67634ba8f86b89567fed4e4d1b022..e05b5727102791b4f55933bd7e9989f333231e9b 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>type</td>
         <td>id=input_typed.license.secured</td>
index 26a649141f30ba64bdbf760710abdd7aab7f12d3..37986cd560d8d352fd17946e496153d9e698f621 100644 (file)
        <td>name=commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>waitForText</td>
        <td>properties</td>
index 43cf2f62c89db04f588c272650148c5c11237ffb..96024f79b91d1b3621d3ae10df2dc269e1b9532d 100644 (file)
         <td>name=commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>type</td>
         <td>id=input_float</td>
index 99a509350ec1c0c52454b7f235b38c04ff26385e..a4b69712397ab6e768f7cb2e55284ace39c02e98 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings?category=Category 2</td>
index af4901ab6ef73370adff702dcf8c476434aebc8f..3f578222762e13053669d5f12ef0a5144dce6508 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/settings?category=Category 1</td>
index 5ff1df8ba200db67632e332be5627e7c9e6062a3..f0efe3fcf358252a8c91140da3e92ea1ecff1ecc 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/project/settings/sample?category=Category 2</td>
index 8e50d946ecbba32d688c2c879cd2c7b0e8c951f0..1d6b7efc0c7627a7054210716649af4bb9d38673 100644 (file)
         <td>commit</td>
         <td></td>
     </tr>
+    <tr>
+        <td>waitForElementPresent</td>
+        <td>css=.js-user-authenticated</td>
+        <td></td>
+    </tr>
     <tr>
         <td>open</td>
         <td>/project/settings/sample?category=Category 1</td>
index 44bf85163fe8319c7f8cbe179c21b69d8376cc92..05c21066451be46bf19508f064c8d109c1110ce7 100644 (file)
     <td>name=commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/updatecenter</td>
index 4a1f636691fae0b2d7add5c84cd3e4d31eeb4828..90d1eb36714d91ebf54e7e5afd7ccc31a5de1866 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/users</td>
index f05ca36e3a5748c4dbac11e6d86218bb405de0ef..60751a0adefd2e68ac3d7ffefb7a9e8b7d06a8cb 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/account/index</td>
index 0c2dc5868a7595012e78d888645ce93cd13c15fb..a245110f6241d50d32ccfbd9917b20ec8a29c329 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>open</td>
     <td>/account/index</td>
index 69784618a44b8250e6e29d5b1de5dc6387dc4c5b..7538eaf5a117c46beca0e948ad7dea3abb451526 100644 (file)
     <td>name=commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>waitForText</td>
     <td>css=.navbar</td>
index 3b8f6cb44406ce5e1299f0288891c2f7570179cc..a2f80c42291fe3da68627307daeafc440ceb0e31 100644 (file)
     <td>name=commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>waitForText</td>
     <td>css=.navbar</td>
index 430e94aa53955cc876ea22528f6220fb93090165..68257d74485968d261cc768783aa11d8cbb10e53 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>waitForText</td>
     <td>css=.navbar</td>
index 65fb94f93683c78a2da9f90bb6b8dd216353003f..3b4dc0e8a5fa499a76dfb64b2eb42c881e79a2f6 100644 (file)
     <td>name=commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>waitForText</td>
     <td>css=.navbar</td>
index 0200a72cf4bcfbee5cd419908baa4ebdab6ad1a3..ef3618524db375ba9d4149a7c1a70fbeed90daae 100644 (file)
     <td>commit</td>
     <td></td>
   </tr>
+  <tr>
+    <td>waitForElementPresent</td>
+    <td>css=.js-user-authenticated</td>
+    <td></td>
+  </tr>
   <tr>
     <td>waitForText</td>
     <td>css=.navbar</td>
index 7d224eb3b87c8fd53e15e454761b90f064dda2f4..58ad7b8b089309f469363a4c30b260d9849f4e10 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/sonar/account/security</td>
index ac6bc7c62403a7f1de4829b5a2926b9a105b0223..ab2e1c438f349564ec18264804e1d96e5a02c0e0 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/sonar/account/issues</td>
index 80ec05c080bbecd1b3b6e51fc815ce2554141f6e..4060bf595a61692b99e89ba98bf6afe54cc76c16 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/account/projects</td>
index fe8ce780330796cc44a2aa92852e407ba7aec67e..5f580876c514e5c563812447af5ed400c1572ee5 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/account/projects</td>
index f1543e174d5ab36adf35e2a5833f1d0884e2a0ea..1036819238cb5cf308b84faeba0190f8d53abfd9 100644 (file)
        <td>commit</td>
        <td></td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=.js-user-authenticated</td>
+       <td></td>
+</tr>
 <tr>
        <td>open</td>
        <td>/sonar/account/</td>
index 52b0820c52e312698265b3d9a315b0becf1cae45..8068fae02a9e6389eb5c3d313308ef867e697909 100644 (file)
@@ -25,7 +25,7 @@ import { translate } from '../../../helpers/l10n';
 export default React.createClass({
   renderAuthenticated() {
     return (
-        <li className="dropdown">
+        <li className="dropdown js-user-authenticated">
           <a className="dropdown-toggle" data-toggle="dropdown" href="#">
             <Avatar email={window.SS.userEmail} size={20}/>&nbsp;
             {window.SS.userName}&nbsp;<i className="icon-dropdown"/>