0

23 Commits

Author SHA1 Message Date
Simon Mavi Stewart
f5c05aab3e [ci+bazel] Mark most python test suites as skip-remote
NOKEYCHECK=True
GitOrigin-RevId: 3143f6095801339a3ff293ceda9d1c995a9c5a9c
2023-08-14 03:44:22 -07:00
Simon Mavi Stewart
6547e1cbe4 [bazel] Pin chrome for testing instead of chromium
NOKEYCHECK=True
GitOrigin-RevId: 05fe13065c0c014c5fe9a223a85dbb65e55ef497
2023-08-01 02:40:12 -07:00
Diego Molina
42462369ef Revert "[py+ci] Get closer to getting all the python tests running on EngFlow"
This reverts commit 65ca57a6004fa266103fd16174d1e250938ba69f.

NOKEYCHECK=True
GitOrigin-RevId: 415f20b5fcf73337832c2699a7368acc74fad023
2023-06-23 09:42:35 -07:00
Simon Mavi Stewart
962307bd1a [py+ci] Get closer to getting all the python tests running on EngFlow
NOKEYCHECK=True
GitOrigin-RevId: 65ca57a6004fa266103fd16174d1e250938ba69f
2023-06-19 07:54:01 -07:00
Simon Stewart
001afc57d3 [bazel] Get python large "auto" tests running on engflow ()
NOKEYCHECK=True
GitOrigin-RevId: 7497e38c57f6a88035291119de73793610abfa9d
2023-06-06 07:19:07 -07:00
Simon Mavi Stewart
4cf60e19e7 [bazel] Fix up python data deps so remote builds work
NOKEYCHECK=True
GitOrigin-RevId: 635f86c4c271b686285a6837a7234184af7982e3
2023-05-10 14:35:15 -07:00
James Hilliard
c2ae02df69 [py] Replace devtools genrule with proper generate_devtools rule. ()
The existing genrule does not handle directories properly.

NOKEYCHECK=True
GitOrigin-RevId: b803c686243787bc45a41732d9348b08afaff449
2023-01-25 03:01:03 -08:00
James Hilliard
1e505fe689 [py] Add PKG-INFO to sdist ()
Co-authored-by: David Burns <david.burns@theautomatedtester.co.uk>
NOKEYCHECK=True
GitOrigin-RevId: 4f218e0439d4163fadcc6392a953fc6adc9fa745
2022-12-13 13:25:03 -08:00
Simon Mavi Stewart
61781fe3e6 Run buildifier. No logical changes
`buildifier --lint fix -r .`

NOKEYCHECK=True
GitOrigin-RevId: f7c2f029a68e9e6bb5b65b5fca6c7254341e872a
2022-08-09 11:21:46 -07:00
Simon Stewart
fe5448e6c4 [bazel] Run buildifier. No logical changes.
Command invocation was:

   buildifier -r -lint fix -type auto .

NOKEYCHECK=True
GitOrigin-RevId: 83e80c246a2b68fbc6544d29fd5bff548a78c0f8
2022-01-27 14:33:49 -08:00
Simon Stewart
dcebb10d30 [bazel] Correct pinned browser path for chrome on linux
NOKEYCHECK=True
GitOrigin-RevId: 720451f6fe5861bfd45010f40e3aca4c15903835
2022-01-27 14:32:24 -08:00
Simon Stewart
7ecae5cfb5 Fix small thinko in python browser tests
NOKEYCHECK=True
GitOrigin-RevId: 41b9b380eb4810bc7f307be19bac028e54d1dbd1
2022-01-27 14:32:10 -08:00
AutomatedTester
21d61a31d0 [build] Set up python for pinned browsers
This allows people to pass in  --//common:pin_browsers to python tests
and bazel will setup the browsers and use them.

Work from pairing session with Simon Stewart

NOKEYCHECK=True
GitOrigin-RevId: 958724989003cfcc422b3f433cde2a7da37865c9
2022-01-27 14:31:55 -08:00
Simon Stewart
d62a0c6c24 Avoid using bazel native python rules
NOKEYCHECK=True
GitOrigin-RevId: 5c446c46af44bb98c1e1fc99e6f36cea7f9e7364
2022-01-27 14:30:35 -08:00
AutomatedTester
b2d625bb26 [Build] Fix pytest macro to allow --test_args to pass through
NOKEYCHECK=True
GitOrigin-RevId: 18192eaede9f2deb34e5dfe0a98fe94d8c61a97e
2022-01-27 14:26:52 -08:00
Simon Stewart
4475c5171a More copyright header fixing
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: cf066b4dc493b001963cc5e48c6df7187e03163b
2020-01-04 10:08:48 +00:00
Simon Stewart
44b49e4089 Run buildifier over BUILD and WORKSPACE files
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: f3a4901c50eecae0bb11160d144189d4c6a38203
2019-11-12 22:06:33 +00:00
Simon Stewart
21364ac0f5 Run buildifier over bzl files
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: edfbeed291dc77d77fe6b39e785130caeaf76b88
2019-11-12 22:06:33 +00:00
Simon Stewart
b323c0b047 Add the ability to create python test suites, and use it
This works in much the same way as the test suites for Java do, but
with python.

Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: e160563f3e9805ec784dcc3820896bd56168f6e6
2019-11-11 21:17:18 +00:00
Simon Stewart
41d6aee2d4 Remove flags that are plugin-specific from pytest wrapper
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: 66625d79c63405566500d0c3865622473c93d2d5
2019-11-11 21:17:18 +00:00
Simon Stewart
70f5742406 The pytest_test does not need a toolchain
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: c9de3a9e11ba665a4d04f8194f95d1f501584619
2019-11-11 21:17:18 +00:00
Simon Stewart
ebded47a34 Move py_import into the private python area
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: 9591dd328d1eea480d4ea61bd4b1b79679b65296
2019-11-11 21:17:18 +00:00
Simon Stewart
a5ede5aeb5 [py] Lay groundwork for running large tests with python
Turns out we need a custom runner. Implementing this as a macro that
generates the runner for us.

Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: 23a7d7706f92789497161300b5721a32b99c0666
2019-11-11 21:17:18 +00:00