Commit Graph
97 Commits
Author SHA1 Message Date
Vedant Chakravadhanula 579a4916bd Bug 1364349 - Removed platform property of Firefox Puppeteer. r=whimboo
The wrapper puppeteer.platform in Firefox UI test was deemed redundant.

MozReview-Commit-ID: LUocC59bLNF
2017-09-25 14:30:11 +05:30
Prathiksha 56f9bcda5b Bug 1400992 - Fix test_safe_browsing_warning_pages.py. r=francois,whimboo
MozReview-Commit-ID: EIf2ak8Q2YJ
2017-09-19 18:42:55 +05:30
Prathiksha 576a3dfdb1 Bug 1363051 - Update about:blocked page visuals and copy. r=francois,johannh
MozReview-Commit-ID: CK2cO5Ikivt
2017-09-04 19:25:05 +05:30
Erica Wright c466a47fd1 Bug 1379226 - Add telemetry probes to measure use of session restore button in tab bar. r=Gijs,liuche
MozReview-Commit-ID: 2u5CtatqBBT
2017-07-11 16:13:56 -04:00
Erica Wright b061c0be7f Bug 1386744 - Better error messages on test failures. r=whimboo
MozReview-Commit-ID: 31bjcc1GL4J
2017-08-02 13:32:33 -04:00
Thomas Nguyen 056bf8cc75 Bug 1381745 - Increase server and download timeout when updating SB lists r=hchang
MozReview-Commit-ID: IRXb9QiMYwJ
2017-07-24 10:30:15 +08:00
Wes Kocher e93069274c Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Junior Hsu 67fd2f50e6 Bug 1373198 - Part 11: Disable rcwn for firefox-ui-test tests which require deterministic cache behavior. r=whimboo 2017-07-20 20:45:00 -04:00
Henrik Skupin 6f8669a41d Bug 1368434 - Fix race condition for slow frame script registrations. r=automatedtester
In some cases the registration of the frame script takes longer and as
result the page load events for DOMContentLoaded and pageshow are
missed. With that the current command waits forever and causes a page
load timeout error after 300s.

By checking the readyState of the document before the listeners are
getting attached, we can ensure to return immediately if the document
has already been finished loading.

MozReview-Commit-ID: 17f6jVz7sZZ
2017-07-18 15:00:37 +02:00
Erica Wright e9201894d4 Bug 1291844 - Add negative test and quit test to restore windows test file. r=whimboo
MozReview-Commit-ID: 8fQ1nc1I65H
2017-07-04 15:58:25 -04:00
Thomas Nguyen 6c82409388 Bug 1374268 - Increase waiting time for all safebrowsing files being downloaded r=francois
MozReview-Commit-ID: He4WJWtE5Dl
2017-07-17 10:23:36 +08:00
Joel Maher 75466701de Bug 1353599 - Intermittent test_about_private_browsing.py TestAboutPrivateBrowsing.testCheckAboutPrivateBrowsing. temporarily disable. r=gbrown
MozReview-Commit-ID: HLRHT7a0pEA
2017-06-23 10:29:47 -04:00
Erica Wright cd2978f33c Bug 1219725 - Add a button for session restore to the tab bar. r=dao,Gijs,mikedeboer,whimboo ui-r=shorlander
MozReview-Commit-ID: 6zrEbIxXp8c
2017-06-20 11:33:55 -07:00
dimi 7302afdf5b Bug 1371923 - Only check safebrowsing files when they are in preference in test_safe_browsing_initial_download.py. r=francois
Ensure that we only wait for the providers that are enabled (i.e. have active lists) to avoid waiting forever
and timing out.

In order to check whether or not the google and google4 providers are enabled, we look for lists that start
with "goog" in both the V2 files and the V4 files. We use 'goog' here instead of 'goog-' because there are
both 'goog-xxx-xxx' and 'googpub-xxx-xxx' tables

