From b3d8f1fc5994f5490414c0094dcd5eb3fe3f3ba2 Mon Sep 17 00:00:00 2001 From: oleiade Date: Tue, 16 Jan 2024 10:52:07 +0100 Subject: [PATCH 1/3] Add the web-dashboard to v0.49.0 release notes --- release notes/v0.49.0.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/release notes/v0.49.0.md b/release notes/v0.49.0.md index 42286f2121d..43ca7360c0f 100644 --- a/release notes/v0.49.0.md +++ b/release notes/v0.49.0.md @@ -1,5 +1,6 @@ k6 `v0.49.0` is here 🎉! This release includes: +- a web-dashboard enabling users to track their load test results in real-time, directly in their web browser - clear to the locator classes for the browser module - gRPC experimental module being merged back - being able to get the selection from an element in k6/html @@ -17,6 +18,33 @@ k6 `v0.49.0` is here 🎉! This release includes: ## New features +### Web Dashboard + +The new web dashboard brings real-time visualization to load testing. This feature allows users to monitor test progress and analyze +results dynamically, enhancing the overall testing experience. + +#### Real-time test results + +Activate this feature using the environment variable K6_WEB_DASHBOARD=true. For this initial release, the dashboard is not enabled +by default to allow users to opt into this new experience as it continues to evolve. + +```bash +K6_WEB_DASHBOARD=true k6 run script.js +``` + +Once enabled and the test script is running, navigate to [http://localhost:6565](http://localhost:6565) in your web browser to access the dashboard. + +![k6 Web Dashboard Overview](https://github.com/grafana/xk6-dashboard/blob/master/screenshot/k6-dashboard-overview-light.png?raw=true) + +#### Test report + +The web dashboard also offers an HTML test report for detailed analysis, enabling easy sharing and downloading capabilities for +collaboration. + +To access and download the report, click on the `Report` button located in the top right corner of the dashboard. + +![HTML Report Generated by k6 Dashboard](https://github.com/grafana/xk6-dashboard/blob/master/screenshot/k6-dashboard-html-report.png?raw=true) + ### Add `clear` to the `locator` class [browser#1149](https://github.com/grafana/xk6-browser/pull/1149) The new `clear` method on `locator` will clear text boxes and input fields. This is useful when navigating to a website where the text boxes and input fields already contain a value that needs to be cleared before filling it with a specific value. From ea95264b6eb750d65b32000cdea9ea74a9f475f5 Mon Sep 17 00:00:00 2001 From: oleiade Date: Tue, 16 Jan 2024 14:09:13 +0100 Subject: [PATCH 2/3] Apply suggestions from code review --- release notes/v0.49.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release notes/v0.49.0.md b/release notes/v0.49.0.md index 43ca7360c0f..9964bf9bda1 100644 --- a/release notes/v0.49.0.md +++ b/release notes/v0.49.0.md @@ -1,6 +1,6 @@ k6 `v0.49.0` is here 🎉! This release includes: -- a web-dashboard enabling users to track their load test results in real-time, directly in their web browser +- a built-in web-dashboard displaying test results in real-time - clear to the locator classes for the browser module - gRPC experimental module being merged back - being able to get the selection from an element in k6/html From 9b2451fe5e6acc071737438d68c9e3cce2abeafd Mon Sep 17 00:00:00 2001 From: oleiade Date: Tue, 16 Jan 2024 14:17:18 +0100 Subject: [PATCH 3/3] Apply suggestions from code review --- release notes/v0.49.0.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/release notes/v0.49.0.md b/release notes/v0.49.0.md index 9964bf9bda1..e8668306141 100644 --- a/release notes/v0.49.0.md +++ b/release notes/v0.49.0.md @@ -38,13 +38,11 @@ Once enabled and the test script is running, navigate to [http://localhost:6565] #### Test report -The web dashboard also offers an HTML test report for detailed analysis, enabling easy sharing and downloading capabilities for +The web dashboard also offers an [HTML test report](https://github.com/grafana/xk6-dashboard/blob/master/screenshot/k6-dashboard-html-report-screen-view.png?raw=true) for detailed analysis, enabling easy sharing and downloading capabilities for collaboration. To access and download the report, click on the `Report` button located in the top right corner of the dashboard. -![HTML Report Generated by k6 Dashboard](https://github.com/grafana/xk6-dashboard/blob/master/screenshot/k6-dashboard-html-report.png?raw=true) - ### Add `clear` to the `locator` class [browser#1149](https://github.com/grafana/xk6-browser/pull/1149) The new `clear` method on `locator` will clear text boxes and input fields. This is useful when navigating to a website where the text boxes and input fields already contain a value that needs to be cleared before filling it with a specific value.