Bug 1252037 - Adjust safe_browsing_notification test for property changes. r?automatedtester draft
authorHenrik Skupin <mail@hskupin.info>
Mon, 29 Feb 2016 14:58:22 +0100
changeset 335440 20ef6b4af501ae8c3abfb52465647ea9dd7ab531
parent 335439 29e1faddbf53b86bf94f7554fe30c3f03f715cfe
child 515123 db4b2b1a5f742f7dc102e73a81ca495a18278df6
push id11776
push userbmo:hskupin@gmail.com
push dateMon, 29 Feb 2016 14:00:44 +0000
reviewersautomatedtester
bugs1252037
milestone47.0a1
Bug 1252037 - Adjust safe_browsing_notification test for property changes. r?automatedtester MozReview-Commit-ID: QwHNGdT70Q
testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_safe_browsing_notification.py
--- a/testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_safe_browsing_notification.py
+++ b/testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_safe_browsing_notification.py
@@ -20,17 +20,17 @@ class TestSafeBrowsingNotificationBar(Fi
                 # First two properties are not needed,
                 # since these errors are not reported
                 'button_property': None,
                 'report_page': None,
                 'unsafe_page': 'https://www.itisatrap.org/firefox/unwanted.html'
             },
             # Phishing URL info
             {
-                'button_property': 'safebrowsing.notAForgeryButton.label',
+                'button_property': 'safebrowsing.notADeceptiveSiteButton.label',
                 'report_page': 'www.google.com/safebrowsing/report_error',
                 'unsafe_page': 'https://www.itisatrap.org/firefox/its-a-trap.html'
             },
             # Malware URL object
             {
                 'button_property': 'safebrowsing.notAnAttackButton.label',
                 'report_page': 'www.stopbadware.org',
                 'unsafe_page': 'https://www.itisatrap.org/firefox/its-an-attack.html'