MozReview-Commit-ID: 72JWZRs3Qxd
2017-06-19 10:19:02 +08:00
Wes Kocher 3d59d08374 Backed out changeset 4482dcd48309 (bug 1219725) for functional test failures in test_tabbar_session_restore_button.py a=backout
MozReview-Commit-ID: Iqp5eV9cv6L
2017-06-19 13:50:26 -07:00
Erica Wright 0afbc5f588 Bug 1219725 - Add a button for session restore to the tab bar. r=dao,Gijs,mikedeboer,whimboo ui-r=shorlander
MozReview-Commit-ID: 7KEKlLFiaij
2017-06-15 15:35:03 -07:00
Sebastian Hengst a3d98a1860 Backed out changeset c829f7a6cc0d (bug 1219725) for flake8 linting failure at tabbar.py:53: line too long. r=backout 2017-06-19 20:02:52 +02:00
Erica Wright 9774b1e95e Bug 1219725 - Add a button for session restore to the tab bar. r=dao,Gijs,mikedeboer,whimboo ui-r=shorlander
MozReview-Commit-ID: 7KEKlLFiaij
2017-06-15 15:35:03 -07:00
DimiL 20ed1b5b65 Bug 1366920 - SafeBrowinsg V4 only in 56. r=francois
MozReview-Commit-ID: KWhPC7YWzAh
2017-06-14 09:56:27 +08:00
Henrik Skupin e35e1b54ae Bug 1336254 - Use http://no-ssl.mozqa.com to access test pages on mozqa.com without SSL. r=maja_zf
All connections to mozqa.com which do not use SSL have to be done
to a unique subdomain. This was requested to lower the amount of
active HTTP endpoints.

MozReview-Commit-ID: JAFjQFhTCxT
2017-05-26 18:29:35 +02:00
Ryan VanderMeulen 1aca34b2f1 Backed out changeset 99ed53cfebd6 (bug 1298803) for causing Windows Marionette hangs. 2017-05-19 12:23:10 -04:00
CuriousLearner aae72f4644 Bug 1298803 - Add test to quit Firefox via a shortcut; r=whimboo
MozReview-Commit-ID: 9z1u0gWj1Wf
2017-05-11 22:09:36 +05:30
Raajit Raj 6bfb6530e2 Bug 1357372 - Restrict safebrowsing tests from reaching support.mozilla.org r=whimboo
MozReview-Commit-ID: 1P36My7AxpY
2017-05-11 23:02:42 +05:30
Marco Bonardo c536e58644 Bug 977177 - Update favicons API consumers. r=adw
Updates consumers to the new behavior.
Some consumers are changed to use  the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.

The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.

Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.

Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.

The system only supports square icons, so icons are resized based on their larger side.

This doesn't include new tests, those will be in a following changeset.

MozReview-Commit-ID: JUkpquhpS8y
2016-09-28 16:14:30 +02:00
Francois Marier d8e35f3776 Bug 1330253 - Enable test_safe_browsing_initial_download on try. r=dustin,whimboo
MozReview-Commit-ID: 7SruSkfIhzI
2017-01-13 14:11:19 -08:00
Wes Kocher c1df05c274 Backed out changeset 78ac10622294 (bug 1330253) for firefox ui test failures a=backout 2017-03-31 16:07:10 -07:00
Francois Marier a3df688af8 Bug 1330253 - Enable test_safe_browsing_initial_download on try. r=dustin,whimboo
MozReview-Commit-ID: 7SruSkfIhzI
2017-01-13 14:11:19 -08:00
ui.aseem_yadav 12998f6d3a Bug 1334996 - Click on Safebrowsing report button has to wait for the final URL. r=whimboo
MozReview-Commit-ID: AlYvuOGxr5E
2017-03-28 15:37:03 +05:30
Henrik Skupin 405aa651c3 Bug 1322383 - Update Puppeteer and firefox-ui tests for valid window checks. r=maja_zf
We have to ensure to switch to the current browser window after closing all the windows
in tearDown.

MozReview-Commit-ID: 3sYwmbew43d
2017-02-07 11:16:55 +01:00
Sebastian Hengst e2c419d547 Backed out changeset a892984bb20c (bug 1322383) 2017-03-21 19:05:48 +01:00
Henrik Skupin 644217f8d1 Bug 1322383 - Update Puppeteer and firefox-ui tests for valid window checks. r=maja_zf
We have to ensure to switch to the current browser window after closing all the windows
in tearDown.

MozReview-Commit-ID: 3sYwmbew43d
2017-02-07 11:16:55 +01:00
Carsten "Tomcat" Book df85fda29a Backed out changeset 20f6edaec61e (bug 1322383) 2017-03-01 12:48:57 +01:00
Henrik Skupin 10c66028e9 Bug 1322383 - Update Puppeteer and firefox-ui tests for valid window checks. r=maja_zf
We have to ensure to switch to the current browser window after closing all the windows
in tearDown.

