Commit Graph
197 Commits
Author SHA1 Message Date
Andrew Halberstadt 9d85bdcbc9 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc
2017-09-26 10:47:22 -04:00
Sebastian Hengst 95c011a9f0 Backed out changeset ddfc127526b2 (bug 1403222) for failing python/mozbuild/mozbuild/test/frontend/test_reader.py::TestBuildReader::test_schedules, at least for Linux asan opt builds. r=backout on a CLOSED TREE 2017-10-02 16:03:12 +02:00
Andrew Halberstadt 5c9a4c3849 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc
2017-09-26 10:47:22 -04:00
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
Andrew Halberstadt 1d6a04b606 Bug 1395126 - Support cascading configuration for flake8, r=bc
This allows .flake8 files to override one another, and fixes a pretty bad known
bug with our flake8 implementation. For example, say we have a .flake8 file at:
/foo/.flake8

Before this patch, if we ran |mach lint foo/bar|, the configuration defined in
that .flake8 file wouldn't get picked up. It would only work if running the
specific directory that contains it, e.g |mach lint foo|.

This change additionally allows multiple .flake8 files to be used. So if
there's one defined at both:
/.flake8
/foo/.flake8

Then running |mach lint foo/bar| will first apply the root .flake8, then the
one under /foo (overriding earlier configuration).

This bug still doesn't make flake8 configuration perfect though. Any directory
containing a .flake8 file still needs to be explicitly listed in the "include"
section of /tools/lint/flake8.yml. Otherwise in the example above, if running
|mach lint /|, it wouldn't be able to find /foo/.flake8. This is a hard problem
and is likely best solved by fixing flake8's upstream configuration handling.

Unfortunately this means we still can't switch from a whitelist to a blacklist.

MozReview-Commit-ID: 3DZAi1QHYYo
2017-08-29 17:32:31 -04:00
Wes Kocher 181cbeb276 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7XpmaFg1k8N
2017-08-29 16:17:13 -07:00
Ganti Sai Sarath Chandra 6bda4ec56b Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal
MozReview-Commit-ID: DRi8KFyCnBn
2017-08-19 04:19:06 +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
Francois Marier 3415cb70e0 Bug 1387612 - Show Safe Browsing timeouts in Marionette logs. r=whimboo
MozReview-Commit-ID: 2GbcPnakEku
2017-08-04 16:57:49 -07:00
David Burns 3e60dfa92d Bug 1369556 - Disable test_toolbars for high intermittence. r=aryx
MozReview-Commit-ID: 8RYlfUoRMM2
2017-07-25 12:20:16 +01: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
Henrik Skupin f63af352c0 Bug 1360687 - Update puppeteer notification class for webextensions. r=davehunt
To support webextensions in Puppeteer the current restartless
extension gets replaced by a webextension. It allow us to test
at least the permission notification. This patch only adds basic
support.

MozReview-Commit-ID: FKq76qcOxKu
2017-06-29 15:46:45 -07:00
Gijs Kruitbosch 1b926a256d Bug 1352120 - move the bookmarks star into the url bar, r=mak
MozReview-Commit-ID: Ka5Wn2hrb1P
2017-06-23 17:35:59 +01: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 15d423a4d2 Bug 1373564 - Force enable update staging mode to prevent perma failures for update tests. r=automatedtester
Bug 1370576 disabled staging of application updates, which is not yet
supported in our firefox-ui update tests. As result there is a hang and
the restart button is never clicked on.

This is just a wallpaper fix and full support might still have to
be integrated if wanted.

MozReview-Commit-ID: 8LF1RKxnMEb
2017-06-16 11:39:23 +02:00
Andrew Halberstadt bce781d9b8 Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher
This is needed before we can upgrade to flake8 3.3.0, as that version starts flagging these errors.

These files were modified by running:
autopep8 --select E305 --in-place -r <dir>

on the affected directories. I did it one dir at a time and verified the result after each.

MozReview-Commit-ID: FmlsfiKIbtr
2017-06-15 12:10:59 -04:00
Henrik Skupin e913918c15 Bug 1372205 - Fix AutocompleteResults.visible_results() to only return visible items. r=mak
Instead of 'itemCount' the 'maxResults' property of the autocomplete popup
has to be used, because it doens't get increased similar to 'itemCount' but
stays the same all the time.

Further we cannot do an equal check in the puppeteer unit test but only do
a check for 0 < visible results <= maxResults, to ensure that items are
visible. Using the dot instead, should also give us more and more accurate
results across different locales.

MozReview-Commit-ID: KZEhq87kvx7
2017-06-12 17:54:17 +02:00
Geoff Brown 90dd9a553f Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8 2017-05-30 16:06:31 -06:00
Geoff Brown b195bd0c85 Bug 1367780 - Enable eslint on testing/firefox-ui,mozbase,profiles,specialpowers - mechanical updates; r=Standard8 2017-05-30 16:06:29 -06: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
Henrik Skupin b23a9a8add Bug 1362051 - Update tests have to set MOZ_MARIONETTE environment variable. r=ato,maja_zf
To allow update tests to use source builds of Firefox before bug 1355888
was landed, the MOZ_MARIONETTE environment variable has to be be
pre-emptively set. Otherwise Marionette will not be activated after
the update has been applied.

MozReview-Commit-ID: Hqb6SjYtOPR
2017-05-04 22:10:50 +02:00
Andrew Swan c67c7b7f04 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy
2017-05-03 08:02:51 -07:00
Sebastian Hengst eadb3f1e1a Backed out changeset 46dd4a4338a1 (bug 1352204) for timing out Talos suites g2, o and s. r=backout 2017-05-02 20:19:17 +02:00
Andrew Swan df783f518b Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy
2017-05-01 10:34:27 -07:00
Henrik Skupin 5c3fcdbe9f Bug 1290850 - Force local update URL for software update unit tests. r=maja_zf
The unit tests for the software update class should not rely on
the remote update URL being reachable. Instead a locally served
URL has to be used.

MozReview-Commit-ID: 8WNoEb0PUWz
2017-04-24 15:09:25 +02:00
Henrik Skupin 09d8eb8036 Bug 1304656 - Firefox UI update tests have to use the restart buttons. r=rail
To ensure that we correctly restart Firefox for update tests, the restart
button in the about window or the old software update window have to be
clicked.

MozReview-Commit-ID: 7acl1DcA85d
2017-04-13 09:41:43 +02:00
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
Henrik Skupin 42267190bc Bug 1355009 - Temporarily disable usage of simplified update ui. r=ato
As long as update tests do not support the new simplified update ui
it has to be kept disabled.

MozReview-Commit-ID: 4fC0CYhp7Pc
2017-04-11 14:01:17 +02:00
Henrik Skupin 2782fe8b8e Bug 1355009 - Harden update tests with better error messages. r=ato
To ensure better failure messages a refactoring of checks has to be done. It
includes the following changes:

* No further checks for a follow-up (watershed) update. It's not supported
and as such doesn't need assertions (bug 1353717)

* Checks for fallback updates have to be made to ensure that an invalidated
partial/complete update does not cause an upgrade of Firefox during the restart.

MozReview-Commit-ID: CLb0aXoIur2
2017-04-11 13:42:44 +02:00
Henrik Skupin 1c396fe83d Bug 1355009 - Force update tests to only allow a single update. r=ato
There was never a need to run a multiple-update step in the past, and as
we agreed a while ago it is not something we want to do in the future.
It means that watershed releases will have to be tested by issuing
multiple update tests.

MozReview-Commit-ID: 7cmK3gEOkv1
2017-04-11 11:18:26 +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