Commit Graph

32 Commits

Author SHA1 Message Date
Mehmet Salih Yavuz
58f9be9b85 fix(empty dashboards): Allow downloading a screenshot of an empty dashboard (#30767)
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2024-11-13 16:16:33 +04:00
Maxime Beauchemin
4bb2e2f8af chore: enable ruff lint rule TRY201 and B904 to improve raise stack traces (#29166) 2024-06-12 13:04:42 -07:00
Vitor Avila
020c79970f fix(reports): Update the element class to wait for when taking a screenshot (#28745) 2024-05-29 13:05:48 -06:00
Maxime Beauchemin
2d63722150 chore: set up ruff as a new linter/formatter (#28158) 2024-04-24 17:19:53 -07:00
Kamil Gabryjelski
3f9183a162 chore: Use WEBDRIVER_OPTION_ARGS with Playwright (#26315) 2023-12-20 12:42:12 +01:00
Kamil Gabryjelski
dbed64a2c6 fix: Use page.locator in Playwright reports (#26224) 2023-12-08 17:16:13 +01:00
Kamil Gabryjelski
bda43ac0f6 chore: Add config options for Playwright wait_until and default timeout (#25765) 2023-10-27 10:37:32 +02:00
Kamil Gabryjelski
ff95d0face feat: Implement using Playwright for taking screenshots in reports (#25247) 2023-10-04 06:51:58 +02:00
Josh Soref
0735680674 chore(backend): Spelling (#25457)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:36:50 -07:00
EugeneTorap
fc89718d48 chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2023-07-24 17:13:49 -07:00
John Bodley
a4d5d7c6b9 chore(pre-commit): Add pyupgrade and pycln hooks (#24197) 2023-06-01 12:01:10 -07:00
Elizabeth Thompson
989fe27a0f chore: log different selenium timeout errors differently (#23290) 2023-03-09 12:55:12 -08:00
Craig Rueda
d3e698eb54 chore(webdriver): Tuning the Webdriver logging a bit (#23255) 2023-03-01 11:46:49 -08:00
Elizabeth Thompson
4ddf67fc14 chore: move dashboard screenshot standalone logic (#23003) 2023-02-15 14:35:08 -08:00
Elizabeth Thompson
0a2fc9cdde fix: change order of webdriver timeout checks (#22698) 2023-01-17 10:00:51 -08:00
Rui Zhao
d1989a4766 fix(report): Capture unexpected errors in report screenshots. Fixes #21653 (#21724)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-12-13 14:31:36 -07:00
Ville Brofeldt
a02a778cc3 feat(reports): execute as other than selenium user (#21931)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-10-31 14:32:49 +02:00
Hugh A. Miles II
2263a76f4d remove eleement reference (#20830) 2022-07-22 13:56:33 -04:00
Beto Dealmeida
b7707e8ff7 feat: bypass cache on screenshots for alerts (#17695)
* feat: bypass cache on screenshots for alerts

* Update existing tests

* Add backend test

* Add frontend test
2021-12-22 08:26:38 -08:00
Elizabeth Thompson
3ee9e11ce1 feat: add a config to enable retina quality images in screenshots (#17409)
* add feature flag for retina screenshot support

* use config for pixel density

* run black
2021-11-15 12:47:40 -08:00
Beto Dealmeida
a74352644e fix: typo in log (#16767) 2021-09-21 19:54:38 -04:00
Grace Guo
00ca21e016 fix: report with timeout chart (#16674) 2021-09-15 11:09:21 -07:00
John Bodley
0df15bf207 chore(pylint): Reenable import-outside-toplevel check (#16263)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-08-17 05:20:13 +12:00
Hugh A. Miles II
4cb79e5017 fix: Fix long dashboards screenshot emails (#15954)
* create serialize json function

* create new setting for reports

* cleanup

* address comments

* up the attributes
2021-08-02 16:37:34 -04:00
Beto Dealmeida
c9dad05f2b chore: remove retry dependency in favor of backoff (#15788)
* chore: remove retry dep in favor of backoff

* Fix lint
2021-07-20 10:33:37 -07:00
u-aiaa
6b790990a8 fix: Add waiting time for chart animation when screenshot (#15610) 2021-07-15 18:25:48 -07:00
Daniel Vaz Gaspar
f52b6715cf fix: downgrade selenium log level on timeout (#15328) 2021-06-28 20:02:05 +01:00
Elizabeth Thompson
7dc0cee5be add another wait for chart element (#15108) 2021-06-15 10:00:36 -07:00
Daniel Vaz Gaspar
4e998e62fc feat: add more timeout configuration on screenshots (#14868)
* feat: more timeout configuration on screenshots

* add tests
2021-06-08 15:33:42 +01:00
Sam Faber-Manning
11260b3117 chore: add stack trace to all calls of logger.error (#14382) 2021-04-30 09:22:05 -07:00
Kasia Kucharczyk
690e27e5fd chore: updated utils with pylint rules (#11062)
* Updated pylint in cache.py in utils: unecessary bad-whitespace. Autoformatting

* Updated pylint in core.py in utils: E0202.

* Updated pylint in logging_configurator.py in utils: disable=no-member. Formatting

* Updated pylint in machine_auth.py in utils: unused-import

* Updated pylint in screenshots.py in utils: unused-import and import-error

* Updated pylint in webdriver.py in utils: unused-import
2020-09-28 14:32:06 -07:00
Craig Rueda
2aaa4d92d9 chore: Migrating reports to AuthWebdriverProxy (#10567)
* Migrating reports to AuthWebdriverProxy

* Extracting out webdriver proxy / Adding thumbnail tests to CI

* Adding license

* Adding license again

* Empty commit

* Adding thumbnail tests to CI

* Switching thumbnail test to Postgres

* Linting

* Adding mypy:ignore / removing thumbnail tests from CI

* Putting ignore statement back

* Updating docs

* First cut at authprovider

* First cut at authprovider mostly working - still needs more tests

* Auth provider tests added

* Linting

* Linting again...

* Linting again...

* Busting CI cache

* Reverting workflow change

* Fixing dataclasses

* Reverting back to master

* linting?

* Reverting installation.rst

* Reverting package-lock.json

* Addressing feedback

* Blacking

* Lazy logging strings

* UPDATING.md note
2020-08-12 13:28:41 -07:00