Skip to content

Conversation

peterschretlen
Copy link
Contributor

@peterschretlen peterschretlen commented Oct 3, 2025

What this PR does / why we need it:

This PR updates the default scripted and browser examples to:

  • Use quickpizza login as the example for both scripts
  • Advertise k6 studio for recording browser scripts
  • Advertise secrets management
  • Modernize by replacing fail with expect (assertions library)

Which issue(s) this PR fixes:

Fixes https://github.com/grafana/synthetic-monitoring/issues/358

My main concern is this makes the default scripts longer and harder to read.

Scripted Before
image

Scripted After
image

Browser Before
image

Browser After
image

@peterschretlen peterschretlen requested a review from a team as a code owner October 3, 2025 22:26
Copy link

github-actions bot commented Oct 3, 2025

Script size changes

Name +/- Main This PR Outcome
[module.js] +0.08% 2,386.30 kB 2,388.11 kB
[datasource/module.js] = 24.68 kB 24.68 kB

Totals

Name +/- Main This PR Outcome
[Scripts] +0.07% 2,410.98 kB 2,412.79 kB
[Non-script Assets] = 2,587.82 kB 2,587.82 kB
[All] +0.04% 4,998.80 kB 5,000.61 kB

Generated by 🚫 dangerJS against c6ac99d

@peterschretlen peterschretlen requested a review from w1kman October 8, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants