Files
grafana/e2e-playwright/fixtures/tempo-response.json
Ashley Harrison b6580ccb10 E2E: migrate to playwright (#107241)
* separate playwright into its own folder

* better separation

* add login scenario, add tags

* remove ui option

* update CODEOWNERS

* add a panels suite test

* migrate queries test to playwright

* rename + add dashlist test

* add panelEdit_base

* add geomap map controls test

* add geomap-layer-types

* add geomap-spatial-operations tests

* add frontend-sandbox-panel tests

* add smoke-tests-suite

* add comment about adding datasource

* add dashboard-browse-nested

* add dashboard-browse

* add dashboard-export-json

* add dashboard-keybindings test

* remove @wip tag

* turn on screenshots and add comment for why this test fails

* add dashboard-links-without-slug test

* try adding permissions in the test as well

* add dashboard-live-streaming

* context in the test doesn't work - sad

* create dashboard-public-templating

* add dashboard-public-create and make live streaming more resilient

* add share externally test

* add dashboard-share-internally

* add share-snapshot-create test

* add dashboard-templating

* add timepicker tests

* add embedded-dashboard test

* add general_dashboards test

* add import-dashboard test

* add load-options-from-url test

* add new-constant-variable test

* add custom-variable test

* add new-datasource-variable test

* add new-interval-variable test

* add text-box-variable test

* add new-query-variable test

* add horizontal repeat test

* add panel-vertical-repeat test

* add empty-row-repeat test

* add set-options-from-ui test

* add snapshot-create test

* add templating test

* add textbox-variables test

* add cloud-plugins-suite

* add storybook verification tests

* add playwright storybook verification workflow

* add playwright browsers

* update CODEOWNERS

* test change to trigger storybook verification workflows

* try container instead

* get the version right...

* go back to installing - less chance of forgetting to update

* Basic Github Actions

Squashed commit of the following:

commit f84c650a71
Author: joshhunt <josh.hunt@grafana.com>
Date:   Tue Jul 1 13:23:46 2025 +0100

    add arg for sharding, but not using it yet

commit 7bcf0512c6
Author: joshhunt <josh.hunt@grafana.com>
Date:   Tue Jul 1 12:30:30 2025 +0100

    less newline

commit b643911882
Author: joshhunt <josh.hunt@grafana.com>
Date:   Tue Jul 1 12:24:31 2025 +0100

    less logs

commit 38f871e9c2
Author: joshhunt <josh.hunt@grafana.com>
Date:   Tue Jul 1 10:00:26 2025 +0100

    fix yaml

commit db9a773136
Author: joshhunt <josh.hunt@grafana.com>
Date:   Tue Jul 1 09:57:47 2025 +0100

    clean up files

commit c0525f41fa
Author: joshhunt <josh.hunt@grafana.com>
Date:   Tue Jul 1 09:44:56 2025 +0100

    gha workflow

commit 895bea7c52
Author: joshhunt <josh.hunt@grafana.com>
Date:   Mon Jun 30 19:33:08 2025 +0100

    working dagger

commit cea1f84437
Author: joshhunt <josh.hunt@grafana.com>
Date:   Mon Jun 30 16:17:46 2025 +0100

    wip

* shard gha

* some tidy up

* add flags for exporting results, and a gha step to merge runs

* fix shard gha

* add dashboard-duplicate-panel test

* add dashboard-outline test

* add dashboards-add-panel

* remove some commented out code

* add dashboards-title-description test

* add dashboards-remove-panel

* don't install cypress

* gha: check playwright results

* add dashboards-edit-adhoc-variables test

* fix check-jobs

* add dagger cloud token

* add dagger cloud token

* add edit-datasource-variable test

* update CODEOWNERS

* add dashboards-edit-group-by-variables (skipped for now)

* add dashboards-edit-panel-title-description test

* add dashboards-edit-transparent-bg test

* add dashboards-edit-query-variables test

* run with 8 shards

* add dashboards-edit-variables

* tidy up gha

* add dashboard-group-panels

* fix action

* try to cache the grafana build

* fix missing action becuase no checkout, use builtin continue-on-error instead

* fix missing id

* cat out.txt

* debug build cache

* fix debug build cache

* add dashboards-panel-layouts test

* tidy up

* no more debug

* fix grafana dir

* add dashboards-move-panel test

* skip some failing tests

* mark up plugins tests with @plugins tag, only run @plugins tests in drone

* Hackathon/Playwright Conversion - Various Suite (#107516)

* Playwright Migration: Various Suite tests

* skipping bad tests

* fix some tests that can fail

* fix uid

* separate user for the verify-i18n test

* build test plugins for grafana server

* properly blur input fields

* login manually

* get dashboardPage from goto

* ignore a couple of type assertions

* remove a couple of timeouts

* remove timeouts on dashboard-share-internally

* use toBeHidden

* make dashboard-share-internally more stable

* remove TEMP_DAGGER_TOKEN

* clean up visaulization-suggestions

* unskip gauge test

* unskip trace-view-scrolling

* attempt to make create variable utils stable

* unskip loki tests

* make go linter happy

* unskip edit-group-by-variables test

* unskip move panel tests

* isolate dashboard-timepicker tests with separate user

* create data source as part of smoke test

* make sure we're awaiting in dashboard-edit-adhoc-variables

* make dashboards-edit-variables test more robust

* Hackathon Playwright: Dashboards Search (#107580)

* Hackathon Playwright: Dashboards Search

* Feedback changes

* make trace-view-scrolling more stable

* add json report and bench step

* fix bench version

* move fail step to after the playwright report so we can report test failures

* fix output file name

* fix typo

* try wrap in expect.poll

* stability

* bit more tidy up

* fix dashboard-new-layouts tests

* move test-plugins to e2e-playwright

* fix go code for drone e2e run

* move loki plugin-e2e test

* make v2 dashboards work again

---------

Co-authored-by: joshhunt <josh.hunt@grafana.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Collin Fingar <collin.fingar@grafana.com>
Co-authored-by: Jeff Levin <jeff@levinology.com>
2025-07-11 10:31:33 +01:00

1182 lines
35 KiB
JSON

{
"results": {
"A": {
"frames": [
{
"schema": {
"name": "Trace",
"refId": "A",
"meta": {
"preferredVisualisationType": "trace"
},
"fields": [
{
"name": "traceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "spanID",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "parentSpanID",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "operationName",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "serviceName",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "serviceTags",
"type": "other",
"typeInfo": {
"frame": "other"
}
},
{
"name": "startTime",
"type": "number",
"typeInfo": {
"frame": "float64"
}
},
{
"name": "duration",
"type": "number",
"typeInfo": {
"frame": "float64"
}
},
{
"name": "logs",
"type": "other",
"typeInfo": {
"frame": "other"
}
},
{
"name": "tags",
"type": "other",
"typeInfo": {
"frame": "other"
}
}
]
},
"data": {
"values": [
[
"04829080550953998599",
"04829080550953998599",
"04829080550953998599",
"04829080550953998599",
"04829080550953998599",
"04829080550953998599",
"04829080550953998599",
"04829080550953998599",
"04829080550953998599",
"04829080550953998599",
"04829080550953998599"
],
[
"4829080550953998599",
"2017565205134657253",
"8342878680821632593",
"1224460974534844837",
"275963539390240345",
"8319197348330196958",
"6652870949263121722",
"607757742690372462",
"4351457163250103362",
"6171925700166476032",
"7554371986156978275"
],
[
null,
"4829080550953998599",
"2017565205134657253",
"8342878680821632593",
"1224460974534844837",
"275963539390240345",
"4829080550953998599",
"6652870949263121722",
"607757742690372462",
"4351457163250103362",
"6171925700166476032"
],
[
"HTTP Client",
"HTTP POST",
"HTTP POST - post",
"HTTP Client",
"HTTP POST",
"HTTP POST - post",
"HTTP GET",
"HTTP GET - root",
"HTTP Client",
"HTTP GET",
"HTTP GET - root"
],
["lb", "lb", "app", "app", "app", "db", "lb", "app", "app", "app", "db"],
[
[
{
"value": "lb",
"key": "service.name"
},
{
"value": "tns/loadgen",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "f55ab7e317a6",
"key": "host.name"
},
{
"value": "172.24.0.8",
"key": "ip"
},
{
"value": "36042b5ca9f81d60",
"key": "client-uuid"
}
],
[
{
"value": "lb",
"key": "service.name"
},
{
"value": "tns/loadgen",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "f55ab7e317a6",
"key": "host.name"
},
{
"value": "172.24.0.8",
"key": "ip"
},
{
"value": "36042b5ca9f81d60",
"key": "client-uuid"
}
],
[
{
"value": "app",
"key": "service.name"
},
{
"value": "tns/app",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "7945a05e75db",
"key": "host.name"
},
{
"value": "172.24.0.7",
"key": "ip"
},
{
"value": "78f645af1e60163d",
"key": "client-uuid"
}
],
[
{
"value": "app",
"key": "service.name"
},
{
"value": "tns/app",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "7945a05e75db",
"key": "host.name"
},
{
"value": "172.24.0.7",
"key": "ip"
},
{
"value": "78f645af1e60163d",
"key": "client-uuid"
}
],
[
{
"value": "app",
"key": "service.name"
},
{
"value": "tns/app",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "7945a05e75db",
"key": "host.name"
},
{
"value": "172.24.0.7",
"key": "ip"
},
{
"value": "78f645af1e60163d",
"key": "client-uuid"
}
],
[
{
"value": "db",
"key": "service.name"
},
{
"value": "tns/db",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "aae464791221",
"key": "host.name"
},
{
"value": "172.24.0.2",
"key": "ip"
},
{
"value": "18b1a6b5278dd643",
"key": "client-uuid"
}
],
[
{
"value": "lb",
"key": "service.name"
},
{
"value": "tns/loadgen",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "f55ab7e317a6",
"key": "host.name"
},
{
"value": "172.24.0.8",
"key": "ip"
},
{
"value": "36042b5ca9f81d60",
"key": "client-uuid"
}
],
[
{
"value": "app",
"key": "service.name"
},
{
"value": "tns/app",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "7945a05e75db",
"key": "host.name"
},
{
"value": "172.24.0.7",
"key": "ip"
},
{
"value": "78f645af1e60163d",
"key": "client-uuid"
}
],
[
{
"value": "app",
"key": "service.name"
},
{
"value": "tns/app",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "7945a05e75db",
"key": "host.name"
},
{
"value": "172.24.0.7",
"key": "ip"
},
{
"value": "78f645af1e60163d",
"key": "client-uuid"
}
],
[
{
"value": "app",
"key": "service.name"
},
{
"value": "tns/app",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "7945a05e75db",
"key": "host.name"
},
{
"value": "172.24.0.7",
"key": "ip"
},
{
"value": "78f645af1e60163d",
"key": "client-uuid"
}
],
[
{
"value": "db",
"key": "service.name"
},
{
"value": "tns/db",
"key": "job"
},
{
"value": "Jaeger-Go-2.22.1",
"key": "opencensus.exporterversion"
},
{
"value": "aae464791221",
"key": "host.name"
},
{
"value": "172.24.0.2",
"key": "ip"
},
{
"value": "18b1a6b5278dd643",
"key": "client-uuid"
}
]
],
[
1620761543730.354, 1620761543730.3628, 1620761543732.044, 1620761543732.163, 1620761543732.191,
1620761543733.925, 1620761543735.194, 1620761543738.197, 1620761543738.394, 1620761543738.398,
1620761543744.6929
],
[17.826, 4.824, 2.588, 2.403, 2.401, 0.142, 13.266, 11.281, 8.593, 10.87, 0.136],
[
null,
[
{
"timestamp": 1620761543730.414,
"fields": [
{
"value": "GetConn",
"key": "event"
}
]
},
{
"timestamp": 1620761543730.475,
"fields": [
{
"value": "DNSStart",
"key": "event"
},
{
"value": "app",
"key": "host"
}
]
},
{
"timestamp": 1620761543731.1738,
"fields": [
{
"value": "DNSDone",
"key": "event"
},
{
"value": "172.24.0.7",
"key": "addr"
}
]
},
{
"timestamp": 1620761543731.184,
"fields": [
{
"value": "ConnectStart",
"key": "event"
},
{
"value": "tcp",
"key": "network"
},
{
"value": "172.24.0.7: 80",
"key": "addr"
}
]
},
{
"timestamp": 1620761543731.6228,
"fields": [
{
"value": "ConnectDone",
"key": "event"
},
{
"value": "tcp",
"key": "network"
},
{
"value": "172.24.0.7: 80",
"key": "addr"
}
]
},
{
"timestamp": 1620761543731.678,
"fields": [
{
"value": "GotConn",
"key": "event"
}
]
},
{
"timestamp": 1620761543731.737,
"fields": [
{
"value": "WroteHeaders",
"key": "event"
}
]
},
{
"timestamp": 1620761543731.742,
"fields": [
{
"value": "WroteRequest",
"key": "event"
}
]
},
{
"timestamp": 1620761543735.001,
"fields": [
{
"value": "GotFirstResponseByte",
"key": "event"
}
]
},
{
"timestamp": 1620761543735.186,
"fields": [
{
"value": "ClosedBody",
"key": "event"
}
]
}
],
null,
null,
[
{
"timestamp": 1620761543732.209,
"fields": [
{
"value": "GetConn",
"key": "event"
}
]
},
{
"timestamp": 1620761543732.236,
"fields": [
{
"value": "DNSStart",
"key": "event"
},
{
"value": "db",
"key": "host"
}
]
},
{
"timestamp": 1620761543733.196,
"fields": [
{
"value": "DNSDone",
"key": "event"
},
{
"value": "172.24.0.2",
"key": "addr"
}
]
},
{
"timestamp": 1620761543733.203,
"fields": [
{
"value": "ConnectStart",
"key": "event"
},
{
"value": "tcp",
"key": "network"
},
{
"value": "172.24.0.2: 80",
"key": "addr"
}
]
},
{
"timestamp": 1620761543733.459,
"fields": [
{
"value": "ConnectDone",
"key": "event"
},
{
"value": "tcp",
"key": "network"
},
{
"value": "172.24.0.2: 80",
"key": "addr"
}
]
},
{
"timestamp": 1620761543733.549,
"fields": [
{
"value": "GotConn",
"key": "event"
}
]
},
{
"timestamp": 1620761543733.613,
"fields": [
{
"value": "WroteHeaders",
"key": "event"
}
]
},
{
"timestamp": 1620761543733.618,
"fields": [
{
"value": "WroteRequest",
"key": "event"
}
]
},
{
"timestamp": 1620761543734.241,
"fields": [
{
"value": "GotFirstResponseByte",
"key": "event"
}
]
},
{
"timestamp": 1620761543734.592,
"fields": [
{
"value": "ClosedBody",
"key": "event"
}
]
}
],
null,
[
{
"timestamp": 1620761543735.23,
"fields": [
{
"value": "GetConn",
"key": "event"
}
]
},
{
"timestamp": 1620761543735.277,
"fields": [
{
"value": "DNSStart",
"key": "event"
},
{
"value": "app",
"key": "host"
}
]
},
{
"timestamp": 1620761543736.9658,
"fields": [
{
"value": "DNSDone",
"key": "event"
},
{
"value": "172.24.0.7",
"key": "addr"
}
]
},
{
"timestamp": 1620761543736.9758,
"fields": [
{
"value": "ConnectStart",
"key": "event"
},
{
"value": "tcp",
"key": "network"
},
{
"value": "172.24.0.7: 80",
"key": "addr"
}
]
},
{
"timestamp": 1620761543737.705,
"fields": [
{
"value": "ConnectDone",
"key": "event"
},
{
"value": "tcp",
"key": "network"
},
{
"value": "172.24.0.7: 80",
"key": "addr"
}
]
},
{
"timestamp": 1620761543737.773,
"fields": [
{
"value": "GotConn",
"key": "event"
}
]
},
{
"timestamp": 1620761543737.8098,
"fields": [
{
"value": "WroteHeaders",
"key": "event"
}
]
},
{
"timestamp": 1620761543737.811,
"fields": [
{
"value": "WroteRequest",
"key": "event"
}
]
},
{
"timestamp": 1620761543747.939,
"fields": [
{
"value": "GotFirstResponseByte",
"key": "event"
}
]
},
{
"timestamp": 1620761543748.46,
"fields": [
{
"value": "ClosedBody",
"key": "event"
}
]
}
],
null,
null,
[
{
"timestamp": 1620761543738.446,
"fields": [
{
"value": "GetConn",
"key": "event"
}
]
},
{
"timestamp": 1620761543738.502,
"fields": [
{
"value": "DNSStart",
"key": "event"
},
{
"value": "db",
"key": "host"
}
]
},
{
"timestamp": 1620761543743.861,
"fields": [
{
"value": "DNSDone",
"key": "event"
},
{
"value": "172.24.0.2",
"key": "addr"
}
]
},
{
"timestamp": 1620761543743.918,
"fields": [
{
"value": "ConnectStart",
"key": "event"
},
{
"value": "tcp",
"key": "network"
},
{
"value": "172.24.0.2: 80",
"key": "addr"
}
]
},
{
"timestamp": 1620761543744.228,
"fields": [
{
"value": "ConnectDone",
"key": "event"
},
{
"value": "tcp",
"key": "network"
},
{
"value": "172.24.0.2: 80",
"key": "addr"
}
]
},
{
"timestamp": 1620761543744.345,
"fields": [
{
"value": "GotConn",
"key": "event"
}
]
},
{
"timestamp": 1620761543744.414,
"fields": [
{
"value": "WroteHeaders",
"key": "event"
}
]
},
{
"timestamp": 1620761543744.416,
"fields": [
{
"value": "WroteRequest",
"key": "event"
}
]
},
{
"timestamp": 1620761543746.825,
"fields": [
{
"value": "GotFirstResponseByte",
"key": "event"
}
]
},
{
"timestamp": 1620761543749.2668,
"fields": [
{
"value": "ClosedBody",
"key": "event"
}
]
}
],
null
],
[
[
{
"value": "const",
"key": "sampler.type"
},
{
"value": true,
"key": "sampler.param"
},
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 302,
"key": "http.status_code"
},
{
"value": "net/http",
"key": "component"
},
{
"value": "POST",
"key": "http.method"
},
{
"value": "app: 80",
"key": "http.url"
},
{
"value": false,
"key": "net/http.reused"
},
{
"value": false,
"key": "net/http.was_idle"
},
{
"value": "client",
"key": "span.kind"
},
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 302,
"key": "http.status_code"
},
{
"value": "POST",
"key": "http.method"
},
{
"value": "/post",
"key": "http.url"
},
{
"value": "net/http",
"key": "component"
},
{
"value": "server",
"key": "span.kind"
},
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 204,
"key": "http.status_code"
},
{
"value": "net/http",
"key": "component"
},
{
"value": "POST",
"key": "http.method"
},
{
"value": "db: 80",
"key": "http.url"
},
{
"value": false,
"key": "net/http.reused"
},
{
"value": false,
"key": "net/http.was_idle"
},
{
"value": "client",
"key": "span.kind"
},
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 204,
"key": "http.status_code"
},
{
"value": "POST",
"key": "http.method"
},
{
"value": "/post",
"key": "http.url"
},
{
"value": "net/http",
"key": "component"
},
{
"value": "server",
"key": "span.kind"
},
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 200,
"key": "http.status_code"
},
{
"value": "net/http",
"key": "component"
},
{
"value": "GET",
"key": "http.method"
},
{
"value": "app: 80",
"key": "http.url"
},
{
"value": false,
"key": "net/http.reused"
},
{
"value": false,
"key": "net/http.was_idle"
},
{
"value": "client",
"key": "span.kind"
},
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 200,
"key": "http.status_code"
},
{
"value": "GET",
"key": "http.method"
},
{
"value": "/",
"key": "http.url"
},
{
"value": "net/http",
"key": "component"
},
{
"value": "server",
"key": "span.kind"
},
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 200,
"key": "http.status_code"
},
{
"value": "net/http",
"key": "component"
},
{
"value": "GET",
"key": "http.method"
},
{
"value": "db: 80",
"key": "http.url"
},
{
"value": false,
"key": "net/http.reused"
},
{
"value": false,
"key": "net/http.was_idle"
},
{
"value": "client",
"key": "span.kind"
},
{
"value": 0,
"key": "status.code"
}
],
[
{
"value": 200,
"key": "http.status_code"
},
{
"value": "GET",
"key": "http.method"
},
{
"value": "/",
"key": "http.url"
},
{
"value": "net/http",
"key": "component"
},
{
"value": "server",
"key": "span.kind"
},
{
"value": 0,
"key": "status.code"
}
]
]
]
}
}
]
}
}
}