Commit Graph

153 Commits

Author SHA1 Message Date
Peter Hedenskog 1e195c05f6
Update dev dependencies (#4534) 2025-07-10 08:00:36 +02:00
Peter Hedenskog e78200da3e
Move InfluxDB to it own standalone plugin (#4451) 2025-02-28 15:22:28 +01:00
Peter Hedenskog b9456eef6e
Replace intel with sitespeed.io/log (#4381)
* Replace intel with sitespeed.io/log
2025-01-07 08:53:48 +01:00
Peter Hedenskog f766094d2a
Add GitHub Action test for S3 upload (#4367) 2024-12-28 18:24:52 +01:00
Peter Hedenskog 2b3fff4962
Add action to test upload functionality (#4366) 2024-12-28 16:01:00 +01:00
Peter Hedenskog 8c3730f27f
gcs: run github action test against GCS (#4362) 2024-12-27 18:21:11 +01:00
Peter Hedenskog 3741366d45
Upgrade to eslint/unicorn 54 (#4213) 2024-07-08 08:19:41 +02:00
Peter Hedenskog e9022e913a
Upgrade to Eslint 9.6 (#4211) 2024-07-08 06:38:46 +02:00
Peter Hedenskog 72b32324f6
First step to a better compare (#4064) 2024-01-19 06:53:34 +01:00
Peter Hedenskog da6c0997c7
A new compare plugin. (#4009)
* A new compare plugin.

Make it possible to compare the performance using Wilcox or
Mann Whitney U.
2023-11-24 13:57:14 +01:00
Peter Hedenskog f8da80f021
Fix: read config file on Windows
And added test on all platforms for reading the config.
2023-07-29 19:16:04 +02:00
Peter Hedenskog 9e215b8b06
Do not backfill the slug (#3901)
* Do not backfill the slug https://github.com/sitespeedio/sitespeed.io/issues/3899
2023-07-07 16:31:13 +02:00
Peter Hedenskog 2f39a1993b
Add a test for scripting on Windows (#3858)
* Add a test for scripting on Windows
2023-05-25 13:28:54 +02:00
Roman Voitseshevskyi 881132f8dc
add test for influx v1.8 and v2.6.1 (#3790)
* add test for influx v1.8 and v2.6.1

* modify arfument org to organisation

---------

Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2023-03-16 19:49:33 +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 4e323784fd
Run GitHub Action tests against local HTTP server (#3638) 2022-04-26 06:11:19 +02:00
Peter Hedenskog 8206cfd1ce
Move tests to Ava (#3637)
* Move tests to Ava
2022-04-25 22:18:29 +02:00
Peter Hedenskog 50f68aa611
Fix Grafana auth (#3634) 2022-04-19 05:52:57 +02:00
Peter Hedenskog 1e9bea8bf0
Update to latest prettier/eslint setup (#3478) 2021-10-11 18:44:59 +02:00
soulgalore 65a27d0c88 rm wpt test 2020-12-21 09:16:51 +01:00
Peter Hedenskog f37e0b9d89
Move the WebPageTest plugin out of sitespeed.io (#3205)
* Move the WebPageTest plugin out of sitespeed.io

You can find the plugin at:
https://github.com/sitespeedio/plugin-webpagetest
2020-12-15 08:10:47 +01:00
Peter Hedenskog a0fe224e33
New updated coach (#3210) 2020-12-12 15:40:37 +01:00
Peter Hedenskog 84209b97a4
New Browsertime 11 alpha (#3201) 2020-12-08 19:49:13 +01:00
Peter Hedenskog 5c32deeaef
Introducing slug for your test and a new experimental setup (#3203) 2020-12-08 19:48:51 +01:00
soulgalore a29057a34d Fix failing Slack tests 2020-08-17 12:05:46 +02:00
Peter Hedenskog c329c34b55
Use functions to format output for Slack (#3105)
* Use functions to format output
2020-07-29 09:56:44 +02:00
Lise Bilhaut 594777fa0c
Add unit to slack summary (#3102) 2020-07-24 23:21:56 +02:00
Peter Hedenskog 7cce73ea50
Remove experimental flag for perIteration metric for Graphite. (#3069)
* Remove exprimental flag for perIteration metric for Graphite.

* more updates per iteration
2020-07-09 21:21:23 +02:00
Peter Hedenskog eb20768e2f
Prepare for using options down to result storage (#3058) 2020-06-23 13:59:35 +02:00
Peter Hedenskog 9f9dd7220d
Fix failing unit test setup for GitHub Actions (#3057)
* fix the tests one by one

* Add missing line feed

* more cleanup
2020-06-23 13:17:00 +02:00
Erick Wilder 2c0ba7928e
feat(plugins): move influxdb CLI options to the plugin defintion (#3005) 2020-05-21 17:44:49 +02:00
Erick Wilder c750fe2b4a
Move graphite cli options to plugin (#2991)
* test(cli): add graphite coverage for current cli options

* refactor(plugins/graphite): move CLI option definitions to plugin
2020-05-13 12:14:20 +02:00
Erick Wilder 8cf3c24722
Refactor grafana cli options (#2984)
* test(cli): add basic coverage to test cli help output

- Add basic coverated when invoking the command without arguments
- Basic checks for grafana help

* feat(cli): delegate command line options configuration to the Grafana plugin

It uses the name of the plugin as a namespace for all options. Plugin authors _may_ use this
in the future to show helpful messages in the default sitespeed CLI help output.

- Move CLI options to its own module to not pollute the plugin's `index.js` file.
- Change the plugin interface to define a `.cliOptions` property or method containing the `yargs`
  configuration to be used by the CLI code
- Add code coverage for the existing plugin API to ensure no regressions are introduced for Grafana
- Move parts of the `yargs`-related code to `cli/util.js`. Tests to ensure the initial proposition for
  plugin-based CLI options are included.

Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-05-11 20:31:52 +02:00
Erick Wilder 4b0c9a7c6b
fix(plugins/slack): correctly send messages on html.finished message (#2971)
* fix(plugins/slack): correctly send messages on html.finished message

Do not rely on `resultBaseUrl` to block messages to be sent to Slack. Instead, check if any
of the supported hosting providers are correctly configured. If that is the case, then
messages are sent _only after the upload is complete_. For all other cases, send the message
anyway

test(plugins/slack): add basic test scenarios

- Check for missing options when calling `slack.open()`
- Ensure that methods supposed to return lists always return them
- Add some sanity checks to the summary, so that missing values would not crash

* Skipping  .nvmrc for now

Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-04-28 11:06:00 +02:00
Peter Hedenskog 1448e5e468
First go at adding configurable groups #2958 (#2964)
* First go at adding configurable groups #2958

* Fix broken group

* simplify group handling

* Adjust test to the new structure
2020-04-27 08:19:41 +02:00
Peter Hedenskog 3f136b2d5c
Add tag/key for desktop/mobile GPSI tests (#2917)
* Add tag/key for desktop/mobile GPSI tests

* new structure
2020-03-13 08:59:34 +01:00
Chris Adams c8ccb907fe
Bump co2 to 0.5.0 and remove tests now in external co2 module (#2906)
* Remove tests which are now in the external module

* remove test

* Adjust to the new CO2 API

Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-03-03 14:14:51 +01:00
Chris Adams 3fba6b2e01
Extract co2 and hosting checks into separate module (#2899)
Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-02-29 09:29:22 +01:00
Chris Adams b1d40bec16
Add carbon emissions figures for data over the wire [sustainability plugin] (#2868) 2020-02-21 16:43:53 +01:00
Peter Hedenskog d2df5ec2ce
Test running Graphite and send metrics (#2874)
* Test running Graphite and send metrics
2020-02-15 21:09:22 +01:00
Peter Hedenskog 855571c6ba
Run without cli (#2746)
* Make sure we fail on errors
* Fix failing code
2019-11-03 19:04:11 +01:00
thapasya-m 0889548620 feat - verify http status in budget (and log errors) (#2691)
on budget verify, check for responseCode from
pagesummary and log any status code > 399
configure budget httpErrors = 0
2019-10-10 20:30:59 +02:00
Peter Hedenskog 4c4d643db4
Getting connectivity was broken for influx and just luckily working f… (#2587)
* Getting connectivity was broken for influx and just luckily working for Graphite.

* safer way to get the metric

* fix test case to follow correct JSON

* fix the fix
2019-08-21 16:27:33 +02:00
soulgalore bb5e8c21e9 test: new dom 2019-08-14 17:18:38 +02:00
soulgalore 5d4baac863 increase first paint budget limit 2019-03-20 16:17:10 +01:00
Peter Hedenskog 8bd8c67033
use official dayjs utc #2365 (#2370) 2019-03-10 21:12:22 +01:00
soulgalore 9371f8044a test the new budget in Travis 2019-01-21 07:44:08 +01:00
soulgalore e1156421a4 use latest bt 2019-01-08 20:40:37 +01:00
soulgalore 7d1b1520de use latest alpha of Browsertime 2019-01-07 21:08:31 +01:00
Peter Hedenskog 021426058a
Replace var with const/let (#2241) 2019-01-03 21:55:41 +01:00