diff --git a/.travis.yml b/.travis.yml index 7c87e30519..9a9f94b6b4 100755 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,4 @@ before_script: script: # - phpunit -c tests/phpunit # pwd shows /home/travis/build/chamilo/chamilo-lms - #- mysql chamilo -e 'show tables;' - # Check the configuration file was written correctly (configuration.php should appear) - - ls -la main/inc/conf/ - cd tests && ../vendor/behat/behat/bin/behat -v diff --git a/main/admin/user_list.php b/main/admin/user_list.php index 9fc3161d89..c9b3dc5ef4 100755 --- a/main/admin/user_list.php +++ b/main/admin/user_list.php @@ -782,7 +782,7 @@ if (!empty($action)) { // Create a search-box $form = new FormValidator('search_simple', 'get', '', '', array(), FormValidator::LAYOUT_INLINE); -$form->addElement('text', 'keyword', get_lang('keyword')); +$form->addElement('text', 'keyword', get_lang('keyword'), array('id' => 'user-search-keyword')); $form->addButtonSearch(get_lang('Search')); $form->addElement( 'static', diff --git a/tests/features/createUser.feature b/tests/features/createUser.feature index 1455cf5c04..9536677cfe 100644 --- a/tests/features/createUser.feature +++ b/tests/features/createUser.feature @@ -17,7 +17,7 @@ Feature: Users management as admin Scenario: Search and delete a user Given I am a platform administrator And I am on "/main/admin/user_list.php" - And I fill in "keyword" with "smarshall" + And I fill in "user-search-keyword" with "smarshall" And I press "submit" When I follow "Delete" Then I should see "The user has been deleted"