Commit Graph

214 Commits

Author SHA1 Message Date
Peter Hedenskog 43a318885f
Fix Android API check (#4428) 2025-02-03 09:07:52 +01:00
Peter Hedenskog f48e9723a7
Fix: the API used android or android.enabled for Android configuration (#4427) 2025-02-02 14:24:31 +01:00
Peter Hedenskog 25c4aa2995
Replace find-up (#4385) 2025-01-07 17:19:33 +01:00
Peter Hedenskog 0ebdee2a5d
WebPageReplay: Deep merge configuration and skip camel case. (#4242)
The camel case is evil since it makes some metrcis becoming
arrays.
2024-07-29 20:45:48 +02:00
Peter Hedenskog 3741366d45
Upgrade to eslint/unicorn 54 (#4213) 2024-07-08 08:19:41 +02:00
Peter Hedenskog 14650c5f2e
Copy BT settings to the API (#4200) 2024-06-24 12:52:44 +02:00
Peter Hedenskog 6adc8eea33
Make sure to remove extends (#4198) 2024-06-23 18:32:42 +02:00
Peter Hedenskog 1aef84f9a6
API: show url/script in output when you add a test (#4195) 2024-06-20 09:14:29 +02:00
Peter Hedenskog 538cc3a0c3
Fix for https://github.com/sitespeedio/onlinetest/issues/20 (#4191) 2024-06-18 12:48:22 +02:00
Peter Hedenskog 5223f1d992
api: if we get a failure and want JSON, show it (#4163) 2024-05-24 07:56:38 +02:00
Peter Hedenskog 740455bb1f
Increase number listeners before you get a warning (#4158) 2024-05-17 22:28:55 +02:00
Peter Hedenskog 75665de47e
Remove console errors that we already logged (#4080) 2024-02-08 09:47:16 +01:00
Peter Hedenskog 5814518f63
Fix supressing the budget (#4065) 2024-01-18 13:37:36 +01:00
Peter Hedenskog c202151738
Simplify exit code logic. (#4063)
* Simplify exit code logic.

I introduced a bug when I added support for exit codes from
Browsertime/scripting. This fixed that bug and makes the code
simpler to read/understand.

https://github.com/sitespeedio/sitespeed.io/issues/4062
2024-01-17 14:40:46 +01:00
Peter Hedenskog e0832c5723
If a browsertime marks a test as a failure, exit with error code (#4047) 2024-01-05 16:54:34 +01:00
Peter Hedenskog c6399c89e1
Only set exit code if you haven't set it already. (#4044)
https://github.com/sitespeedio/sitespeed.io/issues/3667
2023-12-29 08:00:34 +01:00
Peter Hedenskog dbbd291e20
Support user journeys for WebPageReplay (#4005)
* Support user journeys for WebPageReplay

* Add missing params
2023-11-09 10:24:29 +01:00
Peter Hedenskog 09c1ebb60c
Enable logging for WebPageReplay recording phase (#3999)
* Add verbose logging to recording

* Add possible to enable Chromedriver log
2023-11-03 09:58:40 +01:00
Peter Hedenskog 61b7bbd764
Make sure catched errors gets to the standard out and after budget/open the browser (#3939) 2023-08-15 17:31:26 +02:00
Peter Hedenskog 45cce6c381
api: Pass on the script name to the API. (#3845) 2023-05-16 15:23:07 +02:00
Peter Hedenskog 97c9a7ff5d
api: Fix so we can handle scripting in the API (#3840)
* handle multi in api

* fix page summary URL
2023-05-10 21:07:59 +02:00
Peter Hedenskog b923d4a2b4
make it easier to use the API (#3839) 2023-05-10 18:42:15 +02:00
Peter Hedenskog 27bd6ddee0
API cleanup and small fixes (#3837) 2023-05-10 06:06:55 +02:00
Peter Hedenskog d5468a4c6f
Another fix for storing the result (#3830) 2023-05-03 16:05:08 +02:00
Peter Hedenskog fcb89f42c3
Moar fixes (#3829) 2023-05-03 15:08:46 +02:00
Peter Hedenskog 0bfbdba69c
Use the API Luke (#3825) 2023-05-03 09:31:54 +02:00
Peter Hedenskog 793dd6869e
Fix broken result.json code (#3816)
* Fix broken result.json code

* lint
2023-04-20 22:31:56 +02:00
Peter Hedenskog 560765ddfd
Add default Firefox setup on Android and WebPageReplay. (#3788) 2023-03-15 19:09:27 +01:00
Peter Hedenskog fc2884fbba
Update all dependencies to latest releases (#3774) 2023-03-03 13:59:14 +01:00
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01:00
Peter Hedenskog 84a3498d50
Update browsertime 17.0.0 beta (#3747) 2022-10-31 21:58:11 +01:00
Peter Hedenskog 9cd19d4c3c
Use xdg-open for open default browser on Linux (#3597) 2022-03-10 23:13:34 +01:00
Peter Hedenskog 05647d52c0
Always store the error message and better error queue handling (#3522) 2021-12-08 10:40:22 +01:00
Peter Hedenskog 574e3e39dd
Give a param to storeResult to use as filename (#3520) 2021-12-06 17:05:19 +01:00
Peter Hedenskog e452fb532d
Add option --open/-o to open the result in your default browser. (#3493)
https://github.com/sitespeedio/sitespeed.io/issues/3492
2021-10-29 08:42:52 +02:00
Peter Hedenskog fb218096c4
Use Moto G4 as default for --mobile instead of iPhone 6 (#3467) 2021-09-28 09:41:36 +02:00
soulgalore 8d37f3b683 Store result 2021-05-03 19:39:32 +02:00
Peter Hedenskog 525b0018ba
A better catch when failure setting up WPR (#3146) 2020-09-14 13:08:24 +02:00
Peter Hedenskog 00c3e5bd80
Fix so its easier to run Android phones with WebPageReplay (#3134) 2020-08-26 15:16:19 +02:00
Peter Hedenskog fd9f02abf7
Add --android to wpr (#3012)
* follow the same pattern to run WPR and Android as Browsertime

* remove set for now

* no need for edge yet
2020-05-25 09:58:14 +02:00
Peter Hedenskog cc2ebf1059
Ignore certificate errors by default (#2853) 2020-01-25 20:53:49 +01:00
Peter Hedenskog 908b6b8e9d
Use the config file while recording using WebPageReplay (#2826) 2019-12-16 14:51:48 +01:00
Peter Hedenskog 84e6766633
Make sure to propagate settings to WebPageReplay (#2825) 2019-12-16 07:30:14 +01:00
Peter Hedenskog ede15c602e
Using WebPagReplay and --mobile didn't set mobile settings correctly (#2795) 2019-11-20 14:45:09 -05:00
Peter Hedenskog e6373c0a7a
Obey --mobile for WPR (#2654) 2019-09-24 10:41:32 +02:00
soulgalore a1b60b8f1b result is an array in new Browsertime 2018-12-30 16:25:15 +01:00
Peter Hedenskog fda6bb5666
Fix testing multiple pages in a row with WebPageReplay (#2228)
There was bug that made testing multiple pages break when caching
them in the record state.
2018-12-05 08:22:35 -05:00
Peter Hedenskog 7cc5562204
Remove Bluebird promises and use await/sync where we can. (#2205) 2018-11-20 09:14:05 +01:00
soulgalore 2a557526c3 set correct exit code on error #2019 2018-05-07 14:46:41 +02:00
soulgalore 662d085350 cleanup for wpr 2018-04-08 07:22:30 +02:00