MDL-39635 behat: XPath cleanups
authorDavid Monllao <davidm@moodle.com>
Fri, 21 Jun 2013 05:48:36 +0000 (13:48 +0800)
committerDavid Monllao <david.monllao@gmail.com>
Fri, 19 Jul 2013 08:02:36 +0000 (10:02 +0200)
commit389760815259f19c1d70ddf0f31a06c970181030
treeea20b3e0f2a249e7beb32392def0161be7229e88
parentdedb973878533345ad2f1d575186ad412370bb06
MDL-39635 behat: XPath cleanups

- Escaping steps arguments redirected to other steps
- Adding normalized-space() in all contains() assertions
- General xpaths review
- Convering provided xpath text strings to xpath literals
  to avoid problems with arguments containing both single
  quotes and double quotes
34 files changed:
admin/tests/behat/behat_admin.php
admin/tests/behat/display_short_names.feature
admin/tool/behat/tests/behat/basic_actions.feature
admin/tool/behat/tests/behat/data_generators.feature
auth/tests/behat/behat_auth.php
backup/util/ui/tests/behat/backup_courses.feature
backup/util/ui/tests/behat/behat_backup.php
blocks/comments/tests/behat/behat_block_comments.php
blocks/tests/behat/behat_blocks.php
blocks/tests/behat/configure_block_throughout_site.feature
cohort/tests/behat/behat_cohort.php
cohort/tests/behat/upload_cohort_users.feature
completion/tests/behat/behat_completion.php
course/tests/behat/activities_group_icons.feature
course/tests/behat/activities_indentation.feature
course/tests/behat/behat_course.php
course/tests/behat/force_group_mode.feature
enrol/tests/behat/behat_enrol.php
group/tests/behat/behat_groups.php
lib/behat/behat_files.php
lib/behat/form_field/behat_form_select.php
lib/tests/behat/behat_forms.php
lib/tests/behat/behat_general.php
lib/tests/behat/behat_navigation.php
lib/tests/behat/behat_permissions.php
message/tests/behat/behat_message.php
mod/forum/tests/behat/completion_condition_number_discussions.feature
mod/glossary/tests/behat/behat_mod_glossary.php
mod/glossary/tests/behat/print_friendly_version.feature
mod/lesson/tests/behat/lesson_navigation.feature
question/tests/behat/behat_question.php
repository/tests/behat/behat_filepicker.php
repository/tests/behat/cancel_add_file.feature
repository/upload/tests/behat/behat_repository_upload.php