MozReview-Commit-ID: 3sYwmbew43d
2017-02-07 11:16:55 +01:00
Sebastian Hengst 463f89b957 Backed out changeset 5ac53d4a98ea (bug 1330253) for failing ui test TestSafeBrowsingInitialDownload.test_safe_browsing_initial_download. r=backout 2017-02-25 00:27:04 +01:00
Francois Marier 555f1d52b9 Bug 1330253 - Enable test_safe_browsing_initial_download on try. r=dustin,whimboo
MozReview-Commit-ID: 7SruSkfIhzI
2017-01-13 14:11:19 -08:00
Thomas Nguyen f1bf9d77e5 Bug 1288633 - Add SafeBrowsing report false positive URL test.r=francois
MozReview-Commit-ID: JEMLug9M85Q
2017-02-21 11:25:04 +08:00
Sebastian Hengst 43fab1e100 Backed out changeset be39185b68b0 (bug 1322383) 2017-02-09 18:10:08 +01:00
Henrik Skupin a99bccab88 Bug 1322383 - Update Puppeteer and firefox-ui tests for valid window checks. r=maja_zf
We have to ensure to switch to the current browser window after closing all the windows
in tearDown.

MozReview-Commit-ID: 3sYwmbew43d
2017-02-07 11:16:55 +01:00
Francois Marier aacb390cd4 Bug 1336922 - Temporarily disable V4 updates in test_safe_browsing_initial_download.py. r=whimboo
MozReview-Commit-ID: IB2ginfKPE3
2017-02-07 16:53:32 +08:00
Carsten "Tomcat" Book ae78acc83e Backed out changeset a2820983e1e6 (bug 1336922) for flake8 failure 2017-02-07 17:03:36 +01:00
Francois Marier e58cfdbb70 Bug 1336922 - Temporarily disable V4 updates in test_safe_browsing_initial_download.py. r=whimboo
MozReview-Commit-ID: IB2ginfKPE3
2017-02-07 16:53:32 +08:00
Francois Marier 35cf14e9ba Bug 1333303 - Remove the google4 dir from the test and relax the list comparison. r=whimboo
MozReview-Commit-ID: 2KY6CEQZYOk
2017-01-25 15:45:12 -08:00
Gabor Krizsanits 307ea19071 Bug 1315042 - Re-enable some tests. r=me 2017-01-25 18:04:55 +01:00
Gabor Krizsanits fcef34662d Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Wes Kocher dd05415096 Backed out changeset 529ae909938a (bug 1303113) for frequent asan failures in test_ext_cookies.html a=backout
MozReview-Commit-ID: 9hU3ePb8tpn
2017-01-20 12:22:08 -08:00
Gabor Krizsanits 89f19889c3 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-20 15:52:07 +01:00
Dão Gottwald e4f27bea53 Bug 1332298 - Fix and re-enable test_dv_certificate.py, test_ev_certificate.py, test_toolbars.py. r=whimboo 2017-01-20 14:09:08 +01:00
Wes Kocher 9e8ea1b2d6 Bug 1332298 - Skip the permafailing tests until they can be fixed a=me
MozReview-Commit-ID: KUlElEnH0og
2017-01-19 15:27:11 -08:00
Henry Chang 85dc14974a Bug 1305486 - Enable v4 tables on nightly build. r=francois
MozReview-Commit-ID: 4iGduuYqMQs
2016-11-20 15:10:19 +08:00
Henrik Skupin d4e442e1fb Bug 1323770 - Fix skip decorators for unit tests. r=maja_zf
Marionette's skip decorators are currently not conform with the ones from the
Python's unittest module, which require a reason as parameter. As such Marionette
should behave the same and should also require a reason for more detailed skip
messages. This is done by wrapping the actual decorator with another enclosing
method.

With the changes we also ensure that the wrapper has the same attributes as the
wrapped function by using functools.wraps(). This hasn't used so far and makes
debugging harder.

Further a couple of skip methods and classes were copied from the unittest module,
which should be better imported instead to reduce code duplication.

MozReview-Commit-ID: 6XT6M6cbCFW
2016-12-29 09:22:00 +01:00