summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-10-21 19:01:19 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-10-21 19:01:19 +0200
commit861eb8fcb59c8a3360a56a729d721c739a6b821e (patch)
treeb14daeb08abd56d87dcb3b305920335a047eeb35
parentc8cf2b58bae632b6801337971323d37cf9f5a0f0 (diff)
downloadbugzilla-861eb8fcb59c8a3360a56a729d721c739a6b821e.tar.gz
bugzilla-861eb8fcb59c8a3360a56a729d721c739a6b821e.tar.xz
Bug 1209599 - fix test failures
-rw-r--r--qa/t/test_user_preferences.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/qa/t/test_user_preferences.t b/qa/t/test_user_preferences.t
index 0ad6a9018..ec5fa8187 100644
--- a/qa/t/test_user_preferences.t
+++ b/qa/t/test_user_preferences.t
@@ -36,7 +36,7 @@ $sel->click_ok("update");
$sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is("Default Preferences");
-# Update own user preferences. Some of them are not editable.
+# Update own user preferences. Some of them should no longer be present.
$sel->click_ok("link=Preferences");
$sel->wait_for_page_to_load(WAIT_TIME);
@@ -44,11 +44,11 @@ $sel->title_is("User Preferences");
$sel->click_ok("link=General Preferences");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
$sel->title_is("User Preferences");
-ok(!$sel->is_editable("skin"), "The 'skin' user preference is not editable");
+ok(!$sel->is_element_present("skin"), "The 'skin' user preference is not present");
$sel->select_ok("state_addselfcc", "label=Site Default (Never)");
$sel->select_ok("post_bug_submit_action", "label=Site Default (Show the updated bug)");
$sel->select_ok("per_bug_queries", "label=Site Default (On)");
-ok(!$sel->is_editable("zoom_textareas"), "The 'zoom_textareas' user preference is not editable");
+ok(!$sel->is_element_present("zoom_textareas"), "The 'zoom_textareas' user preference is not present");
$sel->click_ok("update");
$sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is("User Preferences");
@@ -174,11 +174,11 @@ $sel->title_is("User Preferences");
$sel->click_ok("link=General Preferences");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
$sel->title_is("User Preferences");
-ok(!$sel->is_editable("skin"), "The 'skin' user preference is not editable");
+ok(!$sel->is_element_present("skin"), "The 'skin' user preference is not present");
$sel->select_ok("state_addselfcc", "label=Always");
$sel->select_ok("post_bug_submit_action", "label=Show next bug in my list");
$sel->select_ok("per_bug_queries", "label=Off");
-ok(!$sel->is_editable("zoom_textareas"), "The 'zoom_textareas' user preference is not editable");
+ok(!$sel->is_element_present("zoom_textareas"), "The 'zoom_textareas' user preference is not present");
$sel->click_ok("update");
$sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is("User Preferences");