From 4110f5db40207969944fe3aa75944ab446846c25 Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Fri, 2 Aug 2024 11:10:39 -0500 Subject: [PATCH] Fix caution and warning admonitions (#1682) --- .../next/extensions/build-k6-binary-using-docker.md | 2 +- .../next/extensions/create/javascript-extensions.md | 2 +- .../next/extensions/explanations/extension-graduation.md | 2 +- docs/sources/next/javascript-api/jslib/httpx/_index.md | 2 +- .../javascript-api/k6-browser/browsercontext/pages.md | 2 +- .../k6-browser/browsercontext/setgeolocation.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/check.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/click.md | 2 +- .../javascript-api/k6-browser/elementhandle/dblclick.md | 2 +- .../k6-browser/elementhandle/dispatchevent.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/fill.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/focus.md | 2 +- .../k6-browser/elementhandle/getattribute.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/hover.md | 2 +- .../javascript-api/k6-browser/elementhandle/innerhtml.md | 2 +- .../javascript-api/k6-browser/elementhandle/innertext.md | 2 +- .../javascript-api/k6-browser/elementhandle/ischecked.md | 2 +- .../javascript-api/k6-browser/elementhandle/isdisabled.md | 2 +- .../javascript-api/k6-browser/elementhandle/iseditable.md | 2 +- .../javascript-api/k6-browser/elementhandle/isenabled.md | 2 +- .../javascript-api/k6-browser/elementhandle/ishidden.md | 2 +- .../javascript-api/k6-browser/elementhandle/isvisible.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/press.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/query.md | 2 +- .../k6-browser/elementhandle/selectoption.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/tap.md | 2 +- .../k6-browser/elementhandle/textcontent.md | 2 +- .../next/javascript-api/k6-browser/elementhandle/type.md | 2 +- .../javascript-api/k6-browser/elementhandle/uncheck.md | 2 +- .../k6-browser/elementhandle/waitforselector.md | 2 +- .../sources/next/javascript-api/k6-browser/frame/check.md | 2 +- .../sources/next/javascript-api/k6-browser/frame/click.md | 2 +- .../next/javascript-api/k6-browser/frame/dblclick.md | 2 +- .../next/javascript-api/k6-browser/frame/dispatchevent.md | 2 +- .../next/javascript-api/k6-browser/frame/dollar.md | 2 +- .../next/javascript-api/k6-browser/frame/doubledollar.md | 2 +- docs/sources/next/javascript-api/k6-browser/frame/fill.md | 2 +- .../sources/next/javascript-api/k6-browser/frame/focus.md | 2 +- .../next/javascript-api/k6-browser/frame/getattribute.md | 2 +- docs/sources/next/javascript-api/k6-browser/frame/goto.md | 2 +- .../sources/next/javascript-api/k6-browser/frame/hover.md | 2 +- .../next/javascript-api/k6-browser/frame/innerhtml.md | 2 +- .../next/javascript-api/k6-browser/frame/innertext.md | 2 +- .../next/javascript-api/k6-browser/frame/inputvalue.md | 2 +- .../next/javascript-api/k6-browser/frame/ischecked.md | 2 +- .../next/javascript-api/k6-browser/frame/isdisabled.md | 2 +- .../next/javascript-api/k6-browser/frame/iseditable.md | 2 +- .../next/javascript-api/k6-browser/frame/isenabled.md | 2 +- .../next/javascript-api/k6-browser/frame/ishidden.md | 2 +- .../next/javascript-api/k6-browser/frame/isvisible.md | 2 +- .../sources/next/javascript-api/k6-browser/frame/press.md | 2 +- .../next/javascript-api/k6-browser/frame/selectoption.md | 2 +- .../next/javascript-api/k6-browser/frame/textcontent.md | 2 +- docs/sources/next/javascript-api/k6-browser/frame/type.md | 2 +- .../next/javascript-api/k6-browser/frame/uncheck.md | 2 +- .../javascript-api/k6-browser/frame/waitforloadstate.md | 4 ++-- .../javascript-api/k6-browser/frame/waitfornavigation.md | 2 +- .../sources/next/javascript-api/k6-browser/isconnected.md | 2 +- .../next/javascript-api/k6-browser/locator/check.md | 2 +- .../next/javascript-api/k6-browser/locator/click.md | 2 +- .../next/javascript-api/k6-browser/locator/dblclick.md | 2 +- .../next/javascript-api/k6-browser/locator/hover.md | 2 +- .../javascript-api/k6-browser/locator/selectoption.md | 2 +- .../sources/next/javascript-api/k6-browser/locator/tap.md | 2 +- .../next/javascript-api/k6-browser/locator/uncheck.md | 2 +- .../next/javascript-api/k6-browser/locator/waitfor.md | 2 +- docs/sources/next/javascript-api/k6-browser/newpage.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/check.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/click.md | 2 +- .../next/javascript-api/k6-browser/page/dblclick.md | 2 +- .../next/javascript-api/k6-browser/page/dispatchevent.md | 2 +- .../sources/next/javascript-api/k6-browser/page/dollar.md | 2 +- .../next/javascript-api/k6-browser/page/doubledollar.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/fill.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/focus.md | 2 +- .../next/javascript-api/k6-browser/page/getattribute.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/goto.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/hover.md | 2 +- .../next/javascript-api/k6-browser/page/innerhtml.md | 2 +- .../next/javascript-api/k6-browser/page/innertext.md | 2 +- .../next/javascript-api/k6-browser/page/inputvalue.md | 2 +- .../next/javascript-api/k6-browser/page/ischecked.md | 2 +- .../next/javascript-api/k6-browser/page/isclosed.md | 2 +- .../next/javascript-api/k6-browser/page/isdisabled.md | 2 +- .../next/javascript-api/k6-browser/page/iseditable.md | 2 +- .../next/javascript-api/k6-browser/page/isenabled.md | 2 +- .../next/javascript-api/k6-browser/page/ishidden.md | 2 +- .../next/javascript-api/k6-browser/page/isvisible.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/on.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/press.md | 2 +- .../sources/next/javascript-api/k6-browser/page/reload.md | 2 +- .../next/javascript-api/k6-browser/page/selectoption.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/tap.md | 2 +- .../next/javascript-api/k6-browser/page/textcontent.md | 2 +- docs/sources/next/javascript-api/k6-browser/page/type.md | 2 +- .../next/javascript-api/k6-browser/page/uncheck.md | 2 +- .../javascript-api/k6-browser/page/waitforloadstate.md | 4 ++-- .../javascript-api/k6-browser/page/waitfornavigation.md | 2 +- .../next/javascript-api/k6-browser/request/allheaders.md | 2 +- .../next/javascript-api/k6-browser/response/allheaders.md | 2 +- docs/sources/next/javascript-api/k6-data/sharedarray.md | 2 +- docs/sources/next/javascript-api/k6-http/batch.md | 2 +- docs/sources/next/javascript-api/k6/group.md | 2 +- docs/sources/next/results-output/real-time/cloud.md | 2 +- docs/sources/next/results-output/real-time/dynatrace.md | 2 +- .../next/results-output/real-time/elasticsearch.md | 2 +- .../results-output/real-time/grafana-cloud-prometheus.md | 2 +- docs/sources/next/set-up/fine-tune-os.md | 2 +- docs/sources/next/shared/blocking-aws-blockquote.md | 2 +- docs/sources/next/shared/browser-module-wip.md | 2 +- docs/sources/next/shared/experimental-module.md | 2 +- docs/sources/next/shared/experimental-timers-module.md | 2 +- docs/sources/next/shared/experimental-tracing-module.md | 2 +- .../next/testing-guides/running-distributed-tests.md | 8 ++++---- docs/sources/next/using-k6-browser/metrics.md | 2 +- docs/sources/next/using-k6/k6-options/reference.md | 4 ++-- .../scenarios/concepts/arrival-rate-vu-allocation.md | 4 ++-- docs/sources/next/using-k6/thresholds.md | 4 ++-- .../v0.47.x/extensions/build-k6-binary-using-docker.md | 2 +- .../v0.47.x/extensions/create/javascript-extensions.md | 2 +- .../extensions/explanations/extension-graduation.md | 2 +- docs/sources/v0.47.x/javascript-api/init-context/open.md | 2 +- docs/sources/v0.47.x/javascript-api/jslib/httpx/_index.md | 2 +- .../sources/v0.47.x/javascript-api/k6-data/sharedarray.md | 2 +- .../browser/browsercontext/clearpermissions.md | 2 +- .../k6-experimental/browser/browsercontext/pages.md | 2 +- .../browser/browsercontext/setgeolocation.md | 2 +- .../browser/browsercontext/waitforevent.md | 2 +- .../javascript-api/k6-experimental/browser/isconnected.md | 2 +- .../k6-experimental/browser/locator/check.md | 2 +- .../k6-experimental/browser/locator/click.md | 2 +- .../k6-experimental/browser/locator/dblclick.md | 2 +- .../k6-experimental/browser/locator/hover.md | 2 +- .../k6-experimental/browser/locator/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/locator/tap.md | 2 +- .../k6-experimental/browser/locator/uncheck.md | 2 +- .../k6-experimental/browser/locator/waitfor.md | 2 +- .../javascript-api/k6-experimental/browser/newpage.md | 2 +- .../javascript-api/k6-experimental/browser/page/check.md | 2 +- .../javascript-api/k6-experimental/browser/page/click.md | 2 +- .../k6-experimental/browser/page/dblclick.md | 2 +- .../k6-experimental/browser/page/dispatchevent.md | 2 +- .../javascript-api/k6-experimental/browser/page/dollar.md | 2 +- .../k6-experimental/browser/page/doubledollar.md | 2 +- .../javascript-api/k6-experimental/browser/page/fill.md | 2 +- .../javascript-api/k6-experimental/browser/page/focus.md | 2 +- .../k6-experimental/browser/page/getattribute.md | 2 +- .../javascript-api/k6-experimental/browser/page/goto.md | 2 +- .../javascript-api/k6-experimental/browser/page/hover.md | 2 +- .../k6-experimental/browser/page/innerhtml.md | 2 +- .../k6-experimental/browser/page/innertext.md | 2 +- .../k6-experimental/browser/page/inputvalue.md | 2 +- .../k6-experimental/browser/page/ischecked.md | 2 +- .../k6-experimental/browser/page/isclosed.md | 2 +- .../k6-experimental/browser/page/isdisabled.md | 2 +- .../k6-experimental/browser/page/iseditable.md | 2 +- .../k6-experimental/browser/page/isenabled.md | 2 +- .../k6-experimental/browser/page/ishidden.md | 2 +- .../k6-experimental/browser/page/isvisible.md | 2 +- .../javascript-api/k6-experimental/browser/page/on.md | 2 +- .../javascript-api/k6-experimental/browser/page/press.md | 2 +- .../javascript-api/k6-experimental/browser/page/reload.md | 2 +- .../k6-experimental/browser/page/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/page/tap.md | 2 +- .../k6-experimental/browser/page/textcontent.md | 2 +- .../javascript-api/k6-experimental/browser/page/type.md | 2 +- .../k6-experimental/browser/page/uncheck.md | 2 +- .../k6-experimental/browser/page/waitforloadstate.md | 4 ++-- .../k6-experimental/browser/page/waitfornavigation.md | 2 +- docs/sources/v0.47.x/javascript-api/k6-http/batch.md | 2 +- docs/sources/v0.47.x/javascript-api/k6/group.md | 2 +- docs/sources/v0.47.x/misc/fine-tuning-os.md | 2 +- .../v0.47.x/results-output/real-time/amazon-cloudwatch.md | 2 +- docs/sources/v0.47.x/results-output/real-time/cloud.md | 2 +- docs/sources/v0.47.x/results-output/real-time/datadog.md | 2 +- .../sources/v0.47.x/results-output/real-time/dynatrace.md | 2 +- .../v0.47.x/results-output/real-time/elasticsearch.md | 2 +- .../results-output/real-time/grafana-cloud-prometheus.md | 2 +- docs/sources/v0.47.x/results-output/real-time/netdata.md | 2 +- docs/sources/v0.47.x/results-output/real-time/newrelic.md | 2 +- docs/sources/v0.47.x/results-output/real-time/statsd.md | 2 +- docs/sources/v0.47.x/shared/blocking-aws-blockquote.md | 2 +- docs/sources/v0.47.x/shared/browser-module-wip.md | 2 +- docs/sources/v0.47.x/shared/experimental-grpc-module.md | 2 +- docs/sources/v0.47.x/shared/experimental-module.md | 2 +- .../v0.47.x/testing-guides/running-distributed-tests.md | 8 ++++---- docs/sources/v0.47.x/using-k6-browser/metrics.md | 2 +- docs/sources/v0.47.x/using-k6/k6-options/reference.md | 4 ++-- .../scenarios/concepts/arrival-rate-vu-allocation.md | 4 ++-- docs/sources/v0.47.x/using-k6/thresholds.md | 4 ++-- .../v0.48.x/extensions/build-k6-binary-using-docker.md | 2 +- .../v0.48.x/extensions/create/javascript-extensions.md | 2 +- .../extensions/explanations/extension-graduation.md | 2 +- docs/sources/v0.48.x/javascript-api/jslib/httpx/_index.md | 2 +- .../sources/v0.48.x/javascript-api/k6-data/sharedarray.md | 2 +- .../k6-experimental/browser/browsercontext/pages.md | 2 +- .../browser/browsercontext/setgeolocation.md | 2 +- .../javascript-api/k6-experimental/browser/isconnected.md | 2 +- .../k6-experimental/browser/locator/check.md | 2 +- .../k6-experimental/browser/locator/click.md | 2 +- .../k6-experimental/browser/locator/dblclick.md | 2 +- .../k6-experimental/browser/locator/hover.md | 2 +- .../k6-experimental/browser/locator/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/locator/tap.md | 2 +- .../k6-experimental/browser/locator/uncheck.md | 2 +- .../k6-experimental/browser/locator/waitfor.md | 2 +- .../javascript-api/k6-experimental/browser/newpage.md | 2 +- .../javascript-api/k6-experimental/browser/page/check.md | 2 +- .../javascript-api/k6-experimental/browser/page/click.md | 2 +- .../k6-experimental/browser/page/dblclick.md | 2 +- .../k6-experimental/browser/page/dispatchevent.md | 2 +- .../javascript-api/k6-experimental/browser/page/dollar.md | 2 +- .../k6-experimental/browser/page/doubledollar.md | 2 +- .../javascript-api/k6-experimental/browser/page/fill.md | 2 +- .../javascript-api/k6-experimental/browser/page/focus.md | 2 +- .../k6-experimental/browser/page/getattribute.md | 2 +- .../javascript-api/k6-experimental/browser/page/goto.md | 2 +- .../javascript-api/k6-experimental/browser/page/hover.md | 2 +- .../k6-experimental/browser/page/innerhtml.md | 2 +- .../k6-experimental/browser/page/innertext.md | 2 +- .../k6-experimental/browser/page/inputvalue.md | 2 +- .../k6-experimental/browser/page/ischecked.md | 2 +- .../k6-experimental/browser/page/isclosed.md | 2 +- .../k6-experimental/browser/page/isdisabled.md | 2 +- .../k6-experimental/browser/page/iseditable.md | 2 +- .../k6-experimental/browser/page/isenabled.md | 2 +- .../k6-experimental/browser/page/ishidden.md | 2 +- .../k6-experimental/browser/page/isvisible.md | 2 +- .../javascript-api/k6-experimental/browser/page/on.md | 2 +- .../javascript-api/k6-experimental/browser/page/press.md | 2 +- .../javascript-api/k6-experimental/browser/page/reload.md | 2 +- .../k6-experimental/browser/page/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/page/tap.md | 2 +- .../k6-experimental/browser/page/textcontent.md | 2 +- .../javascript-api/k6-experimental/browser/page/type.md | 2 +- .../k6-experimental/browser/page/uncheck.md | 2 +- .../k6-experimental/browser/page/waitforloadstate.md | 4 ++-- .../k6-experimental/browser/page/waitfornavigation.md | 2 +- docs/sources/v0.48.x/javascript-api/k6-http/batch.md | 2 +- docs/sources/v0.48.x/javascript-api/k6/group.md | 2 +- docs/sources/v0.48.x/misc/fine-tuning-os.md | 2 +- .../v0.48.x/results-output/real-time/amazon-cloudwatch.md | 2 +- docs/sources/v0.48.x/results-output/real-time/cloud.md | 2 +- docs/sources/v0.48.x/results-output/real-time/datadog.md | 2 +- .../sources/v0.48.x/results-output/real-time/dynatrace.md | 2 +- .../v0.48.x/results-output/real-time/elasticsearch.md | 2 +- .../results-output/real-time/grafana-cloud-prometheus.md | 2 +- docs/sources/v0.48.x/results-output/real-time/netdata.md | 2 +- docs/sources/v0.48.x/results-output/real-time/newrelic.md | 2 +- docs/sources/v0.48.x/results-output/real-time/statsd.md | 2 +- docs/sources/v0.48.x/shared/blocking-aws-blockquote.md | 2 +- docs/sources/v0.48.x/shared/browser-module-wip.md | 2 +- docs/sources/v0.48.x/shared/experimental-grpc-module.md | 2 +- docs/sources/v0.48.x/shared/experimental-module.md | 2 +- .../v0.48.x/testing-guides/running-distributed-tests.md | 8 ++++---- docs/sources/v0.48.x/using-k6-browser/metrics.md | 2 +- docs/sources/v0.48.x/using-k6/k6-options/reference.md | 4 ++-- .../scenarios/concepts/arrival-rate-vu-allocation.md | 4 ++-- docs/sources/v0.48.x/using-k6/thresholds.md | 4 ++-- .../v0.49.x/extensions/build-k6-binary-using-docker.md | 2 +- .../v0.49.x/extensions/create/javascript-extensions.md | 2 +- .../extensions/explanations/extension-graduation.md | 2 +- docs/sources/v0.49.x/javascript-api/jslib/httpx/_index.md | 2 +- .../sources/v0.49.x/javascript-api/k6-data/sharedarray.md | 2 +- .../k6-experimental/browser/browsercontext/pages.md | 2 +- .../browser/browsercontext/setgeolocation.md | 2 +- .../k6-experimental/browser/frame/dblclick.md | 2 +- .../k6-experimental/browser/frame/ishidden.md | 2 +- .../k6-experimental/browser/frame/isvisible.md | 2 +- .../javascript-api/k6-experimental/browser/isconnected.md | 2 +- .../k6-experimental/browser/locator/check.md | 2 +- .../k6-experimental/browser/locator/click.md | 2 +- .../k6-experimental/browser/locator/dblclick.md | 2 +- .../k6-experimental/browser/locator/hover.md | 2 +- .../k6-experimental/browser/locator/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/locator/tap.md | 2 +- .../k6-experimental/browser/locator/uncheck.md | 2 +- .../k6-experimental/browser/locator/waitfor.md | 2 +- .../javascript-api/k6-experimental/browser/newpage.md | 2 +- .../javascript-api/k6-experimental/browser/page/check.md | 2 +- .../javascript-api/k6-experimental/browser/page/click.md | 2 +- .../k6-experimental/browser/page/dblclick.md | 2 +- .../k6-experimental/browser/page/dispatchevent.md | 2 +- .../javascript-api/k6-experimental/browser/page/dollar.md | 2 +- .../k6-experimental/browser/page/doubledollar.md | 2 +- .../javascript-api/k6-experimental/browser/page/fill.md | 2 +- .../javascript-api/k6-experimental/browser/page/focus.md | 2 +- .../k6-experimental/browser/page/getattribute.md | 2 +- .../javascript-api/k6-experimental/browser/page/goto.md | 2 +- .../javascript-api/k6-experimental/browser/page/hover.md | 2 +- .../k6-experimental/browser/page/innerhtml.md | 2 +- .../k6-experimental/browser/page/innertext.md | 2 +- .../k6-experimental/browser/page/inputvalue.md | 2 +- .../k6-experimental/browser/page/ischecked.md | 2 +- .../k6-experimental/browser/page/isclosed.md | 2 +- .../k6-experimental/browser/page/isdisabled.md | 2 +- .../k6-experimental/browser/page/iseditable.md | 2 +- .../k6-experimental/browser/page/isenabled.md | 2 +- .../k6-experimental/browser/page/ishidden.md | 2 +- .../k6-experimental/browser/page/isvisible.md | 2 +- .../javascript-api/k6-experimental/browser/page/on.md | 2 +- .../javascript-api/k6-experimental/browser/page/press.md | 2 +- .../javascript-api/k6-experimental/browser/page/reload.md | 2 +- .../k6-experimental/browser/page/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/page/tap.md | 2 +- .../k6-experimental/browser/page/textcontent.md | 2 +- .../javascript-api/k6-experimental/browser/page/type.md | 2 +- .../k6-experimental/browser/page/uncheck.md | 2 +- .../k6-experimental/browser/page/waitforloadstate.md | 4 ++-- .../k6-experimental/browser/page/waitfornavigation.md | 2 +- docs/sources/v0.49.x/javascript-api/k6-http/batch.md | 2 +- docs/sources/v0.49.x/javascript-api/k6/group.md | 2 +- docs/sources/v0.49.x/misc/fine-tuning-os.md | 2 +- .../v0.49.x/results-output/real-time/amazon-cloudwatch.md | 2 +- docs/sources/v0.49.x/results-output/real-time/cloud.md | 2 +- docs/sources/v0.49.x/results-output/real-time/datadog.md | 2 +- .../sources/v0.49.x/results-output/real-time/dynatrace.md | 2 +- .../v0.49.x/results-output/real-time/elasticsearch.md | 2 +- .../results-output/real-time/grafana-cloud-prometheus.md | 2 +- docs/sources/v0.49.x/results-output/real-time/netdata.md | 2 +- docs/sources/v0.49.x/results-output/real-time/newrelic.md | 2 +- docs/sources/v0.49.x/results-output/real-time/statsd.md | 2 +- docs/sources/v0.49.x/shared/blocking-aws-blockquote.md | 2 +- docs/sources/v0.49.x/shared/browser-module-wip.md | 2 +- docs/sources/v0.49.x/shared/experimental-grpc-module.md | 2 +- docs/sources/v0.49.x/shared/experimental-module.md | 2 +- .../v0.49.x/testing-guides/running-distributed-tests.md | 8 ++++---- docs/sources/v0.49.x/using-k6-browser/metrics.md | 2 +- docs/sources/v0.49.x/using-k6/k6-options/reference.md | 4 ++-- .../scenarios/concepts/arrival-rate-vu-allocation.md | 4 ++-- docs/sources/v0.49.x/using-k6/thresholds.md | 4 ++-- .../v0.50.x/extensions/build-k6-binary-using-docker.md | 2 +- .../v0.50.x/extensions/create/javascript-extensions.md | 2 +- .../extensions/explanations/extension-graduation.md | 2 +- docs/sources/v0.50.x/javascript-api/jslib/httpx/_index.md | 2 +- .../sources/v0.50.x/javascript-api/k6-data/sharedarray.md | 2 +- .../k6-experimental/browser/browsercontext/pages.md | 2 +- .../browser/browsercontext/setgeolocation.md | 2 +- .../k6-experimental/browser/frame/dblclick.md | 2 +- .../k6-experimental/browser/frame/ishidden.md | 2 +- .../k6-experimental/browser/frame/isvisible.md | 2 +- .../javascript-api/k6-experimental/browser/isconnected.md | 2 +- .../k6-experimental/browser/locator/check.md | 2 +- .../k6-experimental/browser/locator/click.md | 2 +- .../k6-experimental/browser/locator/dblclick.md | 2 +- .../k6-experimental/browser/locator/hover.md | 2 +- .../k6-experimental/browser/locator/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/locator/tap.md | 2 +- .../k6-experimental/browser/locator/uncheck.md | 2 +- .../k6-experimental/browser/locator/waitfor.md | 2 +- .../javascript-api/k6-experimental/browser/newpage.md | 2 +- .../javascript-api/k6-experimental/browser/page/check.md | 2 +- .../javascript-api/k6-experimental/browser/page/click.md | 2 +- .../k6-experimental/browser/page/dblclick.md | 2 +- .../k6-experimental/browser/page/dispatchevent.md | 2 +- .../javascript-api/k6-experimental/browser/page/dollar.md | 2 +- .../k6-experimental/browser/page/doubledollar.md | 2 +- .../javascript-api/k6-experimental/browser/page/fill.md | 2 +- .../javascript-api/k6-experimental/browser/page/focus.md | 2 +- .../k6-experimental/browser/page/getattribute.md | 2 +- .../javascript-api/k6-experimental/browser/page/goto.md | 2 +- .../javascript-api/k6-experimental/browser/page/hover.md | 2 +- .../k6-experimental/browser/page/innerhtml.md | 2 +- .../k6-experimental/browser/page/innertext.md | 2 +- .../k6-experimental/browser/page/inputvalue.md | 2 +- .../k6-experimental/browser/page/ischecked.md | 2 +- .../k6-experimental/browser/page/isclosed.md | 2 +- .../k6-experimental/browser/page/isdisabled.md | 2 +- .../k6-experimental/browser/page/iseditable.md | 2 +- .../k6-experimental/browser/page/isenabled.md | 2 +- .../k6-experimental/browser/page/ishidden.md | 2 +- .../k6-experimental/browser/page/isvisible.md | 2 +- .../javascript-api/k6-experimental/browser/page/on.md | 2 +- .../javascript-api/k6-experimental/browser/page/press.md | 2 +- .../javascript-api/k6-experimental/browser/page/reload.md | 2 +- .../k6-experimental/browser/page/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/page/tap.md | 2 +- .../k6-experimental/browser/page/textcontent.md | 2 +- .../javascript-api/k6-experimental/browser/page/type.md | 2 +- .../k6-experimental/browser/page/uncheck.md | 2 +- .../k6-experimental/browser/page/waitforloadstate.md | 4 ++-- .../k6-experimental/browser/page/waitfornavigation.md | 2 +- docs/sources/v0.50.x/javascript-api/k6-http/batch.md | 2 +- docs/sources/v0.50.x/javascript-api/k6/group.md | 2 +- .../v0.50.x/results-output/real-time/amazon-cloudwatch.md | 2 +- docs/sources/v0.50.x/results-output/real-time/cloud.md | 2 +- docs/sources/v0.50.x/results-output/real-time/datadog.md | 2 +- .../sources/v0.50.x/results-output/real-time/dynatrace.md | 2 +- .../v0.50.x/results-output/real-time/elasticsearch.md | 2 +- .../results-output/real-time/grafana-cloud-prometheus.md | 2 +- docs/sources/v0.50.x/results-output/real-time/netdata.md | 2 +- docs/sources/v0.50.x/results-output/real-time/newrelic.md | 2 +- docs/sources/v0.50.x/results-output/real-time/statsd.md | 2 +- docs/sources/v0.50.x/set-up/fine-tune-os.md | 2 +- docs/sources/v0.50.x/shared/blocking-aws-blockquote.md | 2 +- docs/sources/v0.50.x/shared/browser-module-wip.md | 2 +- docs/sources/v0.50.x/shared/experimental-grpc-module.md | 2 +- docs/sources/v0.50.x/shared/experimental-module.md | 2 +- docs/sources/v0.50.x/shared/experimental-timers-module.md | 2 +- .../v0.50.x/testing-guides/running-distributed-tests.md | 8 ++++---- docs/sources/v0.50.x/using-k6-browser/metrics.md | 2 +- docs/sources/v0.50.x/using-k6/k6-options/reference.md | 4 ++-- .../scenarios/concepts/arrival-rate-vu-allocation.md | 4 ++-- docs/sources/v0.50.x/using-k6/thresholds.md | 4 ++-- .../v0.51.x/extensions/build-k6-binary-using-docker.md | 2 +- .../v0.51.x/extensions/create/javascript-extensions.md | 2 +- .../extensions/explanations/extension-graduation.md | 2 +- docs/sources/v0.51.x/javascript-api/jslib/httpx/_index.md | 2 +- .../sources/v0.51.x/javascript-api/k6-data/sharedarray.md | 2 +- .../k6-experimental/browser/browsercontext/pages.md | 2 +- .../browser/browsercontext/setgeolocation.md | 2 +- .../k6-experimental/browser/frame/dblclick.md | 2 +- .../k6-experimental/browser/frame/ishidden.md | 2 +- .../k6-experimental/browser/frame/isvisible.md | 2 +- .../javascript-api/k6-experimental/browser/isconnected.md | 2 +- .../k6-experimental/browser/locator/check.md | 2 +- .../k6-experimental/browser/locator/click.md | 2 +- .../k6-experimental/browser/locator/dblclick.md | 2 +- .../k6-experimental/browser/locator/hover.md | 2 +- .../k6-experimental/browser/locator/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/locator/tap.md | 2 +- .../k6-experimental/browser/locator/uncheck.md | 2 +- .../k6-experimental/browser/locator/waitfor.md | 2 +- .../javascript-api/k6-experimental/browser/newpage.md | 2 +- .../javascript-api/k6-experimental/browser/page/check.md | 2 +- .../javascript-api/k6-experimental/browser/page/click.md | 2 +- .../k6-experimental/browser/page/dblclick.md | 2 +- .../k6-experimental/browser/page/dispatchevent.md | 2 +- .../javascript-api/k6-experimental/browser/page/dollar.md | 2 +- .../k6-experimental/browser/page/doubledollar.md | 2 +- .../javascript-api/k6-experimental/browser/page/fill.md | 2 +- .../javascript-api/k6-experimental/browser/page/focus.md | 2 +- .../k6-experimental/browser/page/getattribute.md | 2 +- .../javascript-api/k6-experimental/browser/page/goto.md | 2 +- .../javascript-api/k6-experimental/browser/page/hover.md | 2 +- .../k6-experimental/browser/page/innerhtml.md | 2 +- .../k6-experimental/browser/page/innertext.md | 2 +- .../k6-experimental/browser/page/inputvalue.md | 2 +- .../k6-experimental/browser/page/ischecked.md | 2 +- .../k6-experimental/browser/page/isclosed.md | 2 +- .../k6-experimental/browser/page/isdisabled.md | 2 +- .../k6-experimental/browser/page/iseditable.md | 2 +- .../k6-experimental/browser/page/isenabled.md | 2 +- .../k6-experimental/browser/page/ishidden.md | 2 +- .../k6-experimental/browser/page/isvisible.md | 2 +- .../javascript-api/k6-experimental/browser/page/on.md | 2 +- .../javascript-api/k6-experimental/browser/page/press.md | 2 +- .../javascript-api/k6-experimental/browser/page/reload.md | 2 +- .../k6-experimental/browser/page/selectoption.md | 2 +- .../javascript-api/k6-experimental/browser/page/tap.md | 2 +- .../k6-experimental/browser/page/textcontent.md | 2 +- .../javascript-api/k6-experimental/browser/page/type.md | 2 +- .../k6-experimental/browser/page/uncheck.md | 2 +- .../k6-experimental/browser/page/waitforloadstate.md | 4 ++-- .../k6-experimental/browser/page/waitfornavigation.md | 2 +- docs/sources/v0.51.x/javascript-api/k6-http/batch.md | 2 +- docs/sources/v0.51.x/javascript-api/k6/group.md | 2 +- .../v0.51.x/results-output/real-time/amazon-cloudwatch.md | 2 +- docs/sources/v0.51.x/results-output/real-time/cloud.md | 2 +- docs/sources/v0.51.x/results-output/real-time/datadog.md | 2 +- .../sources/v0.51.x/results-output/real-time/dynatrace.md | 2 +- .../v0.51.x/results-output/real-time/elasticsearch.md | 2 +- .../results-output/real-time/grafana-cloud-prometheus.md | 2 +- docs/sources/v0.51.x/results-output/real-time/netdata.md | 2 +- docs/sources/v0.51.x/results-output/real-time/newrelic.md | 2 +- docs/sources/v0.51.x/results-output/real-time/statsd.md | 2 +- docs/sources/v0.51.x/set-up/fine-tune-os.md | 2 +- docs/sources/v0.51.x/shared/blocking-aws-blockquote.md | 2 +- docs/sources/v0.51.x/shared/browser-module-wip.md | 2 +- docs/sources/v0.51.x/shared/experimental-grpc-module.md | 2 +- docs/sources/v0.51.x/shared/experimental-module.md | 2 +- docs/sources/v0.51.x/shared/experimental-timers-module.md | 2 +- .../v0.51.x/testing-guides/running-distributed-tests.md | 8 ++++---- docs/sources/v0.51.x/using-k6-browser/metrics.md | 2 +- docs/sources/v0.51.x/using-k6/k6-options/reference.md | 4 ++-- .../scenarios/concepts/arrival-rate-vu-allocation.md | 4 ++-- docs/sources/v0.51.x/using-k6/thresholds.md | 4 ++-- .../v0.52.x/extensions/build-k6-binary-using-docker.md | 2 +- .../v0.52.x/extensions/create/javascript-extensions.md | 2 +- .../extensions/explanations/extension-graduation.md | 2 +- docs/sources/v0.52.x/javascript-api/jslib/httpx/_index.md | 2 +- .../javascript-api/k6-browser/browsercontext/pages.md | 2 +- .../k6-browser/browsercontext/setgeolocation.md | 2 +- .../javascript-api/k6-browser/elementhandle/check.md | 2 +- .../javascript-api/k6-browser/elementhandle/click.md | 2 +- .../javascript-api/k6-browser/elementhandle/dblclick.md | 2 +- .../k6-browser/elementhandle/dispatchevent.md | 2 +- .../javascript-api/k6-browser/elementhandle/fill.md | 2 +- .../javascript-api/k6-browser/elementhandle/focus.md | 2 +- .../k6-browser/elementhandle/getattribute.md | 2 +- .../javascript-api/k6-browser/elementhandle/hover.md | 2 +- .../javascript-api/k6-browser/elementhandle/innerhtml.md | 2 +- .../javascript-api/k6-browser/elementhandle/innertext.md | 2 +- .../javascript-api/k6-browser/elementhandle/ischecked.md | 2 +- .../javascript-api/k6-browser/elementhandle/isdisabled.md | 2 +- .../javascript-api/k6-browser/elementhandle/iseditable.md | 2 +- .../javascript-api/k6-browser/elementhandle/isenabled.md | 2 +- .../javascript-api/k6-browser/elementhandle/ishidden.md | 2 +- .../javascript-api/k6-browser/elementhandle/isvisible.md | 2 +- .../javascript-api/k6-browser/elementhandle/press.md | 2 +- .../javascript-api/k6-browser/elementhandle/query.md | 2 +- .../k6-browser/elementhandle/selectoption.md | 2 +- .../javascript-api/k6-browser/elementhandle/tap.md | 2 +- .../k6-browser/elementhandle/textcontent.md | 2 +- .../javascript-api/k6-browser/elementhandle/type.md | 2 +- .../javascript-api/k6-browser/elementhandle/uncheck.md | 2 +- .../k6-browser/elementhandle/waitforselector.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/check.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/click.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/dblclick.md | 2 +- .../javascript-api/k6-browser/frame/dispatchevent.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/dollar.md | 2 +- .../javascript-api/k6-browser/frame/doubledollar.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/fill.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/focus.md | 2 +- .../javascript-api/k6-browser/frame/getattribute.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/goto.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/hover.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/innerhtml.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/innertext.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/inputvalue.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/ischecked.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/isdisabled.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/iseditable.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/isenabled.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/ishidden.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/isvisible.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/press.md | 2 +- .../javascript-api/k6-browser/frame/selectoption.md | 2 +- .../javascript-api/k6-browser/frame/textcontent.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/type.md | 2 +- .../v0.52.x/javascript-api/k6-browser/frame/uncheck.md | 2 +- .../javascript-api/k6-browser/frame/waitforloadstate.md | 4 ++-- .../javascript-api/k6-browser/frame/waitfornavigation.md | 2 +- .../v0.52.x/javascript-api/k6-browser/isconnected.md | 2 +- .../v0.52.x/javascript-api/k6-browser/locator/check.md | 2 +- .../v0.52.x/javascript-api/k6-browser/locator/click.md | 2 +- .../v0.52.x/javascript-api/k6-browser/locator/dblclick.md | 2 +- .../v0.52.x/javascript-api/k6-browser/locator/hover.md | 2 +- .../javascript-api/k6-browser/locator/selectoption.md | 2 +- .../v0.52.x/javascript-api/k6-browser/locator/tap.md | 2 +- .../v0.52.x/javascript-api/k6-browser/locator/uncheck.md | 2 +- .../v0.52.x/javascript-api/k6-browser/locator/waitfor.md | 2 +- docs/sources/v0.52.x/javascript-api/k6-browser/newpage.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/check.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/click.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/dblclick.md | 2 +- .../javascript-api/k6-browser/page/dispatchevent.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/dollar.md | 2 +- .../javascript-api/k6-browser/page/doubledollar.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/fill.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/focus.md | 2 +- .../javascript-api/k6-browser/page/getattribute.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/goto.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/hover.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/innerhtml.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/innertext.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/inputvalue.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/ischecked.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/isclosed.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/isdisabled.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/iseditable.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/isenabled.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/ishidden.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/isvisible.md | 2 +- docs/sources/v0.52.x/javascript-api/k6-browser/page/on.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/press.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/reload.md | 2 +- .../javascript-api/k6-browser/page/selectoption.md | 2 +- .../sources/v0.52.x/javascript-api/k6-browser/page/tap.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/textcontent.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/type.md | 2 +- .../v0.52.x/javascript-api/k6-browser/page/uncheck.md | 2 +- .../javascript-api/k6-browser/page/waitforloadstate.md | 4 ++-- .../javascript-api/k6-browser/page/waitfornavigation.md | 2 +- .../javascript-api/k6-browser/request/allheaders.md | 2 +- .../javascript-api/k6-browser/response/allheaders.md | 2 +- .../sources/v0.52.x/javascript-api/k6-data/sharedarray.md | 2 +- docs/sources/v0.52.x/javascript-api/k6-http/batch.md | 2 +- docs/sources/v0.52.x/javascript-api/k6/group.md | 2 +- .../v0.52.x/results-output/real-time/amazon-cloudwatch.md | 2 +- docs/sources/v0.52.x/results-output/real-time/cloud.md | 2 +- docs/sources/v0.52.x/results-output/real-time/datadog.md | 2 +- .../sources/v0.52.x/results-output/real-time/dynatrace.md | 2 +- .../v0.52.x/results-output/real-time/elasticsearch.md | 2 +- .../results-output/real-time/grafana-cloud-prometheus.md | 2 +- docs/sources/v0.52.x/results-output/real-time/netdata.md | 2 +- docs/sources/v0.52.x/results-output/real-time/newrelic.md | 2 +- docs/sources/v0.52.x/results-output/real-time/statsd.md | 2 +- docs/sources/v0.52.x/set-up/fine-tune-os.md | 2 +- docs/sources/v0.52.x/shared/blocking-aws-blockquote.md | 2 +- docs/sources/v0.52.x/shared/browser-module-wip.md | 2 +- docs/sources/v0.52.x/shared/experimental-module.md | 2 +- docs/sources/v0.52.x/shared/experimental-timers-module.md | 2 +- .../sources/v0.52.x/shared/experimental-tracing-module.md | 2 +- .../v0.52.x/testing-guides/running-distributed-tests.md | 8 ++++---- docs/sources/v0.52.x/using-k6-browser/metrics.md | 2 +- docs/sources/v0.52.x/using-k6/k6-options/reference.md | 4 ++-- .../scenarios/concepts/arrival-rate-vu-allocation.md | 4 ++-- docs/sources/v0.52.x/using-k6/thresholds.md | 4 ++-- 600 files changed, 651 insertions(+), 651 deletions(-) diff --git a/docs/sources/next/extensions/build-k6-binary-using-docker.md b/docs/sources/next/extensions/build-k6-binary-using-docker.md index 11b755953..10fd09d0d 100644 --- a/docs/sources/next/extensions/build-k6-binary-using-docker.md +++ b/docs/sources/next/extensions/build-k6-binary-using-docker.md @@ -122,7 +122,7 @@ Flags: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The use of `--replace` should be considered an advanced feature to be avoided unless required. diff --git a/docs/sources/next/extensions/create/javascript-extensions.md b/docs/sources/next/extensions/create/javascript-extensions.md index af23a5da1..bff3ba2e7 100644 --- a/docs/sources/next/extensions/create/javascript-extensions.md +++ b/docs/sources/next/extensions/create/javascript-extensions.md @@ -176,7 +176,7 @@ to access the [`modules.VU`](https://pkg.go.dev/go.k6.io/k6/js/modules#VU) to in Additionally, there should be a root module implementation of the [`modules.Module`](https://pkg.go.dev/go.k6.io/k6/js/modules#Module) interface to serve as a factory of `Compare` instances for each VU. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The significance depends on the size of your module. diff --git a/docs/sources/next/extensions/explanations/extension-graduation.md b/docs/sources/next/extensions/explanations/extension-graduation.md index 85e51b09b..1a8e4063e 100644 --- a/docs/sources/next/extensions/explanations/extension-graduation.md +++ b/docs/sources/next/extensions/explanations/extension-graduation.md @@ -39,7 +39,7 @@ There should be a reasonably high degree of quality and stability at this point. This phase makes the feature accessible to more users, which in turn gives k6 developers more chances to receive feedback. The key will be to achieve a balance between usability and stability. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Not all experimental modules will progress to become a core module! The k6 team reserves the right to discontinue and remove any experimental module if is no longer deemed desirable. diff --git a/docs/sources/next/javascript-api/jslib/httpx/_index.md b/docs/sources/next/javascript-api/jslib/httpx/_index.md index a87ed76b3..92863cf21 100644 --- a/docs/sources/next/javascript-api/jslib/httpx/_index.md +++ b/docs/sources/next/javascript-api/jslib/httpx/_index.md @@ -19,7 +19,7 @@ httpx module integrates well with the expect library. The source code is [on GitHub](https://github.com/k6io/k6-jslib-httpx). Please request features and report bugs through [GitHub issues](https://github.com/k6io/k6-jslib-httpx/issues). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This library is in active development.** diff --git a/docs/sources/next/javascript-api/k6-browser/browsercontext/pages.md b/docs/sources/next/javascript-api/k6-browser/browsercontext/pages.md index 2414691f9..9f3e36d4d 100644 --- a/docs/sources/next/javascript-api/k6-browser/browsercontext/pages.md +++ b/docs/sources/next/javascript-api/k6-browser/browsercontext/pages.md @@ -5,7 +5,7 @@ description: 'Returns a list of pages inside this BrowserContext.' # pages() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#444](https://github.com/grafana/xk6-browser/issues/444). diff --git a/docs/sources/next/javascript-api/k6-browser/browsercontext/setgeolocation.md b/docs/sources/next/javascript-api/k6-browser/browsercontext/setgeolocation.md index d2df9db78..0902055af 100644 --- a/docs/sources/next/javascript-api/k6-browser/browsercontext/setgeolocation.md +++ b/docs/sources/next/javascript-api/k6-browser/browsercontext/setgeolocation.md @@ -5,7 +5,7 @@ description: "Sets the BrowserContext's geolocation." # setGeolocation(geolocation) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#435](https://github.com/grafana/xk6-browser/issues/435). diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/check.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/check.md index 626c01d13..2015c2b94 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/check.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/check.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.check method' # check([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/check/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/click.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/click.md index 5b9cb624c..95f8e8aa3 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/click.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/click.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.click method' # click([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/click/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/dblclick.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/dblclick.md index 07983accf..c563286d4 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/dblclick.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.dblclick method' # dblclick([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dblclick/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/dispatchevent.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/dispatchevent.md index 4c191d433..77858c068 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/dispatchevent.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.dispatchEvent method' # dispatchEvent(type, eventInit) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dispatchevent/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/fill.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/fill.md index 00377768f..c64795429 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/fill.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.fill method' # fill(value, [options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.fill(value, [options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/fill/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/focus.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/focus.md index 5f1e8da2b..4f1cec19c 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/focus.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.focus method' # focus() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/focus/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/getattribute.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/getattribute.md index e1dc766ce..b20ecf381 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/getattribute.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.getAttribute method' # getAttribute(name) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.getAttribute(name[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/getattribute/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/hover.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/hover.md index 2549037dc..a91bb482c 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/hover.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.hover method' # hover([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/hover/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/innerhtml.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/innerhtml.md index d732c9318..0c4734fd3 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/innerhtml.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.innerHTML method' # innerHTML() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innerhtml/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/innertext.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/innertext.md index fd28fc943..339bac309 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/innertext.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.innerText method' # innerText() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innertext/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/ischecked.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/ischecked.md index 4a33e89e6..75e4ccaa3 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/ischecked.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isChecked method' # isChecked() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ischecked/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/isdisabled.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/isdisabled.md index c4bf0a30f..257a0608f 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/isdisabled.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isDisabled method' # isDisabled() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isdisabled/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/iseditable.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/iseditable.md index 32cb3ce5b..bf8030abb 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/iseditable.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isEditable method' # isEditable() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/iseditable/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/isenabled.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/isenabled.md index d8dd6ed57..4f1c0ac6d 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/isenabled.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isEnabled method' # isEnabled() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isenabled/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/ishidden.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/ishidden.md index cda8ad0ee..6d7d1e8dd 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/ishidden.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isHidden method' # isHidden() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isHidden()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ishidden/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/isvisible.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/isvisible.md index ecfc22e91..7c663cee7 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/isvisible.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isVisible method' # isVisible() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isVisible()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isvisible/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/press.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/press.md index 186dc1721..d92596645 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/press.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/press.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.press method' # press(key, [options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.press(key[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/press/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/query.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/query.md index c2ac95724..dfe18d3ee 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/query.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/query.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.$ method' # $(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`page.locator(selector[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/selectoption.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/selectoption.md index 546e5242e..b4fe42747 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/selectoption.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.selectOption method' # selectOption(values, [options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.selectOption(values[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/selectoption/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/tap.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/tap.md index 3e5d1dfd5..9f4205af3 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/tap.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: elementhandle.tap method' # tap(options) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/tap/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/textcontent.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/textcontent.md index 5814ce426..9a79806b9 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/textcontent.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.textContent method' # textContent() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/textcontent/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/type.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/type.md index 6c141d7ba..d383977b0 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/type.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/type.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.type method' # type(text, [options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.type([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/type/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/uncheck.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/uncheck.md index b51e33ec1..9aa44b76b 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/uncheck.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.uncheck method' # uncheck([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/uncheck/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/elementhandle/waitforselector.md b/docs/sources/next/javascript-api/k6-browser/elementhandle/waitforselector.md index 11a4af29a..7506feabb 100644 --- a/docs/sources/next/javascript-api/k6-browser/elementhandle/waitforselector.md +++ b/docs/sources/next/javascript-api/k6-browser/elementhandle/waitforselector.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.waitForSelector method' # waitForSelector(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.waitFor([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/waitfor/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/check.md b/docs/sources/next/javascript-api/k6-browser/frame/check.md index e6b785174..b6dd385b2 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/check.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/check.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/check/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/click.md b/docs/sources/next/javascript-api/k6-browser/frame/click.md index 9cbac2059..e687ff26d 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/click.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/click.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/click/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/dblclick.md b/docs/sources/next/javascript-api/k6-browser/frame/dblclick.md index e02a2fd1e..3f6fbc594 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/dblclick.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dblclick/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/dispatchevent.md b/docs/sources/next/javascript-api/k6-browser/frame/dispatchevent.md index bf2f04762..1de3b8a89 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/dispatchevent.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.dispatchEvent(selector, type, eventInit[, op # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dispatchevent/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/dollar.md b/docs/sources/next/javascript-api/k6-browser/frame/dollar.md index 363ae7fe6..2a3692c37 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/dollar.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: frame.$(selector) method' # $(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`frame.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-browser/frame/locator/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/doubledollar.md b/docs/sources/next/javascript-api/k6-browser/frame/doubledollar.md index 05d303451..dc5710b9c 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/doubledollar.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: frame.$$(selector) method' # $$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`frame.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-browser/frame/locator/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/fill.md b/docs/sources/next/javascript-api/k6-browser/frame/fill.md index 590007338..f3447496a 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/fill.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/fill/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/focus.md b/docs/sources/next/javascript-api/k6-browser/frame/focus.md index 0247a1968..a9f656a01 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/focus.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/focus/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/getattribute.md b/docs/sources/next/javascript-api/k6-browser/frame/getattribute.md index 7c6bdc858..c302013f9 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/getattribute.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.getAttribute(selector, name[, options]) meth # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/getattribute/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/goto.md b/docs/sources/next/javascript-api/k6-browser/frame/goto.md index ecfbd7a2f..f8a12dc62 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/goto.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/hover.md b/docs/sources/next/javascript-api/k6-browser/frame/hover.md index 6fe731cc5..1bec70ec9 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/hover.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/hover/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/innerhtml.md b/docs/sources/next/javascript-api/k6-browser/frame/innerhtml.md index ecfa493fa..5391d4309 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/innerhtml.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innerhtml/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/innertext.md b/docs/sources/next/javascript-api/k6-browser/frame/innertext.md index 5749ae3fc..4d1d2f884 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/innertext.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innertext/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/inputvalue.md b/docs/sources/next/javascript-api/k6-browser/frame/inputvalue.md index 946abe4ac..ca42492dc 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/inputvalue.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/inputvalue/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/ischecked.md b/docs/sources/next/javascript-api/k6-browser/frame/ischecked.md index 3f5ef6666..e19b3c0ed 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/ischecked.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ischecked/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/isdisabled.md b/docs/sources/next/javascript-api/k6-browser/frame/isdisabled.md index 0c9214aff..7c38d08a7 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/isdisabled.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isdisabled/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/iseditable.md b/docs/sources/next/javascript-api/k6-browser/frame/iseditable.md index f24682079..d80395d4e 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/iseditable.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/iseditable/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/isenabled.md b/docs/sources/next/javascript-api/k6-browser/frame/isenabled.md index 348907669..4df0359fe 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/isenabled.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isenabled/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/ishidden.md b/docs/sources/next/javascript-api/k6-browser/frame/ishidden.md index 9387571e8..b297c186e 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/ishidden.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isHidden(selector[, options]) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ishidden/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/isvisible.md b/docs/sources/next/javascript-api/k6-browser/frame/isvisible.md index 418c3f036..099035b61 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/isvisible.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isvisible/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/press.md b/docs/sources/next/javascript-api/k6-browser/frame/press.md index 9419e107d..28d60ab71 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/press.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/press.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/press/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/selectoption.md b/docs/sources/next/javascript-api/k6-browser/frame/selectoption.md index af33f351e..4035175fa 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/selectoption.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.selectOption(selector, values[, options]) me # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/selectoption/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/textcontent.md b/docs/sources/next/javascript-api/k6-browser/frame/textcontent.md index c79c5434d..12eb52e6a 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/textcontent.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/textcontent/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/type.md b/docs/sources/next/javascript-api/k6-browser/frame/type.md index d71dcf5d2..27023e4e9 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/type.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/type.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/type/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/uncheck.md b/docs/sources/next/javascript-api/k6-browser/frame/uncheck.md index 7bf15b58d..86ba65cfb 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/uncheck.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/uncheck/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/waitforloadstate.md b/docs/sources/next/javascript-api/k6-browser/frame/waitforloadstate.md index a49d4bacb..18244fd25 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/waitforloadstate.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/next/javascript-api/k6-browser/frame/waitfornavigation.md b/docs/sources/next/javascript-api/k6-browser/frame/waitfornavigation.md index efcc511c9..5fda14139 100644 --- a/docs/sources/next/javascript-api/k6-browser/frame/waitfornavigation.md +++ b/docs/sources/next/javascript-api/k6-browser/frame/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/next/javascript-api/k6-browser/isconnected.md b/docs/sources/next/javascript-api/k6-browser/isconnected.md index a1fe1d082..0f6314a48 100644 --- a/docs/sources/next/javascript-api/k6-browser/isconnected.md +++ b/docs/sources/next/javascript-api/k6-browser/isconnected.md @@ -5,7 +5,7 @@ description: 'Browser module: isConnected method' # isConnected() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#453](https://github.com/grafana/xk6-browser/issues/453). diff --git a/docs/sources/next/javascript-api/k6-browser/locator/check.md b/docs/sources/next/javascript-api/k6-browser/locator/check.md index 6296a6f35..81489995e 100644 --- a/docs/sources/next/javascript-api/k6-browser/locator/check.md +++ b/docs/sources/next/javascript-api/k6-browser/locator/check.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.check method' # check([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#475](https://github.com/grafana/xk6-browser/issues/475). diff --git a/docs/sources/next/javascript-api/k6-browser/locator/click.md b/docs/sources/next/javascript-api/k6-browser/locator/click.md index 9f23a4376..3751cca72 100644 --- a/docs/sources/next/javascript-api/k6-browser/locator/click.md +++ b/docs/sources/next/javascript-api/k6-browser/locator/click.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.click method' # click([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#474](https://github.com/grafana/xk6-browser/issues/474). diff --git a/docs/sources/next/javascript-api/k6-browser/locator/dblclick.md b/docs/sources/next/javascript-api/k6-browser/locator/dblclick.md index 41b2600fa..ca3c70c27 100644 --- a/docs/sources/next/javascript-api/k6-browser/locator/dblclick.md +++ b/docs/sources/next/javascript-api/k6-browser/locator/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.dblclick method' # dblclick([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/next/javascript-api/k6-browser/locator/hover.md b/docs/sources/next/javascript-api/k6-browser/locator/hover.md index 873bba87c..b20ad2fc5 100644 --- a/docs/sources/next/javascript-api/k6-browser/locator/hover.md +++ b/docs/sources/next/javascript-api/k6-browser/locator/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.hover method' # hover([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/next/javascript-api/k6-browser/locator/selectoption.md b/docs/sources/next/javascript-api/k6-browser/locator/selectoption.md index dbe7aa514..7019f8a69 100644 --- a/docs/sources/next/javascript-api/k6-browser/locator/selectoption.md +++ b/docs/sources/next/javascript-api/k6-browser/locator/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.selectOption method' # selectOption(values, [options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#470](https://github.com/grafana/xk6-browser/issues/470) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/next/javascript-api/k6-browser/locator/tap.md b/docs/sources/next/javascript-api/k6-browser/locator/tap.md index 5384651e0..3b63fedd5 100644 --- a/docs/sources/next/javascript-api/k6-browser/locator/tap.md +++ b/docs/sources/next/javascript-api/k6-browser/locator/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap method' # tap([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#436](https://github.com/grafana/xk6-browser/issues/436) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/next/javascript-api/k6-browser/locator/uncheck.md b/docs/sources/next/javascript-api/k6-browser/locator/uncheck.md index d5106d1a9..f5e81d172 100644 --- a/docs/sources/next/javascript-api/k6-browser/locator/uncheck.md +++ b/docs/sources/next/javascript-api/k6-browser/locator/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.uncheck method' # uncheck([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/next/javascript-api/k6-browser/locator/waitfor.md b/docs/sources/next/javascript-api/k6-browser/locator/waitfor.md index 4ad02d283..54ba2afcf 100644 --- a/docs/sources/next/javascript-api/k6-browser/locator/waitfor.md +++ b/docs/sources/next/javascript-api/k6-browser/locator/waitfor.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.waitFor method' # waitFor([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#472](https://github.com/grafana/xk6-browser/issues/472). diff --git a/docs/sources/next/javascript-api/k6-browser/newpage.md b/docs/sources/next/javascript-api/k6-browser/newpage.md index a263ea712..ac6927760 100644 --- a/docs/sources/next/javascript-api/k6-browser/newpage.md +++ b/docs/sources/next/javascript-api/k6-browser/newpage.md @@ -13,7 +13,7 @@ A 1-to-1 mapping between [Browser](https://grafana.com/docs/k6//java {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Pages that have been opened ought to be closed using [`Page.close`](https://grafana.com/docs/k6//javascript-api/k6-browser/page/close/). Pages left open could potentially distort the results of Web Vital metrics. diff --git a/docs/sources/next/javascript-api/k6-browser/page/check.md b/docs/sources/next/javascript-api/k6-browser/page/check.md index 89d4dfd5a..8cd629f50 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/check.md +++ b/docs/sources/next/javascript-api/k6-browser/page/check.md @@ -5,7 +5,7 @@ description: 'Browser module: page.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/check/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/click.md b/docs/sources/next/javascript-api/k6-browser/page/click.md index bafb6adc9..f7c2e11ca 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/click.md +++ b/docs/sources/next/javascript-api/k6-browser/page/click.md @@ -5,7 +5,7 @@ description: 'Browser module: page.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/click/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/dblclick.md b/docs/sources/next/javascript-api/k6-browser/page/dblclick.md index 0903b1ac6..606aa4322 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/dblclick.md +++ b/docs/sources/next/javascript-api/k6-browser/page/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dblclick/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/dispatchevent.md b/docs/sources/next/javascript-api/k6-browser/page/dispatchevent.md index 042834aa8..3052ec254 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/dispatchevent.md +++ b/docs/sources/next/javascript-api/k6-browser/page/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dispatchEvent(selector, type, eventInit[, opt # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dispatchevent/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/dollar.md b/docs/sources/next/javascript-api/k6-browser/page/dollar.md index 2ea3b3204..4590ffbc6 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/dollar.md +++ b/docs/sources/next/javascript-api/k6-browser/page/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$(selector) method' # page.$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-browser/page/locator/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/doubledollar.md b/docs/sources/next/javascript-api/k6-browser/page/doubledollar.md index 497368afe..f83637685 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/doubledollar.md +++ b/docs/sources/next/javascript-api/k6-browser/page/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$$(selector) method' # page.$$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-browser/page/locator/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/fill.md b/docs/sources/next/javascript-api/k6-browser/page/fill.md index 373c3ce1e..c69d5788c 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/fill.md +++ b/docs/sources/next/javascript-api/k6-browser/page/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: page.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/fill/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/focus.md b/docs/sources/next/javascript-api/k6-browser/page/focus.md index 79aeebac1..cf34c645a 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/focus.md +++ b/docs/sources/next/javascript-api/k6-browser/page/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: page.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/focus/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/getattribute.md b/docs/sources/next/javascript-api/k6-browser/page/getattribute.md index 6f63d2d0e..4334b015e 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/getattribute.md +++ b/docs/sources/next/javascript-api/k6-browser/page/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: page.getAttribute(selector, name[, options]) metho # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/getattribute/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/goto.md b/docs/sources/next/javascript-api/k6-browser/page/goto.md index e110cd282..b5d2762bc 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/goto.md +++ b/docs/sources/next/javascript-api/k6-browser/page/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/hover.md b/docs/sources/next/javascript-api/k6-browser/page/hover.md index 2aca11003..18732ef7c 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/hover.md +++ b/docs/sources/next/javascript-api/k6-browser/page/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: page.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/hover/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/innerhtml.md b/docs/sources/next/javascript-api/k6-browser/page/innerhtml.md index ead168042..9f1b7ea65 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/innerhtml.md +++ b/docs/sources/next/javascript-api/k6-browser/page/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innerhtml/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/innertext.md b/docs/sources/next/javascript-api/k6-browser/page/innertext.md index ad1ea2e8b..e69200b99 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/innertext.md +++ b/docs/sources/next/javascript-api/k6-browser/page/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innertext/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/inputvalue.md b/docs/sources/next/javascript-api/k6-browser/page/inputvalue.md index c139aca99..e9bb762dc 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/inputvalue.md +++ b/docs/sources/next/javascript-api/k6-browser/page/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: page.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/inputvalue/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/ischecked.md b/docs/sources/next/javascript-api/k6-browser/page/ischecked.md index 578e93c5e..e9cfe4ea1 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/ischecked.md +++ b/docs/sources/next/javascript-api/k6-browser/page/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ischecked/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/isclosed.md b/docs/sources/next/javascript-api/k6-browser/page/isclosed.md index 22eab31d0..a5e873c4b 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/isclosed.md +++ b/docs/sources/next/javascript-api/k6-browser/page/isclosed.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isClosed() method' # isClosed() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#878](https://github.com/grafana/xk6-browser/issues/878). diff --git a/docs/sources/next/javascript-api/k6-browser/page/isdisabled.md b/docs/sources/next/javascript-api/k6-browser/page/isdisabled.md index 3bc5d3f5a..07021610e 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/isdisabled.md +++ b/docs/sources/next/javascript-api/k6-browser/page/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isdisabled/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/iseditable.md b/docs/sources/next/javascript-api/k6-browser/page/iseditable.md index 32bb92800..db605fa0d 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/iseditable.md +++ b/docs/sources/next/javascript-api/k6-browser/page/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/iseditable/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/isenabled.md b/docs/sources/next/javascript-api/k6-browser/page/isenabled.md index f8c958415..8f555cf66 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/isenabled.md +++ b/docs/sources/next/javascript-api/k6-browser/page/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isenabled/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/ishidden.md b/docs/sources/next/javascript-api/k6-browser/page/ishidden.md index a8d3ac26d..a431e8fa3 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/ishidden.md +++ b/docs/sources/next/javascript-api/k6-browser/page/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isHidden(selector[, options) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ishidden/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/isvisible.md b/docs/sources/next/javascript-api/k6-browser/page/isvisible.md index 1c205a4eb..42df4db97 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/isvisible.md +++ b/docs/sources/next/javascript-api/k6-browser/page/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isvisible/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/on.md b/docs/sources/next/javascript-api/k6-browser/page/on.md index 1860f3e01..a66aa7349 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/on.md +++ b/docs/sources/next/javascript-api/k6-browser/page/on.md @@ -12,7 +12,7 @@ Registers a handler to be called whenever the specified event occurs. | event | string | `''` | Event to attach the handler to. Currently, only the `'console'` event is supported. | | handler | function | `null` | A function to be called every time the specified event is emitted. | -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using the `page.on` method, the page has to be explicitly [closed](https://grafana.com/docs/k6//javascript-api/k6-browser/page/close/) for the iteration to be able to finish. diff --git a/docs/sources/next/javascript-api/k6-browser/page/press.md b/docs/sources/next/javascript-api/k6-browser/page/press.md index 02cf0b52d..84b8b9186 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/press.md +++ b/docs/sources/next/javascript-api/k6-browser/page/press.md @@ -5,7 +5,7 @@ description: 'Browser module: page.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/press/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/reload.md b/docs/sources/next/javascript-api/k6-browser/page/reload.md index dad5dd11c..3915bb27e 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/reload.md +++ b/docs/sources/next/javascript-api/k6-browser/page/reload.md @@ -19,7 +19,7 @@ This reloads the current page and returns the main resource response. ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/selectoption.md b/docs/sources/next/javascript-api/k6-browser/page/selectoption.md index ea313b2b5..79cfe423a 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/selectoption.md +++ b/docs/sources/next/javascript-api/k6-browser/page/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: page.selectOption(selector, values[, options]) met # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/selectoption/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/tap.md b/docs/sources/next/javascript-api/k6-browser/page/tap.md index 2e3828069..124021a31 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/tap.md +++ b/docs/sources/next/javascript-api/k6-browser/page/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap(selector[, options]) method' # tap(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/tap/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/textcontent.md b/docs/sources/next/javascript-api/k6-browser/page/textcontent.md index 83073128a..f2bc72bff 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/textcontent.md +++ b/docs/sources/next/javascript-api/k6-browser/page/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/textcontent/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/type.md b/docs/sources/next/javascript-api/k6-browser/page/type.md index e7405087e..e9a03e5a4 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/type.md +++ b/docs/sources/next/javascript-api/k6-browser/page/type.md @@ -5,7 +5,7 @@ description: 'Browser module: page.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/type/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/uncheck.md b/docs/sources/next/javascript-api/k6-browser/page/uncheck.md index 89c27b3d4..04582410a 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/uncheck.md +++ b/docs/sources/next/javascript-api/k6-browser/page/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: page.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/uncheck/) instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/waitforloadstate.md b/docs/sources/next/javascript-api/k6-browser/page/waitforloadstate.md index 25f82e444..820941c04 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/waitforloadstate.md +++ b/docs/sources/next/javascript-api/k6-browser/page/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: page.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/next/javascript-api/k6-browser/page/waitfornavigation.md b/docs/sources/next/javascript-api/k6-browser/page/waitfornavigation.md index 6a2b364f5..46bf91b66 100644 --- a/docs/sources/next/javascript-api/k6-browser/page/waitfornavigation.md +++ b/docs/sources/next/javascript-api/k6-browser/page/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/next/javascript-api/k6-browser/request/allheaders.md b/docs/sources/next/javascript-api/k6-browser/request/allheaders.md index 9d71c5b17..c11cc18dc 100644 --- a/docs/sources/next/javascript-api/k6-browser/request/allheaders.md +++ b/docs/sources/next/javascript-api/k6-browser/request/allheaders.md @@ -5,7 +5,7 @@ description: 'Browser module: Request.allHeaders method' # allHeaders() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has a **known issue**. For details, refer to [#965](https://github.com/grafana/xk6-browser/issues/965). diff --git a/docs/sources/next/javascript-api/k6-browser/response/allheaders.md b/docs/sources/next/javascript-api/k6-browser/response/allheaders.md index 41b11a457..ba5d0283f 100644 --- a/docs/sources/next/javascript-api/k6-browser/response/allheaders.md +++ b/docs/sources/next/javascript-api/k6-browser/response/allheaders.md @@ -5,7 +5,7 @@ description: 'Browser module: Response.allHeaders method' # allHeaders() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has a **known issue**. For details, refer to [#965](https://github.com/grafana/xk6-browser/issues/965). diff --git a/docs/sources/next/javascript-api/k6-data/sharedarray.md b/docs/sources/next/javascript-api/k6-data/sharedarray.md index b52539dde..5750ac52f 100644 --- a/docs/sources/next/javascript-api/k6-data/sharedarray.md +++ b/docs/sources/next/javascript-api/k6-data/sharedarray.md @@ -37,7 +37,7 @@ Supported operations on a `SharedArray` include: In most cases, you should be able to reduce the memory usage of an array data structure by wrapping it in a `SharedArray`. Once constructed, a `SharedArray` is read-only, so **you can't use a SharedArray to communicate data between VUs**. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Attempting to instantiate a `SharedArray` outside of the [init context](https://grafana.com/docs/k6//using-k6/test-lifecycle) results in the exception `new SharedArray must be called in the init context`. diff --git a/docs/sources/next/javascript-api/k6-http/batch.md b/docs/sources/next/javascript-api/k6-http/batch.md index 1109550e4..a0d9ec5f2 100644 --- a/docs/sources/next/javascript-api/k6-http/batch.md +++ b/docs/sources/next/javascript-api/k6-http/batch.md @@ -30,7 +30,7 @@ You can use this GET shortcut in objects—name a key and give it a URL valu You can define a request specified as an array or object with the following parameters. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When you define requests as an array, you must use a specific order of items. Note the `Position` column for the correct order. diff --git a/docs/sources/next/javascript-api/k6/group.md b/docs/sources/next/javascript-api/k6/group.md index e9bb9c2ec..3038357e9 100644 --- a/docs/sources/next/javascript-api/k6/group.md +++ b/docs/sources/next/javascript-api/k6/group.md @@ -19,7 +19,7 @@ Run code inside a group. Groups are used to organize results in a test. | ---- | ------------------------- | | any | The return value of _fn_. | -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Avoid using `group` with async functions or asynchronous code. If you do, k6 might apply tags in a way that is unreliable or unintuitive. diff --git a/docs/sources/next/results-output/real-time/cloud.md b/docs/sources/next/results-output/real-time/cloud.md index 967bf952b..663294b54 100644 --- a/docs/sources/next/results-output/real-time/cloud.md +++ b/docs/sources/next/results-output/real-time/cloud.md @@ -21,7 +21,7 @@ Fundamentally the difference is the machine that the test runs on: In all cases you'll be able to see your test results at [k6 Cloud](https://app.k6.io) or [Grafana Cloud](https://grafana.com/products/cloud/). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Data storage and processing are primary cloud costs, so `k6 run --out cloud` will consume VUH or test runs from your subscription. diff --git a/docs/sources/next/results-output/real-time/dynatrace.md b/docs/sources/next/results-output/real-time/dynatrace.md index bceb8775f..9ba918e31 100644 --- a/docs/sources/next/results-output/real-time/dynatrace.md +++ b/docs/sources/next/results-output/real-time/dynatrace.md @@ -39,7 +39,7 @@ To learn more about how to build custom k6 versions, check out [xk6](https://git Create a Dynatrace API token to send the data. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The Dynatrace API Token must have the scope name "metrics.ingest" (scope type `API v2`). {{< /admonition >}} diff --git a/docs/sources/next/results-output/real-time/elasticsearch.md b/docs/sources/next/results-output/real-time/elasticsearch.md index 0ce304355..8152b562b 100644 --- a/docs/sources/next/results-output/real-time/elasticsearch.md +++ b/docs/sources/next/results-output/real-time/elasticsearch.md @@ -62,7 +62,7 @@ export K6_ELASTICSEARCH_URL=http://localhost:9200 ./k6 run script.js -o output-elasticsearch ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Security and self-signed certificates for non-cloud clusters are not yet supported. {{< /admonition >}} diff --git a/docs/sources/next/results-output/real-time/grafana-cloud-prometheus.md b/docs/sources/next/results-output/real-time/grafana-cloud-prometheus.md index 688046754..c9f290e0f 100644 --- a/docs/sources/next/results-output/real-time/grafana-cloud-prometheus.md +++ b/docs/sources/next/results-output/real-time/grafana-cloud-prometheus.md @@ -7,7 +7,7 @@ weight: 00 # Grafana Cloud Prometheus -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This page includes instructions for running a local test that sends the test results to a Prometheus instance in Grafana Cloud. diff --git a/docs/sources/next/set-up/fine-tune-os.md b/docs/sources/next/set-up/fine-tune-os.md index f92e75e0e..d33abeedc 100644 --- a/docs/sources/next/set-up/fine-tune-os.md +++ b/docs/sources/next/set-up/fine-tune-os.md @@ -252,7 +252,7 @@ All that is left after this is to reboot your Mac back to the Recovery Mode, ope In most cases these limits should be enough to run most of your simple tests locally for some time, but you can modify the files above to any values you will need in your testing. -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Please be aware that all of these limitations are put in place to protect your operating system from files and applications that are poorly written and might leak memory like in huge quantities. We would suggest not going too overboard with the values, or you might find your system slowing down to a crawl if or when it runs out of RAM. diff --git a/docs/sources/next/shared/blocking-aws-blockquote.md b/docs/sources/next/shared/blocking-aws-blockquote.md index 64db0c113..fab1e9208 100644 --- a/docs/sources/next/shared/blocking-aws-blockquote.md +++ b/docs/sources/next/shared/blocking-aws-blockquote.md @@ -2,7 +2,7 @@ title: jslib/aws module blocking admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In some cases, using this library's operations might impact performance and skew your test results.
diff --git a/docs/sources/next/shared/browser-module-wip.md b/docs/sources/next/shared/browser-module-wip.md index c2c9cf084..23d531c75 100644 --- a/docs/sources/next/shared/browser-module-wip.md +++ b/docs/sources/next/shared/browser-module-wip.md @@ -2,7 +2,7 @@ title: k6/experimental/browser module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This API is a work in progress. Some of the following functionalities might behave unexpectedly. diff --git a/docs/sources/next/shared/experimental-module.md b/docs/sources/next/shared/experimental-module.md index 9cbe7a477..cc4337281 100644 --- a/docs/sources/next/shared/experimental-module.md +++ b/docs/sources/next/shared/experimental-module.md @@ -2,7 +2,7 @@ title: Experimental module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This is an experimental module.
diff --git a/docs/sources/next/shared/experimental-timers-module.md b/docs/sources/next/shared/experimental-timers-module.md index 295a47b4d..30e2ebf0c 100644 --- a/docs/sources/next/shared/experimental-timers-module.md +++ b/docs/sources/next/shared/experimental-timers-module.md @@ -2,7 +2,7 @@ title: Experimental timers module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The experimental module `k6/experimental/timers` has graduated, and its functionality is now available globally and through the [`k6/timers` module](https://grafana.com/docs/k6//javascript-api/k6-timers/). The `k6/experimental/timers` is deprecated and will be removed. diff --git a/docs/sources/next/shared/experimental-tracing-module.md b/docs/sources/next/shared/experimental-tracing-module.md index 6cab85f4c..5cdc99555 100644 --- a/docs/sources/next/shared/experimental-tracing-module.md +++ b/docs/sources/next/shared/experimental-tracing-module.md @@ -2,7 +2,7 @@ title: Experimental tracing module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The experimental module `k6/experimental/tracing` is deprecated, it functionality is fully available as a jslib. Please refer to its [documentation](https://grafana.com/docs/k6//javascript-api/jslib/http-instrumentation-tempo/). The `k6/experimental/tracing` will be removed in the future. diff --git a/docs/sources/next/testing-guides/running-distributed-tests.md b/docs/sources/next/testing-guides/running-distributed-tests.md index 7a06cfaa9..03db565ff 100644 --- a/docs/sources/next/testing-guides/running-distributed-tests.md +++ b/docs/sources/next/testing-guides/running-distributed-tests.md @@ -165,7 +165,7 @@ Let's create our ConfigMap as `my-test` with the content of our `test.js` script kubectl create configmap my-test --from-file test.js ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Limitations exist on how large your test script can be when deployed within a `ConfigMap`. Kubernetes imposes a size limit of 1,048,576 bytes (1 MiB) for the data, therefore if your test scripts exceed this limit, you'll need to mount a `PersistentVolume`. @@ -189,7 +189,7 @@ Organizing your test scripts was part of the discussion during [episode #76](htt {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using a `PersistentVolume`, the operator will expect all test scripts to be contained within a directory named `/test/`. @@ -244,7 +244,7 @@ The test script content was added to the map using the filename as the key-value The amount of `parallelism` is up to you; how many pods do you want to split the test amongst? The operator will split the workload between the pods using [execution segments](https://grafana.com/docs/k6//misc/glossary#execution-segment). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `ConfigMap` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). @@ -275,7 +275,7 @@ spec: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `PersistentVolumeClaim` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). diff --git a/docs/sources/next/using-k6-browser/metrics.md b/docs/sources/next/using-k6-browser/metrics.md index 4cc5af72a..d1b36d76b 100644 --- a/docs/sources/next/using-k6-browser/metrics.md +++ b/docs/sources/next/using-k6-browser/metrics.md @@ -80,7 +80,7 @@ To set thresholds for your browser metrics: As the following example shows, you can also pass in different URLs if you're going to set a threshold for other pages, especially when your script contains page navigations. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Currently, you can only use URLs to specify thresholds for different pages. If you use [Groups](https://grafana.com/docs/k6//using-k6/tags-and-groups/#groups), the metrics are not correctly grouped as described in [#721](https://github.com/grafana/xk6-browser/issues/721). diff --git a/docs/sources/next/using-k6/k6-options/reference.md b/docs/sources/next/using-k6/k6-options/reference.md index 619f081ad..6a3092c33 100644 --- a/docs/sources/next/using-k6/k6-options/reference.md +++ b/docs/sources/next/using-k6/k6-options/reference.md @@ -960,7 +960,7 @@ $ k6 run --out influxdb=http://localhost:8086/k6 script.js The maximum number of requests to make per second, in total across all VUs. Available in `k6 run` and `k6 cloud` commands. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This option is discouraged.**
@@ -1382,7 +1382,7 @@ export const options = { A list of cipher suites allowed to be used by in SSL/TLS interactions with a server. For a full listing of available ciphers go [here](https://golang.org/pkg/crypto/tls/#pkg-constants). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Due to limitations in the underlying [go implementation](https://github.com/golang/go/issues/29349), changing the ciphers for TLS 1.3 is _not_ supported and will do nothing. diff --git a/docs/sources/next/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md b/docs/sources/next/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md index 343102fb2..f5a8dea30 100644 --- a/docs/sources/next/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md +++ b/docs/sources/next/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md @@ -15,7 +15,7 @@ In other words, before the tests runs, you must both: Read on to learn about how k6 allocates VUs in the arrival-rate executors. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, **`preAllocatedVUs` count against your subscription.** @@ -91,7 +91,7 @@ As dropped iterations can also indicate that the system performance is degrading ## You probably don't need `maxVUs` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, the number of `maxVUs` counts against your subscription, **overriding the number set by `preAllocatedVUs`**. diff --git a/docs/sources/next/using-k6/thresholds.md b/docs/sources/next/using-k6/thresholds.md index 122f6ba2e..909354670 100644 --- a/docs/sources/next/using-k6/thresholds.md +++ b/docs/sources/next/using-k6/thresholds.md @@ -186,7 +186,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Do not specify multiple thresholds for the same metric by repeating the same object key. @@ -445,7 +445,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When k6 runs in the cloud, thresholds are evaluated every 60 seconds. Therefore, the `abortOnFail` feature may be delayed by up to 60 seconds. diff --git a/docs/sources/v0.47.x/extensions/build-k6-binary-using-docker.md b/docs/sources/v0.47.x/extensions/build-k6-binary-using-docker.md index 11b755953..10fd09d0d 100644 --- a/docs/sources/v0.47.x/extensions/build-k6-binary-using-docker.md +++ b/docs/sources/v0.47.x/extensions/build-k6-binary-using-docker.md @@ -122,7 +122,7 @@ Flags: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The use of `--replace` should be considered an advanced feature to be avoided unless required. diff --git a/docs/sources/v0.47.x/extensions/create/javascript-extensions.md b/docs/sources/v0.47.x/extensions/create/javascript-extensions.md index 528182aba..6e62262cd 100644 --- a/docs/sources/v0.47.x/extensions/create/javascript-extensions.md +++ b/docs/sources/v0.47.x/extensions/create/javascript-extensions.md @@ -176,7 +176,7 @@ to access the [`modules.VU`](https://pkg.go.dev/go.k6.io/k6/js/modules#VU) to in Additionally, there should be a root module implementation of the [`modules.Module`](https://pkg.go.dev/go.k6.io/k6/js/modules#Module) interface to serve as a factory of `Compare` instances for each VU. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The significance depends on the size of your module. diff --git a/docs/sources/v0.47.x/extensions/explanations/extension-graduation.md b/docs/sources/v0.47.x/extensions/explanations/extension-graduation.md index 85e51b09b..1a8e4063e 100644 --- a/docs/sources/v0.47.x/extensions/explanations/extension-graduation.md +++ b/docs/sources/v0.47.x/extensions/explanations/extension-graduation.md @@ -39,7 +39,7 @@ There should be a reasonably high degree of quality and stability at this point. This phase makes the feature accessible to more users, which in turn gives k6 developers more chances to receive feedback. The key will be to achieve a balance between usability and stability. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Not all experimental modules will progress to become a core module! The k6 team reserves the right to discontinue and remove any experimental module if is no longer deemed desirable. diff --git a/docs/sources/v0.47.x/javascript-api/init-context/open.md b/docs/sources/v0.47.x/javascript-api/init-context/open.md index d470261e5..52ed72f0f 100644 --- a/docs/sources/v0.47.x/javascript-api/init-context/open.md +++ b/docs/sources/v0.47.x/javascript-api/init-context/open.md @@ -17,7 +17,7 @@ To reduce the memory consumption, we strongly advise the usage of [SharedArray]( {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This function can only be called from the init context (aka _init code_), code in the global context that is, outside of the main export default function { ... }. diff --git a/docs/sources/v0.47.x/javascript-api/jslib/httpx/_index.md b/docs/sources/v0.47.x/javascript-api/jslib/httpx/_index.md index a87ed76b3..92863cf21 100644 --- a/docs/sources/v0.47.x/javascript-api/jslib/httpx/_index.md +++ b/docs/sources/v0.47.x/javascript-api/jslib/httpx/_index.md @@ -19,7 +19,7 @@ httpx module integrates well with the expect library. The source code is [on GitHub](https://github.com/k6io/k6-jslib-httpx). Please request features and report bugs through [GitHub issues](https://github.com/k6io/k6-jslib-httpx/issues). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This library is in active development.** diff --git a/docs/sources/v0.47.x/javascript-api/k6-data/sharedarray.md b/docs/sources/v0.47.x/javascript-api/k6-data/sharedarray.md index b52539dde..5750ac52f 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-data/sharedarray.md +++ b/docs/sources/v0.47.x/javascript-api/k6-data/sharedarray.md @@ -37,7 +37,7 @@ Supported operations on a `SharedArray` include: In most cases, you should be able to reduce the memory usage of an array data structure by wrapping it in a `SharedArray`. Once constructed, a `SharedArray` is read-only, so **you can't use a SharedArray to communicate data between VUs**. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Attempting to instantiate a `SharedArray` outside of the [init context](https://grafana.com/docs/k6//using-k6/test-lifecycle) results in the exception `new SharedArray must be called in the init context`. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/clearpermissions.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/clearpermissions.md index 03bca8984..732c09a44 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/clearpermissions.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/clearpermissions.md @@ -5,7 +5,7 @@ description: 'Clears all permission overrides for the BrowserContext.' # clearPermissions() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [issue #443](https://github.com/grafana/xk6-browser/issues/443). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/pages.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/pages.md index 077be0b6a..f0c2c84b5 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/pages.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/pages.md @@ -5,7 +5,7 @@ description: 'Returns a list of pages inside this BrowserContext.' # pages() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#444](https://github.com/grafana/xk6-browser/issues/444). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md index 6c241fe74..58981ffec 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md @@ -5,7 +5,7 @@ description: "Sets the BrowserContext's geolocation." # setGeolocation(geolocation) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#435](https://github.com/grafana/xk6-browser/issues/435). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/waitforevent.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/waitforevent.md index 80b1330a9..25be4eb49 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/waitforevent.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/browsercontext/waitforevent.md @@ -5,7 +5,7 @@ description: 'Waits for event to fire and passes its value into the predicate fu # waitForEvent(event[, optionsOrPredicate]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method is a work in progress. It requires async functionality and returning a `Promise` to be useful in scripts. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/isconnected.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/isconnected.md index 830473f3b..ed42db726 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/isconnected.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/isconnected.md @@ -5,7 +5,7 @@ description: 'Browser module: isConnected method' # isConnected() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#453](https://github.com/grafana/xk6-browser/issues/453). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/check.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/check.md index 1d5874429..6c37a0950 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/check.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/check.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.check method' # check([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#475](https://github.com/grafana/xk6-browser/issues/475). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/click.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/click.md index f78261fdb..8f7cff9cc 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/click.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/click.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.click method' # click([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#474](https://github.com/grafana/xk6-browser/issues/474). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/dblclick.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/dblclick.md index 37eeba126..a568dd220 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/dblclick.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.dblclick method' # dblclick([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#469](https://github.com/grafana/xk6-browser/issues/469) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/hover.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/hover.md index 03a63b8ee..3b0c03b4a 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/hover.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.hover method' # hover([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/selectoption.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/selectoption.md index 9641cac0e..ee8221f30 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/selectoption.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.selectOption method' # selectOption(values, [options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#470](https://github.com/grafana/xk6-browser/issues/470) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/tap.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/tap.md index b965538b3..4321281af 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/tap.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap method' # tap([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#436](https://github.com/grafana/xk6-browser/issues/436) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/uncheck.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/uncheck.md index 0ca3ea79f..5d36a9c7d 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/uncheck.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.uncheck method' # uncheck([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/waitfor.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/waitfor.md index 106242a64..8b96d4dd8 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/waitfor.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/locator/waitfor.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.waitFor method' # waitFor([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#472](https://github.com/grafana/xk6-browser/issues/472). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/newpage.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/newpage.md index 2a321ba2a..b63d6c1b5 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/newpage.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/newpage.md @@ -13,7 +13,7 @@ A 1-to-1 mapping between [Browser](https://grafana.com/docs/k6//java {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Pages that have been opened ought to be closed using [`Page.close`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/). Pages left open could potentially distort the results of Web Vital metrics. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/check.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/check.md index b946a1063..09a97b90a 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/check.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/check.md @@ -5,7 +5,7 @@ description: 'Browser module: page.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/check/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/click.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/click.md index 164558b50..c0f8c1d2b 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/click.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/click.md @@ -5,7 +5,7 @@ description: 'Browser module: page.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/click/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dblclick.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dblclick.md index 2836f9516..1ca7ca6fd 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dblclick.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dispatchevent.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dispatchevent.md index 6c3104d62..2bef4deed 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dispatchevent.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dispatchEvent(selector, type, eventInit[, opt # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dispatchevent/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dollar.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dollar.md index 9e62d1648..ef5f4810c 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dollar.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$(selector) method' # page.$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/doubledollar.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/doubledollar.md index 7aad26c00..9d923ac8c 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/doubledollar.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$$(selector) method' # page.$$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/fill.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/fill.md index 3c4b02ac7..a02f94339 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/fill.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: page.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/fill/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/focus.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/focus.md index fe4bca861..130c9dc05 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/focus.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: page.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/focus/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/getattribute.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/getattribute.md index 0df2ae64c..f389da48e 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/getattribute.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: page.getAttribute(selector, name[, options]) metho # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/getattribute/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/goto.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/goto.md index 474cb2dd5..d7c9d2c5d 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/goto.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/hover.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/hover.md index 659779034..cf2d8e710 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/hover.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: page.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/hover/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/innerhtml.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/innerhtml.md index a53ed3afb..6c2ff38b5 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/innerhtml.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innerhtml/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/innertext.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/innertext.md index dc6c47fc3..5496b80f2 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/innertext.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innertext/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/inputvalue.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/inputvalue.md index df99ad295..c73b13412 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/inputvalue.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: page.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/inputvalue/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/ischecked.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/ischecked.md index 18a88ac97..9247a61d0 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/ischecked.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ischecked/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isclosed.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isclosed.md index e5543c3ce..33bece27e 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isclosed.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isclosed.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isClosed() method' # isClosed() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#878](https://github.com/grafana/xk6-browser/issues/878). diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isdisabled.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isdisabled.md index 8b2cfa06f..e85cc8298 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isdisabled.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isdisabled/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/iseditable.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/iseditable.md index bf38c74aa..df0fa3b15 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/iseditable.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/iseditable/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isenabled.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isenabled.md index b59f56117..cb7ace457 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isenabled.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isenabled/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/ishidden.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/ishidden.md index c880fac0f..cca37d05d 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/ishidden.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isHidden(selector[, options) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isvisible.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isvisible.md index 897d1c8f0..f2ed3603e 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isvisible.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/on.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/on.md index cb6714c56..ad0c8f7ac 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/on.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/on.md @@ -12,7 +12,7 @@ Registers a handler to be called whenever the specified event occurs. | event | string | `''` | Event to attach the handler to. Currently, only the `'console'` event is supported. | | handler | function | `null` | A function to be called every time the specified event is emitted. | -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using the `page.on` method, the page has to be explicitly [closed](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/) for the iteration to be able to finish. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/press.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/press.md index 4f3850f38..01bfbf240 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/press.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/press.md @@ -5,7 +5,7 @@ description: 'Browser module: page.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/press/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/reload.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/reload.md index 9f57b5c12..5a3866fef 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/reload.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/reload.md @@ -19,7 +19,7 @@ This reloads the current page and returns the main resource response. ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/selectoption.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/selectoption.md index 1dac66c79..4124038b6 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/selectoption.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: page.selectOption(selector, values[, options]) met # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/selectoption/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/tap.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/tap.md index 626e4db50..3822ecae9 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/tap.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap(selector[, options]) method' # tap(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/tap/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/textcontent.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/textcontent.md index b6f8a294e..1d88860dd 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/textcontent.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/textcontent/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/type.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/type.md index 680347e12..d9b5e75c9 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/type.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/type.md @@ -5,7 +5,7 @@ description: 'Browser module: page.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/type/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/uncheck.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/uncheck.md index ecb729a68..9c2b71168 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/uncheck.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: page.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/uncheck/) instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md index 82470b7ba..76abbbbb3 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: page.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md index 0ed3ad819..ae29640c9 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.47.x/javascript-api/k6-http/batch.md b/docs/sources/v0.47.x/javascript-api/k6-http/batch.md index 1109550e4..a0d9ec5f2 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-http/batch.md +++ b/docs/sources/v0.47.x/javascript-api/k6-http/batch.md @@ -30,7 +30,7 @@ You can use this GET shortcut in objects—name a key and give it a URL valu You can define a request specified as an array or object with the following parameters. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When you define requests as an array, you must use a specific order of items. Note the `Position` column for the correct order. diff --git a/docs/sources/v0.47.x/javascript-api/k6/group.md b/docs/sources/v0.47.x/javascript-api/k6/group.md index e9bb9c2ec..3038357e9 100644 --- a/docs/sources/v0.47.x/javascript-api/k6/group.md +++ b/docs/sources/v0.47.x/javascript-api/k6/group.md @@ -19,7 +19,7 @@ Run code inside a group. Groups are used to organize results in a test. | ---- | ------------------------- | | any | The return value of _fn_. | -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Avoid using `group` with async functions or asynchronous code. If you do, k6 might apply tags in a way that is unreliable or unintuitive. diff --git a/docs/sources/v0.47.x/misc/fine-tuning-os.md b/docs/sources/v0.47.x/misc/fine-tuning-os.md index 69e3c87ca..c6b0fb1ba 100644 --- a/docs/sources/v0.47.x/misc/fine-tuning-os.md +++ b/docs/sources/v0.47.x/misc/fine-tuning-os.md @@ -246,7 +246,7 @@ All that is left after this is to reboot your Mac back to the Recovery Mode, ope In most cases these limits should be enough to run most of your simple tests locally for some time, but you can modify the files above to any values you will need in your testing. -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Please be aware that all of these limitations are put in place to protect your operating system from files and applications that are poorly written and might leak memory like in huge quantities. We would suggest not going too overboard with the values, or you might find your system slowing down to a crawl if or when it runs out of RAM. diff --git a/docs/sources/v0.47.x/results-output/real-time/amazon-cloudwatch.md b/docs/sources/v0.47.x/results-output/real-time/amazon-cloudwatch.md index fa00e6a2b..353f7d9b2 100644 --- a/docs/sources/v0.47.x/results-output/real-time/amazon-cloudwatch.md +++ b/docs/sources/v0.47.x/results-output/real-time/amazon-cloudwatch.md @@ -6,7 +6,7 @@ weight: 00 # Amazon CloudWatch -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.47.x/results-output/real-time/cloud.md b/docs/sources/v0.47.x/results-output/real-time/cloud.md index d52d44862..bbf221451 100644 --- a/docs/sources/v0.47.x/results-output/real-time/cloud.md +++ b/docs/sources/v0.47.x/results-output/real-time/cloud.md @@ -21,7 +21,7 @@ Fundamentally the difference is the machine that the test runs on: In all cases you'll be able to see your test results at [k6 Cloud](https://app.k6.io) or [Grafana Cloud](https://grafana.com/products/cloud/). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Data storage and processing are primary cloud costs, so `k6 run --out cloud` will consume VUh or test runs from your subscription. diff --git a/docs/sources/v0.47.x/results-output/real-time/datadog.md b/docs/sources/v0.47.x/results-output/real-time/datadog.md index 45c145c08..a85b407ff 100644 --- a/docs/sources/v0.47.x/results-output/real-time/datadog.md +++ b/docs/sources/v0.47.x/results-output/real-time/datadog.md @@ -6,7 +6,7 @@ weight: 00 # Datadog -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.47.x/results-output/real-time/dynatrace.md b/docs/sources/v0.47.x/results-output/real-time/dynatrace.md index bceb8775f..9ba918e31 100644 --- a/docs/sources/v0.47.x/results-output/real-time/dynatrace.md +++ b/docs/sources/v0.47.x/results-output/real-time/dynatrace.md @@ -39,7 +39,7 @@ To learn more about how to build custom k6 versions, check out [xk6](https://git Create a Dynatrace API token to send the data. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The Dynatrace API Token must have the scope name "metrics.ingest" (scope type `API v2`). {{< /admonition >}} diff --git a/docs/sources/v0.47.x/results-output/real-time/elasticsearch.md b/docs/sources/v0.47.x/results-output/real-time/elasticsearch.md index 0ce304355..8152b562b 100644 --- a/docs/sources/v0.47.x/results-output/real-time/elasticsearch.md +++ b/docs/sources/v0.47.x/results-output/real-time/elasticsearch.md @@ -62,7 +62,7 @@ export K6_ELASTICSEARCH_URL=http://localhost:9200 ./k6 run script.js -o output-elasticsearch ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Security and self-signed certificates for non-cloud clusters are not yet supported. {{< /admonition >}} diff --git a/docs/sources/v0.47.x/results-output/real-time/grafana-cloud-prometheus.md b/docs/sources/v0.47.x/results-output/real-time/grafana-cloud-prometheus.md index af1bd2e94..5227f2974 100644 --- a/docs/sources/v0.47.x/results-output/real-time/grafana-cloud-prometheus.md +++ b/docs/sources/v0.47.x/results-output/real-time/grafana-cloud-prometheus.md @@ -7,7 +7,7 @@ weight: 00 # Grafana Cloud Prometheus -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This page includes instructions for running a local test that sends the test results to a Prometheus instance in Grafana Cloud. diff --git a/docs/sources/v0.47.x/results-output/real-time/netdata.md b/docs/sources/v0.47.x/results-output/real-time/netdata.md index 48ed14ff0..175009cdc 100644 --- a/docs/sources/v0.47.x/results-output/real-time/netdata.md +++ b/docs/sources/v0.47.x/results-output/real-time/netdata.md @@ -6,7 +6,7 @@ weight: 00 # Netdata -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.47.x/results-output/real-time/newrelic.md b/docs/sources/v0.47.x/results-output/real-time/newrelic.md index fe25e02d0..ca739f350 100644 --- a/docs/sources/v0.47.x/results-output/real-time/newrelic.md +++ b/docs/sources/v0.47.x/results-output/real-time/newrelic.md @@ -7,7 +7,7 @@ slug: 'new-relic' # New Relic -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.47.x/results-output/real-time/statsd.md b/docs/sources/v0.47.x/results-output/real-time/statsd.md index 50cc0d33b..59aafe4b6 100644 --- a/docs/sources/v0.47.x/results-output/real-time/statsd.md +++ b/docs/sources/v0.47.x/results-output/real-time/statsd.md @@ -6,7 +6,7 @@ weight: 00 # StatsD -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.47.x/shared/blocking-aws-blockquote.md b/docs/sources/v0.47.x/shared/blocking-aws-blockquote.md index 64db0c113..fab1e9208 100644 --- a/docs/sources/v0.47.x/shared/blocking-aws-blockquote.md +++ b/docs/sources/v0.47.x/shared/blocking-aws-blockquote.md @@ -2,7 +2,7 @@ title: jslib/aws module blocking admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In some cases, using this library's operations might impact performance and skew your test results.
diff --git a/docs/sources/v0.47.x/shared/browser-module-wip.md b/docs/sources/v0.47.x/shared/browser-module-wip.md index c2c9cf084..23d531c75 100644 --- a/docs/sources/v0.47.x/shared/browser-module-wip.md +++ b/docs/sources/v0.47.x/shared/browser-module-wip.md @@ -2,7 +2,7 @@ title: k6/experimental/browser module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This API is a work in progress. Some of the following functionalities might behave unexpectedly. diff --git a/docs/sources/v0.47.x/shared/experimental-grpc-module.md b/docs/sources/v0.47.x/shared/experimental-grpc-module.md index ce934cb42..bb2c7a2af 100644 --- a/docs/sources/v0.47.x/shared/experimental-grpc-module.md +++ b/docs/sources/v0.47.x/shared/experimental-grpc-module.md @@ -2,7 +2,7 @@ title: Experimental grpc module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6//javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`. diff --git a/docs/sources/v0.47.x/shared/experimental-module.md b/docs/sources/v0.47.x/shared/experimental-module.md index 9cbe7a477..cc4337281 100644 --- a/docs/sources/v0.47.x/shared/experimental-module.md +++ b/docs/sources/v0.47.x/shared/experimental-module.md @@ -2,7 +2,7 @@ title: Experimental module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This is an experimental module.
diff --git a/docs/sources/v0.47.x/testing-guides/running-distributed-tests.md b/docs/sources/v0.47.x/testing-guides/running-distributed-tests.md index 7a06cfaa9..03db565ff 100644 --- a/docs/sources/v0.47.x/testing-guides/running-distributed-tests.md +++ b/docs/sources/v0.47.x/testing-guides/running-distributed-tests.md @@ -165,7 +165,7 @@ Let's create our ConfigMap as `my-test` with the content of our `test.js` script kubectl create configmap my-test --from-file test.js ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Limitations exist on how large your test script can be when deployed within a `ConfigMap`. Kubernetes imposes a size limit of 1,048,576 bytes (1 MiB) for the data, therefore if your test scripts exceed this limit, you'll need to mount a `PersistentVolume`. @@ -189,7 +189,7 @@ Organizing your test scripts was part of the discussion during [episode #76](htt {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using a `PersistentVolume`, the operator will expect all test scripts to be contained within a directory named `/test/`. @@ -244,7 +244,7 @@ The test script content was added to the map using the filename as the key-value The amount of `parallelism` is up to you; how many pods do you want to split the test amongst? The operator will split the workload between the pods using [execution segments](https://grafana.com/docs/k6//misc/glossary#execution-segment). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `ConfigMap` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). @@ -275,7 +275,7 @@ spec: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `PersistentVolumeClaim` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). diff --git a/docs/sources/v0.47.x/using-k6-browser/metrics.md b/docs/sources/v0.47.x/using-k6-browser/metrics.md index e73173d2f..82fa58bdc 100644 --- a/docs/sources/v0.47.x/using-k6-browser/metrics.md +++ b/docs/sources/v0.47.x/using-k6-browser/metrics.md @@ -69,7 +69,7 @@ To set thresholds for your browser metrics: As the following example shows, you can also pass in different URLs if you're going to set a threshold for other pages, especially when your script contains page navigations. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Currently, you can only use URLs to specify thresholds for different pages. If you use [Groups](https://grafana.com/docs/k6/latest/using-k6/tags-and-groups/#groups), the metrics are not correctly grouped as described in [#721](https://github.com/grafana/xk6-browser/issues/721). diff --git a/docs/sources/v0.47.x/using-k6/k6-options/reference.md b/docs/sources/v0.47.x/using-k6/k6-options/reference.md index 831efedac..8c88cb3ba 100644 --- a/docs/sources/v0.47.x/using-k6/k6-options/reference.md +++ b/docs/sources/v0.47.x/using-k6/k6-options/reference.md @@ -942,7 +942,7 @@ $ k6 run --out influxdb=http://localhost:8086/k6 script.js The maximum number of requests to make per second, in total across all VUs. Available in `k6 run` and `k6 cloud` commands. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This option is discouraged.**
@@ -1364,7 +1364,7 @@ export const options = { A list of cipher suites allowed to be used by in SSL/TLS interactions with a server. For a full listing of available ciphers go [here](https://golang.org/pkg/crypto/tls/#pkg-constants). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Due to limitations in the underlying [go implementation](https://github.com/golang/go/issues/29349), changing the ciphers for TLS 1.3 is _not_ supported and will do nothing. diff --git a/docs/sources/v0.47.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md b/docs/sources/v0.47.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md index 343102fb2..f5a8dea30 100644 --- a/docs/sources/v0.47.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md +++ b/docs/sources/v0.47.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md @@ -15,7 +15,7 @@ In other words, before the tests runs, you must both: Read on to learn about how k6 allocates VUs in the arrival-rate executors. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, **`preAllocatedVUs` count against your subscription.** @@ -91,7 +91,7 @@ As dropped iterations can also indicate that the system performance is degrading ## You probably don't need `maxVUs` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, the number of `maxVUs` counts against your subscription, **overriding the number set by `preAllocatedVUs`**. diff --git a/docs/sources/v0.47.x/using-k6/thresholds.md b/docs/sources/v0.47.x/using-k6/thresholds.md index 122f6ba2e..909354670 100644 --- a/docs/sources/v0.47.x/using-k6/thresholds.md +++ b/docs/sources/v0.47.x/using-k6/thresholds.md @@ -186,7 +186,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Do not specify multiple thresholds for the same metric by repeating the same object key. @@ -445,7 +445,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When k6 runs in the cloud, thresholds are evaluated every 60 seconds. Therefore, the `abortOnFail` feature may be delayed by up to 60 seconds. diff --git a/docs/sources/v0.48.x/extensions/build-k6-binary-using-docker.md b/docs/sources/v0.48.x/extensions/build-k6-binary-using-docker.md index 11b755953..10fd09d0d 100644 --- a/docs/sources/v0.48.x/extensions/build-k6-binary-using-docker.md +++ b/docs/sources/v0.48.x/extensions/build-k6-binary-using-docker.md @@ -122,7 +122,7 @@ Flags: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The use of `--replace` should be considered an advanced feature to be avoided unless required. diff --git a/docs/sources/v0.48.x/extensions/create/javascript-extensions.md b/docs/sources/v0.48.x/extensions/create/javascript-extensions.md index 528182aba..6e62262cd 100644 --- a/docs/sources/v0.48.x/extensions/create/javascript-extensions.md +++ b/docs/sources/v0.48.x/extensions/create/javascript-extensions.md @@ -176,7 +176,7 @@ to access the [`modules.VU`](https://pkg.go.dev/go.k6.io/k6/js/modules#VU) to in Additionally, there should be a root module implementation of the [`modules.Module`](https://pkg.go.dev/go.k6.io/k6/js/modules#Module) interface to serve as a factory of `Compare` instances for each VU. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The significance depends on the size of your module. diff --git a/docs/sources/v0.48.x/extensions/explanations/extension-graduation.md b/docs/sources/v0.48.x/extensions/explanations/extension-graduation.md index 85e51b09b..1a8e4063e 100644 --- a/docs/sources/v0.48.x/extensions/explanations/extension-graduation.md +++ b/docs/sources/v0.48.x/extensions/explanations/extension-graduation.md @@ -39,7 +39,7 @@ There should be a reasonably high degree of quality and stability at this point. This phase makes the feature accessible to more users, which in turn gives k6 developers more chances to receive feedback. The key will be to achieve a balance between usability and stability. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Not all experimental modules will progress to become a core module! The k6 team reserves the right to discontinue and remove any experimental module if is no longer deemed desirable. diff --git a/docs/sources/v0.48.x/javascript-api/jslib/httpx/_index.md b/docs/sources/v0.48.x/javascript-api/jslib/httpx/_index.md index a87ed76b3..92863cf21 100644 --- a/docs/sources/v0.48.x/javascript-api/jslib/httpx/_index.md +++ b/docs/sources/v0.48.x/javascript-api/jslib/httpx/_index.md @@ -19,7 +19,7 @@ httpx module integrates well with the expect library. The source code is [on GitHub](https://github.com/k6io/k6-jslib-httpx). Please request features and report bugs through [GitHub issues](https://github.com/k6io/k6-jslib-httpx/issues). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This library is in active development.** diff --git a/docs/sources/v0.48.x/javascript-api/k6-data/sharedarray.md b/docs/sources/v0.48.x/javascript-api/k6-data/sharedarray.md index b52539dde..5750ac52f 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-data/sharedarray.md +++ b/docs/sources/v0.48.x/javascript-api/k6-data/sharedarray.md @@ -37,7 +37,7 @@ Supported operations on a `SharedArray` include: In most cases, you should be able to reduce the memory usage of an array data structure by wrapping it in a `SharedArray`. Once constructed, a `SharedArray` is read-only, so **you can't use a SharedArray to communicate data between VUs**. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Attempting to instantiate a `SharedArray` outside of the [init context](https://grafana.com/docs/k6//using-k6/test-lifecycle) results in the exception `new SharedArray must be called in the init context`. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/browsercontext/pages.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/browsercontext/pages.md index 077be0b6a..f0c2c84b5 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/browsercontext/pages.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/browsercontext/pages.md @@ -5,7 +5,7 @@ description: 'Returns a list of pages inside this BrowserContext.' # pages() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#444](https://github.com/grafana/xk6-browser/issues/444). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md index 6c241fe74..58981ffec 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md @@ -5,7 +5,7 @@ description: "Sets the BrowserContext's geolocation." # setGeolocation(geolocation) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#435](https://github.com/grafana/xk6-browser/issues/435). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/isconnected.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/isconnected.md index 830473f3b..ed42db726 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/isconnected.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/isconnected.md @@ -5,7 +5,7 @@ description: 'Browser module: isConnected method' # isConnected() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#453](https://github.com/grafana/xk6-browser/issues/453). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/check.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/check.md index 1d5874429..6c37a0950 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/check.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/check.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.check method' # check([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#475](https://github.com/grafana/xk6-browser/issues/475). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/click.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/click.md index f78261fdb..8f7cff9cc 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/click.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/click.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.click method' # click([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#474](https://github.com/grafana/xk6-browser/issues/474). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/dblclick.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/dblclick.md index 37eeba126..a568dd220 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/dblclick.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.dblclick method' # dblclick([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#469](https://github.com/grafana/xk6-browser/issues/469) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/hover.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/hover.md index 03a63b8ee..3b0c03b4a 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/hover.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.hover method' # hover([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/selectoption.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/selectoption.md index 9641cac0e..ee8221f30 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/selectoption.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.selectOption method' # selectOption(values, [options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#470](https://github.com/grafana/xk6-browser/issues/470) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/tap.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/tap.md index b965538b3..4321281af 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/tap.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap method' # tap([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#436](https://github.com/grafana/xk6-browser/issues/436) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/uncheck.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/uncheck.md index 0ca3ea79f..5d36a9c7d 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/uncheck.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.uncheck method' # uncheck([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/waitfor.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/waitfor.md index 106242a64..8b96d4dd8 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/waitfor.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/locator/waitfor.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.waitFor method' # waitFor([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#472](https://github.com/grafana/xk6-browser/issues/472). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/newpage.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/newpage.md index 2a321ba2a..b63d6c1b5 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/newpage.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/newpage.md @@ -13,7 +13,7 @@ A 1-to-1 mapping between [Browser](https://grafana.com/docs/k6//java {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Pages that have been opened ought to be closed using [`Page.close`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/). Pages left open could potentially distort the results of Web Vital metrics. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/check.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/check.md index b946a1063..09a97b90a 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/check.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/check.md @@ -5,7 +5,7 @@ description: 'Browser module: page.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/check/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/click.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/click.md index 164558b50..c0f8c1d2b 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/click.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/click.md @@ -5,7 +5,7 @@ description: 'Browser module: page.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/click/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dblclick.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dblclick.md index 2836f9516..1ca7ca6fd 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dblclick.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dispatchevent.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dispatchevent.md index 6c3104d62..2bef4deed 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dispatchevent.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dispatchEvent(selector, type, eventInit[, opt # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dispatchevent/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dollar.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dollar.md index 9e62d1648..ef5f4810c 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dollar.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$(selector) method' # page.$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/doubledollar.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/doubledollar.md index 7aad26c00..9d923ac8c 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/doubledollar.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$$(selector) method' # page.$$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/fill.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/fill.md index 3c4b02ac7..a02f94339 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/fill.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: page.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/fill/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/focus.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/focus.md index fe4bca861..130c9dc05 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/focus.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: page.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/focus/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/getattribute.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/getattribute.md index 0df2ae64c..f389da48e 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/getattribute.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: page.getAttribute(selector, name[, options]) metho # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/getattribute/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/goto.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/goto.md index 474cb2dd5..d7c9d2c5d 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/goto.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/hover.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/hover.md index 659779034..cf2d8e710 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/hover.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: page.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/hover/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/innerhtml.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/innerhtml.md index a53ed3afb..6c2ff38b5 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/innerhtml.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innerhtml/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/innertext.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/innertext.md index dc6c47fc3..5496b80f2 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/innertext.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innertext/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/inputvalue.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/inputvalue.md index df99ad295..c73b13412 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/inputvalue.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: page.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/inputvalue/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/ischecked.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/ischecked.md index 18a88ac97..9247a61d0 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/ischecked.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ischecked/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isclosed.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isclosed.md index e5543c3ce..33bece27e 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isclosed.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isclosed.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isClosed() method' # isClosed() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#878](https://github.com/grafana/xk6-browser/issues/878). diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isdisabled.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isdisabled.md index 8b2cfa06f..e85cc8298 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isdisabled.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isdisabled/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/iseditable.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/iseditable.md index bf38c74aa..df0fa3b15 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/iseditable.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/iseditable/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isenabled.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isenabled.md index b59f56117..cb7ace457 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isenabled.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isenabled/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/ishidden.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/ishidden.md index c880fac0f..cca37d05d 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/ishidden.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isHidden(selector[, options) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isvisible.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isvisible.md index 897d1c8f0..f2ed3603e 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isvisible.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/on.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/on.md index cb6714c56..ad0c8f7ac 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/on.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/on.md @@ -12,7 +12,7 @@ Registers a handler to be called whenever the specified event occurs. | event | string | `''` | Event to attach the handler to. Currently, only the `'console'` event is supported. | | handler | function | `null` | A function to be called every time the specified event is emitted. | -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using the `page.on` method, the page has to be explicitly [closed](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/) for the iteration to be able to finish. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/press.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/press.md index 4f3850f38..01bfbf240 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/press.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/press.md @@ -5,7 +5,7 @@ description: 'Browser module: page.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/press/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/reload.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/reload.md index 9f57b5c12..5a3866fef 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/reload.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/reload.md @@ -19,7 +19,7 @@ This reloads the current page and returns the main resource response. ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/selectoption.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/selectoption.md index 1dac66c79..4124038b6 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/selectoption.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: page.selectOption(selector, values[, options]) met # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/selectoption/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/tap.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/tap.md index 626e4db50..3822ecae9 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/tap.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap(selector[, options]) method' # tap(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/tap/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/textcontent.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/textcontent.md index b6f8a294e..1d88860dd 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/textcontent.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/textcontent/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/type.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/type.md index 680347e12..d9b5e75c9 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/type.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/type.md @@ -5,7 +5,7 @@ description: 'Browser module: page.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/type/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/uncheck.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/uncheck.md index ecb729a68..9c2b71168 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/uncheck.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: page.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/uncheck/) instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md index 82470b7ba..76abbbbb3 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: page.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md index 0ed3ad819..ae29640c9 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.48.x/javascript-api/k6-http/batch.md b/docs/sources/v0.48.x/javascript-api/k6-http/batch.md index 1109550e4..a0d9ec5f2 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-http/batch.md +++ b/docs/sources/v0.48.x/javascript-api/k6-http/batch.md @@ -30,7 +30,7 @@ You can use this GET shortcut in objects—name a key and give it a URL valu You can define a request specified as an array or object with the following parameters. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When you define requests as an array, you must use a specific order of items. Note the `Position` column for the correct order. diff --git a/docs/sources/v0.48.x/javascript-api/k6/group.md b/docs/sources/v0.48.x/javascript-api/k6/group.md index e9bb9c2ec..3038357e9 100644 --- a/docs/sources/v0.48.x/javascript-api/k6/group.md +++ b/docs/sources/v0.48.x/javascript-api/k6/group.md @@ -19,7 +19,7 @@ Run code inside a group. Groups are used to organize results in a test. | ---- | ------------------------- | | any | The return value of _fn_. | -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Avoid using `group` with async functions or asynchronous code. If you do, k6 might apply tags in a way that is unreliable or unintuitive. diff --git a/docs/sources/v0.48.x/misc/fine-tuning-os.md b/docs/sources/v0.48.x/misc/fine-tuning-os.md index 69e3c87ca..c6b0fb1ba 100644 --- a/docs/sources/v0.48.x/misc/fine-tuning-os.md +++ b/docs/sources/v0.48.x/misc/fine-tuning-os.md @@ -246,7 +246,7 @@ All that is left after this is to reboot your Mac back to the Recovery Mode, ope In most cases these limits should be enough to run most of your simple tests locally for some time, but you can modify the files above to any values you will need in your testing. -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Please be aware that all of these limitations are put in place to protect your operating system from files and applications that are poorly written and might leak memory like in huge quantities. We would suggest not going too overboard with the values, or you might find your system slowing down to a crawl if or when it runs out of RAM. diff --git a/docs/sources/v0.48.x/results-output/real-time/amazon-cloudwatch.md b/docs/sources/v0.48.x/results-output/real-time/amazon-cloudwatch.md index fa00e6a2b..353f7d9b2 100644 --- a/docs/sources/v0.48.x/results-output/real-time/amazon-cloudwatch.md +++ b/docs/sources/v0.48.x/results-output/real-time/amazon-cloudwatch.md @@ -6,7 +6,7 @@ weight: 00 # Amazon CloudWatch -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.48.x/results-output/real-time/cloud.md b/docs/sources/v0.48.x/results-output/real-time/cloud.md index ea27b691f..69a90e6ba 100644 --- a/docs/sources/v0.48.x/results-output/real-time/cloud.md +++ b/docs/sources/v0.48.x/results-output/real-time/cloud.md @@ -21,7 +21,7 @@ Fundamentally the difference is the machine that the test runs on: In all cases you'll be able to see your test results at [k6 Cloud](https://app.k6.io) or [Grafana Cloud](https://grafana.com/products/cloud/). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Data storage and processing are primary cloud costs, so `k6 run --out cloud` will consume VUH or test runs from your subscription. diff --git a/docs/sources/v0.48.x/results-output/real-time/datadog.md b/docs/sources/v0.48.x/results-output/real-time/datadog.md index 45c145c08..a85b407ff 100644 --- a/docs/sources/v0.48.x/results-output/real-time/datadog.md +++ b/docs/sources/v0.48.x/results-output/real-time/datadog.md @@ -6,7 +6,7 @@ weight: 00 # Datadog -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.48.x/results-output/real-time/dynatrace.md b/docs/sources/v0.48.x/results-output/real-time/dynatrace.md index bceb8775f..9ba918e31 100644 --- a/docs/sources/v0.48.x/results-output/real-time/dynatrace.md +++ b/docs/sources/v0.48.x/results-output/real-time/dynatrace.md @@ -39,7 +39,7 @@ To learn more about how to build custom k6 versions, check out [xk6](https://git Create a Dynatrace API token to send the data. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The Dynatrace API Token must have the scope name "metrics.ingest" (scope type `API v2`). {{< /admonition >}} diff --git a/docs/sources/v0.48.x/results-output/real-time/elasticsearch.md b/docs/sources/v0.48.x/results-output/real-time/elasticsearch.md index 0ce304355..8152b562b 100644 --- a/docs/sources/v0.48.x/results-output/real-time/elasticsearch.md +++ b/docs/sources/v0.48.x/results-output/real-time/elasticsearch.md @@ -62,7 +62,7 @@ export K6_ELASTICSEARCH_URL=http://localhost:9200 ./k6 run script.js -o output-elasticsearch ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Security and self-signed certificates for non-cloud clusters are not yet supported. {{< /admonition >}} diff --git a/docs/sources/v0.48.x/results-output/real-time/grafana-cloud-prometheus.md b/docs/sources/v0.48.x/results-output/real-time/grafana-cloud-prometheus.md index af1bd2e94..5227f2974 100644 --- a/docs/sources/v0.48.x/results-output/real-time/grafana-cloud-prometheus.md +++ b/docs/sources/v0.48.x/results-output/real-time/grafana-cloud-prometheus.md @@ -7,7 +7,7 @@ weight: 00 # Grafana Cloud Prometheus -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This page includes instructions for running a local test that sends the test results to a Prometheus instance in Grafana Cloud. diff --git a/docs/sources/v0.48.x/results-output/real-time/netdata.md b/docs/sources/v0.48.x/results-output/real-time/netdata.md index 48ed14ff0..175009cdc 100644 --- a/docs/sources/v0.48.x/results-output/real-time/netdata.md +++ b/docs/sources/v0.48.x/results-output/real-time/netdata.md @@ -6,7 +6,7 @@ weight: 00 # Netdata -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.48.x/results-output/real-time/newrelic.md b/docs/sources/v0.48.x/results-output/real-time/newrelic.md index fe25e02d0..ca739f350 100644 --- a/docs/sources/v0.48.x/results-output/real-time/newrelic.md +++ b/docs/sources/v0.48.x/results-output/real-time/newrelic.md @@ -7,7 +7,7 @@ slug: 'new-relic' # New Relic -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.48.x/results-output/real-time/statsd.md b/docs/sources/v0.48.x/results-output/real-time/statsd.md index 50cc0d33b..59aafe4b6 100644 --- a/docs/sources/v0.48.x/results-output/real-time/statsd.md +++ b/docs/sources/v0.48.x/results-output/real-time/statsd.md @@ -6,7 +6,7 @@ weight: 00 # StatsD -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.48.x/shared/blocking-aws-blockquote.md b/docs/sources/v0.48.x/shared/blocking-aws-blockquote.md index 64db0c113..fab1e9208 100644 --- a/docs/sources/v0.48.x/shared/blocking-aws-blockquote.md +++ b/docs/sources/v0.48.x/shared/blocking-aws-blockquote.md @@ -2,7 +2,7 @@ title: jslib/aws module blocking admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In some cases, using this library's operations might impact performance and skew your test results.
diff --git a/docs/sources/v0.48.x/shared/browser-module-wip.md b/docs/sources/v0.48.x/shared/browser-module-wip.md index c2c9cf084..23d531c75 100644 --- a/docs/sources/v0.48.x/shared/browser-module-wip.md +++ b/docs/sources/v0.48.x/shared/browser-module-wip.md @@ -2,7 +2,7 @@ title: k6/experimental/browser module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This API is a work in progress. Some of the following functionalities might behave unexpectedly. diff --git a/docs/sources/v0.48.x/shared/experimental-grpc-module.md b/docs/sources/v0.48.x/shared/experimental-grpc-module.md index ce934cb42..bb2c7a2af 100644 --- a/docs/sources/v0.48.x/shared/experimental-grpc-module.md +++ b/docs/sources/v0.48.x/shared/experimental-grpc-module.md @@ -2,7 +2,7 @@ title: Experimental grpc module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6//javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`. diff --git a/docs/sources/v0.48.x/shared/experimental-module.md b/docs/sources/v0.48.x/shared/experimental-module.md index 9cbe7a477..cc4337281 100644 --- a/docs/sources/v0.48.x/shared/experimental-module.md +++ b/docs/sources/v0.48.x/shared/experimental-module.md @@ -2,7 +2,7 @@ title: Experimental module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This is an experimental module.
diff --git a/docs/sources/v0.48.x/testing-guides/running-distributed-tests.md b/docs/sources/v0.48.x/testing-guides/running-distributed-tests.md index 7a06cfaa9..03db565ff 100644 --- a/docs/sources/v0.48.x/testing-guides/running-distributed-tests.md +++ b/docs/sources/v0.48.x/testing-guides/running-distributed-tests.md @@ -165,7 +165,7 @@ Let's create our ConfigMap as `my-test` with the content of our `test.js` script kubectl create configmap my-test --from-file test.js ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Limitations exist on how large your test script can be when deployed within a `ConfigMap`. Kubernetes imposes a size limit of 1,048,576 bytes (1 MiB) for the data, therefore if your test scripts exceed this limit, you'll need to mount a `PersistentVolume`. @@ -189,7 +189,7 @@ Organizing your test scripts was part of the discussion during [episode #76](htt {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using a `PersistentVolume`, the operator will expect all test scripts to be contained within a directory named `/test/`. @@ -244,7 +244,7 @@ The test script content was added to the map using the filename as the key-value The amount of `parallelism` is up to you; how many pods do you want to split the test amongst? The operator will split the workload between the pods using [execution segments](https://grafana.com/docs/k6//misc/glossary#execution-segment). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `ConfigMap` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). @@ -275,7 +275,7 @@ spec: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `PersistentVolumeClaim` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). diff --git a/docs/sources/v0.48.x/using-k6-browser/metrics.md b/docs/sources/v0.48.x/using-k6-browser/metrics.md index e73173d2f..82fa58bdc 100644 --- a/docs/sources/v0.48.x/using-k6-browser/metrics.md +++ b/docs/sources/v0.48.x/using-k6-browser/metrics.md @@ -69,7 +69,7 @@ To set thresholds for your browser metrics: As the following example shows, you can also pass in different URLs if you're going to set a threshold for other pages, especially when your script contains page navigations. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Currently, you can only use URLs to specify thresholds for different pages. If you use [Groups](https://grafana.com/docs/k6/latest/using-k6/tags-and-groups/#groups), the metrics are not correctly grouped as described in [#721](https://github.com/grafana/xk6-browser/issues/721). diff --git a/docs/sources/v0.48.x/using-k6/k6-options/reference.md b/docs/sources/v0.48.x/using-k6/k6-options/reference.md index 8694fbd6a..87c1fa97a 100644 --- a/docs/sources/v0.48.x/using-k6/k6-options/reference.md +++ b/docs/sources/v0.48.x/using-k6/k6-options/reference.md @@ -960,7 +960,7 @@ $ k6 run --out influxdb=http://localhost:8086/k6 script.js The maximum number of requests to make per second, in total across all VUs. Available in `k6 run` and `k6 cloud` commands. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This option is discouraged.**
@@ -1382,7 +1382,7 @@ export const options = { A list of cipher suites allowed to be used by in SSL/TLS interactions with a server. For a full listing of available ciphers go [here](https://golang.org/pkg/crypto/tls/#pkg-constants). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Due to limitations in the underlying [go implementation](https://github.com/golang/go/issues/29349), changing the ciphers for TLS 1.3 is _not_ supported and will do nothing. diff --git a/docs/sources/v0.48.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md b/docs/sources/v0.48.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md index 343102fb2..f5a8dea30 100644 --- a/docs/sources/v0.48.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md +++ b/docs/sources/v0.48.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md @@ -15,7 +15,7 @@ In other words, before the tests runs, you must both: Read on to learn about how k6 allocates VUs in the arrival-rate executors. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, **`preAllocatedVUs` count against your subscription.** @@ -91,7 +91,7 @@ As dropped iterations can also indicate that the system performance is degrading ## You probably don't need `maxVUs` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, the number of `maxVUs` counts against your subscription, **overriding the number set by `preAllocatedVUs`**. diff --git a/docs/sources/v0.48.x/using-k6/thresholds.md b/docs/sources/v0.48.x/using-k6/thresholds.md index 122f6ba2e..909354670 100644 --- a/docs/sources/v0.48.x/using-k6/thresholds.md +++ b/docs/sources/v0.48.x/using-k6/thresholds.md @@ -186,7 +186,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Do not specify multiple thresholds for the same metric by repeating the same object key. @@ -445,7 +445,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When k6 runs in the cloud, thresholds are evaluated every 60 seconds. Therefore, the `abortOnFail` feature may be delayed by up to 60 seconds. diff --git a/docs/sources/v0.49.x/extensions/build-k6-binary-using-docker.md b/docs/sources/v0.49.x/extensions/build-k6-binary-using-docker.md index 11b755953..10fd09d0d 100644 --- a/docs/sources/v0.49.x/extensions/build-k6-binary-using-docker.md +++ b/docs/sources/v0.49.x/extensions/build-k6-binary-using-docker.md @@ -122,7 +122,7 @@ Flags: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The use of `--replace` should be considered an advanced feature to be avoided unless required. diff --git a/docs/sources/v0.49.x/extensions/create/javascript-extensions.md b/docs/sources/v0.49.x/extensions/create/javascript-extensions.md index 528182aba..6e62262cd 100644 --- a/docs/sources/v0.49.x/extensions/create/javascript-extensions.md +++ b/docs/sources/v0.49.x/extensions/create/javascript-extensions.md @@ -176,7 +176,7 @@ to access the [`modules.VU`](https://pkg.go.dev/go.k6.io/k6/js/modules#VU) to in Additionally, there should be a root module implementation of the [`modules.Module`](https://pkg.go.dev/go.k6.io/k6/js/modules#Module) interface to serve as a factory of `Compare` instances for each VU. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The significance depends on the size of your module. diff --git a/docs/sources/v0.49.x/extensions/explanations/extension-graduation.md b/docs/sources/v0.49.x/extensions/explanations/extension-graduation.md index 85e51b09b..1a8e4063e 100644 --- a/docs/sources/v0.49.x/extensions/explanations/extension-graduation.md +++ b/docs/sources/v0.49.x/extensions/explanations/extension-graduation.md @@ -39,7 +39,7 @@ There should be a reasonably high degree of quality and stability at this point. This phase makes the feature accessible to more users, which in turn gives k6 developers more chances to receive feedback. The key will be to achieve a balance between usability and stability. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Not all experimental modules will progress to become a core module! The k6 team reserves the right to discontinue and remove any experimental module if is no longer deemed desirable. diff --git a/docs/sources/v0.49.x/javascript-api/jslib/httpx/_index.md b/docs/sources/v0.49.x/javascript-api/jslib/httpx/_index.md index a87ed76b3..92863cf21 100644 --- a/docs/sources/v0.49.x/javascript-api/jslib/httpx/_index.md +++ b/docs/sources/v0.49.x/javascript-api/jslib/httpx/_index.md @@ -19,7 +19,7 @@ httpx module integrates well with the expect library. The source code is [on GitHub](https://github.com/k6io/k6-jslib-httpx). Please request features and report bugs through [GitHub issues](https://github.com/k6io/k6-jslib-httpx/issues). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This library is in active development.** diff --git a/docs/sources/v0.49.x/javascript-api/k6-data/sharedarray.md b/docs/sources/v0.49.x/javascript-api/k6-data/sharedarray.md index b52539dde..5750ac52f 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-data/sharedarray.md +++ b/docs/sources/v0.49.x/javascript-api/k6-data/sharedarray.md @@ -37,7 +37,7 @@ Supported operations on a `SharedArray` include: In most cases, you should be able to reduce the memory usage of an array data structure by wrapping it in a `SharedArray`. Once constructed, a `SharedArray` is read-only, so **you can't use a SharedArray to communicate data between VUs**. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Attempting to instantiate a `SharedArray` outside of the [init context](https://grafana.com/docs/k6//using-k6/test-lifecycle) results in the exception `new SharedArray must be called in the init context`. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/browsercontext/pages.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/browsercontext/pages.md index 077be0b6a..f0c2c84b5 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/browsercontext/pages.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/browsercontext/pages.md @@ -5,7 +5,7 @@ description: 'Returns a list of pages inside this BrowserContext.' # pages() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#444](https://github.com/grafana/xk6-browser/issues/444). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md index 6c241fe74..58981ffec 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md @@ -5,7 +5,7 @@ description: "Sets the BrowserContext's geolocation." # setGeolocation(geolocation) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#435](https://github.com/grafana/xk6-browser/issues/435). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/dblclick.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/dblclick.md index 4aebcf3eb..1935904ed 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/dblclick.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/ishidden.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/ishidden.md index 029723da9..c54e1148e 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/ishidden.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isHidden(selector[, options]) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/isvisible.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/isvisible.md index 7708c9386..8d29035e0 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/isvisible.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/frame/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/isconnected.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/isconnected.md index 830473f3b..ed42db726 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/isconnected.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/isconnected.md @@ -5,7 +5,7 @@ description: 'Browser module: isConnected method' # isConnected() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#453](https://github.com/grafana/xk6-browser/issues/453). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/check.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/check.md index 1d5874429..6c37a0950 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/check.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/check.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.check method' # check([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#475](https://github.com/grafana/xk6-browser/issues/475). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/click.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/click.md index f78261fdb..8f7cff9cc 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/click.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/click.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.click method' # click([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#474](https://github.com/grafana/xk6-browser/issues/474). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/dblclick.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/dblclick.md index 176f1313f..26daa1140 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/dblclick.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.dblclick method' # dblclick([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/hover.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/hover.md index 03a63b8ee..3b0c03b4a 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/hover.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.hover method' # hover([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/selectoption.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/selectoption.md index 9641cac0e..ee8221f30 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/selectoption.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.selectOption method' # selectOption(values, [options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#470](https://github.com/grafana/xk6-browser/issues/470) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/tap.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/tap.md index b965538b3..4321281af 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/tap.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap method' # tap([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#436](https://github.com/grafana/xk6-browser/issues/436) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/uncheck.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/uncheck.md index 0ca3ea79f..5d36a9c7d 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/uncheck.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.uncheck method' # uncheck([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/waitfor.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/waitfor.md index 106242a64..8b96d4dd8 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/waitfor.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/locator/waitfor.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.waitFor method' # waitFor([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#472](https://github.com/grafana/xk6-browser/issues/472). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/newpage.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/newpage.md index 2a321ba2a..b63d6c1b5 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/newpage.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/newpage.md @@ -13,7 +13,7 @@ A 1-to-1 mapping between [Browser](https://grafana.com/docs/k6//java {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Pages that have been opened ought to be closed using [`Page.close`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/). Pages left open could potentially distort the results of Web Vital metrics. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/check.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/check.md index b946a1063..09a97b90a 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/check.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/check.md @@ -5,7 +5,7 @@ description: 'Browser module: page.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/check/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/click.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/click.md index 164558b50..c0f8c1d2b 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/click.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/click.md @@ -5,7 +5,7 @@ description: 'Browser module: page.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/click/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dblclick.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dblclick.md index 2836f9516..1ca7ca6fd 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dblclick.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dispatchevent.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dispatchevent.md index 6c3104d62..2bef4deed 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dispatchevent.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dispatchEvent(selector, type, eventInit[, opt # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dispatchevent/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dollar.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dollar.md index 9e62d1648..ef5f4810c 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dollar.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$(selector) method' # page.$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/doubledollar.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/doubledollar.md index fdea62683..7ce642ad3 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/doubledollar.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$$(selector) method' # page.$$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/fill.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/fill.md index 3c4b02ac7..a02f94339 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/fill.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: page.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/fill/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/focus.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/focus.md index fe4bca861..130c9dc05 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/focus.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: page.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/focus/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/getattribute.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/getattribute.md index 0df2ae64c..f389da48e 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/getattribute.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: page.getAttribute(selector, name[, options]) metho # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/getattribute/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/goto.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/goto.md index 474cb2dd5..d7c9d2c5d 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/goto.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/hover.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/hover.md index 659779034..cf2d8e710 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/hover.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: page.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/hover/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/innerhtml.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/innerhtml.md index a53ed3afb..6c2ff38b5 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/innerhtml.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innerhtml/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/innertext.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/innertext.md index dc6c47fc3..5496b80f2 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/innertext.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innertext/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/inputvalue.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/inputvalue.md index df99ad295..c73b13412 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/inputvalue.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: page.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/inputvalue/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/ischecked.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/ischecked.md index 18a88ac97..9247a61d0 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/ischecked.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ischecked/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isclosed.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isclosed.md index e5543c3ce..33bece27e 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isclosed.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isclosed.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isClosed() method' # isClosed() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#878](https://github.com/grafana/xk6-browser/issues/878). diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isdisabled.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isdisabled.md index 8b2cfa06f..e85cc8298 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isdisabled.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isdisabled/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/iseditable.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/iseditable.md index bf38c74aa..df0fa3b15 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/iseditable.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/iseditable/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isenabled.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isenabled.md index b59f56117..cb7ace457 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isenabled.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isenabled/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/ishidden.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/ishidden.md index 5f846b43f..1ebfc7542 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/ishidden.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isHidden(selector[, options) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isvisible.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isvisible.md index 1e91f850d..d981b6a73 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isvisible.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/on.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/on.md index cb6714c56..ad0c8f7ac 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/on.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/on.md @@ -12,7 +12,7 @@ Registers a handler to be called whenever the specified event occurs. | event | string | `''` | Event to attach the handler to. Currently, only the `'console'` event is supported. | | handler | function | `null` | A function to be called every time the specified event is emitted. | -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using the `page.on` method, the page has to be explicitly [closed](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/) for the iteration to be able to finish. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/press.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/press.md index 4f3850f38..01bfbf240 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/press.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/press.md @@ -5,7 +5,7 @@ description: 'Browser module: page.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/press/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/reload.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/reload.md index 9f57b5c12..5a3866fef 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/reload.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/reload.md @@ -19,7 +19,7 @@ This reloads the current page and returns the main resource response. ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/selectoption.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/selectoption.md index 1dac66c79..4124038b6 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/selectoption.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: page.selectOption(selector, values[, options]) met # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/selectoption/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/tap.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/tap.md index 626e4db50..3822ecae9 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/tap.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap(selector[, options]) method' # tap(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/tap/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/textcontent.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/textcontent.md index b6f8a294e..1d88860dd 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/textcontent.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/textcontent/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/type.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/type.md index 680347e12..d9b5e75c9 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/type.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/type.md @@ -5,7 +5,7 @@ description: 'Browser module: page.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/type/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/uncheck.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/uncheck.md index ecb729a68..9c2b71168 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/uncheck.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: page.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/uncheck/) instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md index 82470b7ba..76abbbbb3 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: page.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md index 0ed3ad819..ae29640c9 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md +++ b/docs/sources/v0.49.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.49.x/javascript-api/k6-http/batch.md b/docs/sources/v0.49.x/javascript-api/k6-http/batch.md index 1109550e4..a0d9ec5f2 100644 --- a/docs/sources/v0.49.x/javascript-api/k6-http/batch.md +++ b/docs/sources/v0.49.x/javascript-api/k6-http/batch.md @@ -30,7 +30,7 @@ You can use this GET shortcut in objects—name a key and give it a URL valu You can define a request specified as an array or object with the following parameters. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When you define requests as an array, you must use a specific order of items. Note the `Position` column for the correct order. diff --git a/docs/sources/v0.49.x/javascript-api/k6/group.md b/docs/sources/v0.49.x/javascript-api/k6/group.md index e9bb9c2ec..3038357e9 100644 --- a/docs/sources/v0.49.x/javascript-api/k6/group.md +++ b/docs/sources/v0.49.x/javascript-api/k6/group.md @@ -19,7 +19,7 @@ Run code inside a group. Groups are used to organize results in a test. | ---- | ------------------------- | | any | The return value of _fn_. | -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Avoid using `group` with async functions or asynchronous code. If you do, k6 might apply tags in a way that is unreliable or unintuitive. diff --git a/docs/sources/v0.49.x/misc/fine-tuning-os.md b/docs/sources/v0.49.x/misc/fine-tuning-os.md index 69e3c87ca..c6b0fb1ba 100644 --- a/docs/sources/v0.49.x/misc/fine-tuning-os.md +++ b/docs/sources/v0.49.x/misc/fine-tuning-os.md @@ -246,7 +246,7 @@ All that is left after this is to reboot your Mac back to the Recovery Mode, ope In most cases these limits should be enough to run most of your simple tests locally for some time, but you can modify the files above to any values you will need in your testing. -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Please be aware that all of these limitations are put in place to protect your operating system from files and applications that are poorly written and might leak memory like in huge quantities. We would suggest not going too overboard with the values, or you might find your system slowing down to a crawl if or when it runs out of RAM. diff --git a/docs/sources/v0.49.x/results-output/real-time/amazon-cloudwatch.md b/docs/sources/v0.49.x/results-output/real-time/amazon-cloudwatch.md index fa00e6a2b..353f7d9b2 100644 --- a/docs/sources/v0.49.x/results-output/real-time/amazon-cloudwatch.md +++ b/docs/sources/v0.49.x/results-output/real-time/amazon-cloudwatch.md @@ -6,7 +6,7 @@ weight: 00 # Amazon CloudWatch -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.49.x/results-output/real-time/cloud.md b/docs/sources/v0.49.x/results-output/real-time/cloud.md index ea27b691f..69a90e6ba 100644 --- a/docs/sources/v0.49.x/results-output/real-time/cloud.md +++ b/docs/sources/v0.49.x/results-output/real-time/cloud.md @@ -21,7 +21,7 @@ Fundamentally the difference is the machine that the test runs on: In all cases you'll be able to see your test results at [k6 Cloud](https://app.k6.io) or [Grafana Cloud](https://grafana.com/products/cloud/). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Data storage and processing are primary cloud costs, so `k6 run --out cloud` will consume VUH or test runs from your subscription. diff --git a/docs/sources/v0.49.x/results-output/real-time/datadog.md b/docs/sources/v0.49.x/results-output/real-time/datadog.md index 45c145c08..a85b407ff 100644 --- a/docs/sources/v0.49.x/results-output/real-time/datadog.md +++ b/docs/sources/v0.49.x/results-output/real-time/datadog.md @@ -6,7 +6,7 @@ weight: 00 # Datadog -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.49.x/results-output/real-time/dynatrace.md b/docs/sources/v0.49.x/results-output/real-time/dynatrace.md index bceb8775f..9ba918e31 100644 --- a/docs/sources/v0.49.x/results-output/real-time/dynatrace.md +++ b/docs/sources/v0.49.x/results-output/real-time/dynatrace.md @@ -39,7 +39,7 @@ To learn more about how to build custom k6 versions, check out [xk6](https://git Create a Dynatrace API token to send the data. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The Dynatrace API Token must have the scope name "metrics.ingest" (scope type `API v2`). {{< /admonition >}} diff --git a/docs/sources/v0.49.x/results-output/real-time/elasticsearch.md b/docs/sources/v0.49.x/results-output/real-time/elasticsearch.md index 0ce304355..8152b562b 100644 --- a/docs/sources/v0.49.x/results-output/real-time/elasticsearch.md +++ b/docs/sources/v0.49.x/results-output/real-time/elasticsearch.md @@ -62,7 +62,7 @@ export K6_ELASTICSEARCH_URL=http://localhost:9200 ./k6 run script.js -o output-elasticsearch ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Security and self-signed certificates for non-cloud clusters are not yet supported. {{< /admonition >}} diff --git a/docs/sources/v0.49.x/results-output/real-time/grafana-cloud-prometheus.md b/docs/sources/v0.49.x/results-output/real-time/grafana-cloud-prometheus.md index adbde79d7..a4ea7d62a 100644 --- a/docs/sources/v0.49.x/results-output/real-time/grafana-cloud-prometheus.md +++ b/docs/sources/v0.49.x/results-output/real-time/grafana-cloud-prometheus.md @@ -7,7 +7,7 @@ weight: 00 # Grafana Cloud Prometheus -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This page includes instructions for running a local test that sends the test results to a Prometheus instance in Grafana Cloud. diff --git a/docs/sources/v0.49.x/results-output/real-time/netdata.md b/docs/sources/v0.49.x/results-output/real-time/netdata.md index 48ed14ff0..175009cdc 100644 --- a/docs/sources/v0.49.x/results-output/real-time/netdata.md +++ b/docs/sources/v0.49.x/results-output/real-time/netdata.md @@ -6,7 +6,7 @@ weight: 00 # Netdata -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.49.x/results-output/real-time/newrelic.md b/docs/sources/v0.49.x/results-output/real-time/newrelic.md index fe25e02d0..ca739f350 100644 --- a/docs/sources/v0.49.x/results-output/real-time/newrelic.md +++ b/docs/sources/v0.49.x/results-output/real-time/newrelic.md @@ -7,7 +7,7 @@ slug: 'new-relic' # New Relic -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.49.x/results-output/real-time/statsd.md b/docs/sources/v0.49.x/results-output/real-time/statsd.md index 50cc0d33b..59aafe4b6 100644 --- a/docs/sources/v0.49.x/results-output/real-time/statsd.md +++ b/docs/sources/v0.49.x/results-output/real-time/statsd.md @@ -6,7 +6,7 @@ weight: 00 # StatsD -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.49.x/shared/blocking-aws-blockquote.md b/docs/sources/v0.49.x/shared/blocking-aws-blockquote.md index 64db0c113..fab1e9208 100644 --- a/docs/sources/v0.49.x/shared/blocking-aws-blockquote.md +++ b/docs/sources/v0.49.x/shared/blocking-aws-blockquote.md @@ -2,7 +2,7 @@ title: jslib/aws module blocking admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In some cases, using this library's operations might impact performance and skew your test results.
diff --git a/docs/sources/v0.49.x/shared/browser-module-wip.md b/docs/sources/v0.49.x/shared/browser-module-wip.md index c2c9cf084..23d531c75 100644 --- a/docs/sources/v0.49.x/shared/browser-module-wip.md +++ b/docs/sources/v0.49.x/shared/browser-module-wip.md @@ -2,7 +2,7 @@ title: k6/experimental/browser module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This API is a work in progress. Some of the following functionalities might behave unexpectedly. diff --git a/docs/sources/v0.49.x/shared/experimental-grpc-module.md b/docs/sources/v0.49.x/shared/experimental-grpc-module.md index ce934cb42..bb2c7a2af 100644 --- a/docs/sources/v0.49.x/shared/experimental-grpc-module.md +++ b/docs/sources/v0.49.x/shared/experimental-grpc-module.md @@ -2,7 +2,7 @@ title: Experimental grpc module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6//javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`. diff --git a/docs/sources/v0.49.x/shared/experimental-module.md b/docs/sources/v0.49.x/shared/experimental-module.md index 9cbe7a477..cc4337281 100644 --- a/docs/sources/v0.49.x/shared/experimental-module.md +++ b/docs/sources/v0.49.x/shared/experimental-module.md @@ -2,7 +2,7 @@ title: Experimental module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This is an experimental module.
diff --git a/docs/sources/v0.49.x/testing-guides/running-distributed-tests.md b/docs/sources/v0.49.x/testing-guides/running-distributed-tests.md index 7a06cfaa9..03db565ff 100644 --- a/docs/sources/v0.49.x/testing-guides/running-distributed-tests.md +++ b/docs/sources/v0.49.x/testing-guides/running-distributed-tests.md @@ -165,7 +165,7 @@ Let's create our ConfigMap as `my-test` with the content of our `test.js` script kubectl create configmap my-test --from-file test.js ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Limitations exist on how large your test script can be when deployed within a `ConfigMap`. Kubernetes imposes a size limit of 1,048,576 bytes (1 MiB) for the data, therefore if your test scripts exceed this limit, you'll need to mount a `PersistentVolume`. @@ -189,7 +189,7 @@ Organizing your test scripts was part of the discussion during [episode #76](htt {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using a `PersistentVolume`, the operator will expect all test scripts to be contained within a directory named `/test/`. @@ -244,7 +244,7 @@ The test script content was added to the map using the filename as the key-value The amount of `parallelism` is up to you; how many pods do you want to split the test amongst? The operator will split the workload between the pods using [execution segments](https://grafana.com/docs/k6//misc/glossary#execution-segment). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `ConfigMap` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). @@ -275,7 +275,7 @@ spec: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `PersistentVolumeClaim` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). diff --git a/docs/sources/v0.49.x/using-k6-browser/metrics.md b/docs/sources/v0.49.x/using-k6-browser/metrics.md index 638fa8c9d..829fc85d0 100644 --- a/docs/sources/v0.49.x/using-k6-browser/metrics.md +++ b/docs/sources/v0.49.x/using-k6-browser/metrics.md @@ -69,7 +69,7 @@ To set thresholds for your browser metrics: As the following example shows, you can also pass in different URLs if you're going to set a threshold for other pages, especially when your script contains page navigations. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Currently, you can only use URLs to specify thresholds for different pages. If you use [Groups](https://grafana.com/docs/k6//using-k6/tags-and-groups/#groups), the metrics are not correctly grouped as described in [#721](https://github.com/grafana/xk6-browser/issues/721). diff --git a/docs/sources/v0.49.x/using-k6/k6-options/reference.md b/docs/sources/v0.49.x/using-k6/k6-options/reference.md index 8694fbd6a..87c1fa97a 100644 --- a/docs/sources/v0.49.x/using-k6/k6-options/reference.md +++ b/docs/sources/v0.49.x/using-k6/k6-options/reference.md @@ -960,7 +960,7 @@ $ k6 run --out influxdb=http://localhost:8086/k6 script.js The maximum number of requests to make per second, in total across all VUs. Available in `k6 run` and `k6 cloud` commands. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This option is discouraged.**
@@ -1382,7 +1382,7 @@ export const options = { A list of cipher suites allowed to be used by in SSL/TLS interactions with a server. For a full listing of available ciphers go [here](https://golang.org/pkg/crypto/tls/#pkg-constants). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Due to limitations in the underlying [go implementation](https://github.com/golang/go/issues/29349), changing the ciphers for TLS 1.3 is _not_ supported and will do nothing. diff --git a/docs/sources/v0.49.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md b/docs/sources/v0.49.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md index 343102fb2..f5a8dea30 100644 --- a/docs/sources/v0.49.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md +++ b/docs/sources/v0.49.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md @@ -15,7 +15,7 @@ In other words, before the tests runs, you must both: Read on to learn about how k6 allocates VUs in the arrival-rate executors. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, **`preAllocatedVUs` count against your subscription.** @@ -91,7 +91,7 @@ As dropped iterations can also indicate that the system performance is degrading ## You probably don't need `maxVUs` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, the number of `maxVUs` counts against your subscription, **overriding the number set by `preAllocatedVUs`**. diff --git a/docs/sources/v0.49.x/using-k6/thresholds.md b/docs/sources/v0.49.x/using-k6/thresholds.md index 122f6ba2e..909354670 100644 --- a/docs/sources/v0.49.x/using-k6/thresholds.md +++ b/docs/sources/v0.49.x/using-k6/thresholds.md @@ -186,7 +186,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Do not specify multiple thresholds for the same metric by repeating the same object key. @@ -445,7 +445,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When k6 runs in the cloud, thresholds are evaluated every 60 seconds. Therefore, the `abortOnFail` feature may be delayed by up to 60 seconds. diff --git a/docs/sources/v0.50.x/extensions/build-k6-binary-using-docker.md b/docs/sources/v0.50.x/extensions/build-k6-binary-using-docker.md index 11b755953..10fd09d0d 100644 --- a/docs/sources/v0.50.x/extensions/build-k6-binary-using-docker.md +++ b/docs/sources/v0.50.x/extensions/build-k6-binary-using-docker.md @@ -122,7 +122,7 @@ Flags: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The use of `--replace` should be considered an advanced feature to be avoided unless required. diff --git a/docs/sources/v0.50.x/extensions/create/javascript-extensions.md b/docs/sources/v0.50.x/extensions/create/javascript-extensions.md index 528182aba..6e62262cd 100644 --- a/docs/sources/v0.50.x/extensions/create/javascript-extensions.md +++ b/docs/sources/v0.50.x/extensions/create/javascript-extensions.md @@ -176,7 +176,7 @@ to access the [`modules.VU`](https://pkg.go.dev/go.k6.io/k6/js/modules#VU) to in Additionally, there should be a root module implementation of the [`modules.Module`](https://pkg.go.dev/go.k6.io/k6/js/modules#Module) interface to serve as a factory of `Compare` instances for each VU. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The significance depends on the size of your module. diff --git a/docs/sources/v0.50.x/extensions/explanations/extension-graduation.md b/docs/sources/v0.50.x/extensions/explanations/extension-graduation.md index 85e51b09b..1a8e4063e 100644 --- a/docs/sources/v0.50.x/extensions/explanations/extension-graduation.md +++ b/docs/sources/v0.50.x/extensions/explanations/extension-graduation.md @@ -39,7 +39,7 @@ There should be a reasonably high degree of quality and stability at this point. This phase makes the feature accessible to more users, which in turn gives k6 developers more chances to receive feedback. The key will be to achieve a balance between usability and stability. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Not all experimental modules will progress to become a core module! The k6 team reserves the right to discontinue and remove any experimental module if is no longer deemed desirable. diff --git a/docs/sources/v0.50.x/javascript-api/jslib/httpx/_index.md b/docs/sources/v0.50.x/javascript-api/jslib/httpx/_index.md index a87ed76b3..92863cf21 100644 --- a/docs/sources/v0.50.x/javascript-api/jslib/httpx/_index.md +++ b/docs/sources/v0.50.x/javascript-api/jslib/httpx/_index.md @@ -19,7 +19,7 @@ httpx module integrates well with the expect library. The source code is [on GitHub](https://github.com/k6io/k6-jslib-httpx). Please request features and report bugs through [GitHub issues](https://github.com/k6io/k6-jslib-httpx/issues). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This library is in active development.** diff --git a/docs/sources/v0.50.x/javascript-api/k6-data/sharedarray.md b/docs/sources/v0.50.x/javascript-api/k6-data/sharedarray.md index b52539dde..5750ac52f 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-data/sharedarray.md +++ b/docs/sources/v0.50.x/javascript-api/k6-data/sharedarray.md @@ -37,7 +37,7 @@ Supported operations on a `SharedArray` include: In most cases, you should be able to reduce the memory usage of an array data structure by wrapping it in a `SharedArray`. Once constructed, a `SharedArray` is read-only, so **you can't use a SharedArray to communicate data between VUs**. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Attempting to instantiate a `SharedArray` outside of the [init context](https://grafana.com/docs/k6//using-k6/test-lifecycle) results in the exception `new SharedArray must be called in the init context`. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/browsercontext/pages.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/browsercontext/pages.md index 077be0b6a..f0c2c84b5 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/browsercontext/pages.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/browsercontext/pages.md @@ -5,7 +5,7 @@ description: 'Returns a list of pages inside this BrowserContext.' # pages() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#444](https://github.com/grafana/xk6-browser/issues/444). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md index 6c241fe74..58981ffec 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md @@ -5,7 +5,7 @@ description: "Sets the BrowserContext's geolocation." # setGeolocation(geolocation) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#435](https://github.com/grafana/xk6-browser/issues/435). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/dblclick.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/dblclick.md index 4aebcf3eb..1935904ed 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/dblclick.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/ishidden.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/ishidden.md index 029723da9..c54e1148e 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/ishidden.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isHidden(selector[, options]) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/isvisible.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/isvisible.md index 7708c9386..8d29035e0 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/isvisible.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/frame/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/isconnected.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/isconnected.md index 830473f3b..ed42db726 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/isconnected.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/isconnected.md @@ -5,7 +5,7 @@ description: 'Browser module: isConnected method' # isConnected() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#453](https://github.com/grafana/xk6-browser/issues/453). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/check.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/check.md index 1d5874429..6c37a0950 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/check.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/check.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.check method' # check([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#475](https://github.com/grafana/xk6-browser/issues/475). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/click.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/click.md index f78261fdb..8f7cff9cc 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/click.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/click.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.click method' # click([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#474](https://github.com/grafana/xk6-browser/issues/474). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/dblclick.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/dblclick.md index 176f1313f..26daa1140 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/dblclick.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.dblclick method' # dblclick([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/hover.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/hover.md index 03a63b8ee..3b0c03b4a 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/hover.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.hover method' # hover([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/selectoption.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/selectoption.md index 9641cac0e..ee8221f30 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/selectoption.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.selectOption method' # selectOption(values, [options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#470](https://github.com/grafana/xk6-browser/issues/470) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/tap.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/tap.md index b965538b3..4321281af 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/tap.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap method' # tap([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#436](https://github.com/grafana/xk6-browser/issues/436) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/uncheck.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/uncheck.md index 0ca3ea79f..5d36a9c7d 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/uncheck.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.uncheck method' # uncheck([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/waitfor.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/waitfor.md index 106242a64..8b96d4dd8 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/waitfor.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/locator/waitfor.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.waitFor method' # waitFor([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#472](https://github.com/grafana/xk6-browser/issues/472). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/newpage.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/newpage.md index 2a321ba2a..b63d6c1b5 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/newpage.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/newpage.md @@ -13,7 +13,7 @@ A 1-to-1 mapping between [Browser](https://grafana.com/docs/k6//java {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Pages that have been opened ought to be closed using [`Page.close`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/). Pages left open could potentially distort the results of Web Vital metrics. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/check.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/check.md index b946a1063..09a97b90a 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/check.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/check.md @@ -5,7 +5,7 @@ description: 'Browser module: page.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/check/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/click.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/click.md index 164558b50..c0f8c1d2b 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/click.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/click.md @@ -5,7 +5,7 @@ description: 'Browser module: page.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/click/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dblclick.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dblclick.md index 2836f9516..1ca7ca6fd 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dblclick.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dispatchevent.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dispatchevent.md index 6c3104d62..2bef4deed 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dispatchevent.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dispatchEvent(selector, type, eventInit[, opt # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dispatchevent/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dollar.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dollar.md index 9e62d1648..ef5f4810c 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dollar.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$(selector) method' # page.$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/doubledollar.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/doubledollar.md index fdea62683..7ce642ad3 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/doubledollar.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$$(selector) method' # page.$$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/fill.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/fill.md index 3c4b02ac7..a02f94339 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/fill.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: page.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/fill/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/focus.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/focus.md index fe4bca861..130c9dc05 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/focus.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: page.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/focus/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/getattribute.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/getattribute.md index 0df2ae64c..f389da48e 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/getattribute.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: page.getAttribute(selector, name[, options]) metho # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/getattribute/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/goto.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/goto.md index 474cb2dd5..d7c9d2c5d 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/goto.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/hover.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/hover.md index 659779034..cf2d8e710 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/hover.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: page.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/hover/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/innerhtml.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/innerhtml.md index a53ed3afb..6c2ff38b5 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/innerhtml.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innerhtml/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/innertext.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/innertext.md index dc6c47fc3..5496b80f2 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/innertext.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innertext/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/inputvalue.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/inputvalue.md index df99ad295..c73b13412 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/inputvalue.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: page.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/inputvalue/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/ischecked.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/ischecked.md index 18a88ac97..9247a61d0 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/ischecked.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ischecked/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isclosed.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isclosed.md index e5543c3ce..33bece27e 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isclosed.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isclosed.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isClosed() method' # isClosed() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#878](https://github.com/grafana/xk6-browser/issues/878). diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isdisabled.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isdisabled.md index 8b2cfa06f..e85cc8298 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isdisabled.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isdisabled/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/iseditable.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/iseditable.md index bf38c74aa..df0fa3b15 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/iseditable.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/iseditable/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isenabled.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isenabled.md index b59f56117..cb7ace457 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isenabled.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isenabled/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/ishidden.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/ishidden.md index 5f846b43f..1ebfc7542 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/ishidden.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isHidden(selector[, options) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isvisible.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isvisible.md index 1e91f850d..d981b6a73 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isvisible.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/on.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/on.md index cb6714c56..ad0c8f7ac 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/on.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/on.md @@ -12,7 +12,7 @@ Registers a handler to be called whenever the specified event occurs. | event | string | `''` | Event to attach the handler to. Currently, only the `'console'` event is supported. | | handler | function | `null` | A function to be called every time the specified event is emitted. | -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using the `page.on` method, the page has to be explicitly [closed](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/) for the iteration to be able to finish. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/press.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/press.md index 4f3850f38..01bfbf240 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/press.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/press.md @@ -5,7 +5,7 @@ description: 'Browser module: page.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/press/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/reload.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/reload.md index 9f57b5c12..5a3866fef 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/reload.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/reload.md @@ -19,7 +19,7 @@ This reloads the current page and returns the main resource response. ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/selectoption.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/selectoption.md index 1dac66c79..4124038b6 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/selectoption.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: page.selectOption(selector, values[, options]) met # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/selectoption/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/tap.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/tap.md index 626e4db50..3822ecae9 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/tap.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap(selector[, options]) method' # tap(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/tap/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/textcontent.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/textcontent.md index b6f8a294e..1d88860dd 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/textcontent.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/textcontent/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/type.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/type.md index 680347e12..d9b5e75c9 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/type.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/type.md @@ -5,7 +5,7 @@ description: 'Browser module: page.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/type/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/uncheck.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/uncheck.md index ecb729a68..9c2b71168 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/uncheck.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: page.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/uncheck/) instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md index 82470b7ba..76abbbbb3 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: page.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md index 0ed3ad819..ae29640c9 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.50.x/javascript-api/k6-http/batch.md b/docs/sources/v0.50.x/javascript-api/k6-http/batch.md index 1109550e4..a0d9ec5f2 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-http/batch.md +++ b/docs/sources/v0.50.x/javascript-api/k6-http/batch.md @@ -30,7 +30,7 @@ You can use this GET shortcut in objects—name a key and give it a URL valu You can define a request specified as an array or object with the following parameters. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When you define requests as an array, you must use a specific order of items. Note the `Position` column for the correct order. diff --git a/docs/sources/v0.50.x/javascript-api/k6/group.md b/docs/sources/v0.50.x/javascript-api/k6/group.md index e9bb9c2ec..3038357e9 100644 --- a/docs/sources/v0.50.x/javascript-api/k6/group.md +++ b/docs/sources/v0.50.x/javascript-api/k6/group.md @@ -19,7 +19,7 @@ Run code inside a group. Groups are used to organize results in a test. | ---- | ------------------------- | | any | The return value of _fn_. | -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Avoid using `group` with async functions or asynchronous code. If you do, k6 might apply tags in a way that is unreliable or unintuitive. diff --git a/docs/sources/v0.50.x/results-output/real-time/amazon-cloudwatch.md b/docs/sources/v0.50.x/results-output/real-time/amazon-cloudwatch.md index fa00e6a2b..353f7d9b2 100644 --- a/docs/sources/v0.50.x/results-output/real-time/amazon-cloudwatch.md +++ b/docs/sources/v0.50.x/results-output/real-time/amazon-cloudwatch.md @@ -6,7 +6,7 @@ weight: 00 # Amazon CloudWatch -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.50.x/results-output/real-time/cloud.md b/docs/sources/v0.50.x/results-output/real-time/cloud.md index 967bf952b..663294b54 100644 --- a/docs/sources/v0.50.x/results-output/real-time/cloud.md +++ b/docs/sources/v0.50.x/results-output/real-time/cloud.md @@ -21,7 +21,7 @@ Fundamentally the difference is the machine that the test runs on: In all cases you'll be able to see your test results at [k6 Cloud](https://app.k6.io) or [Grafana Cloud](https://grafana.com/products/cloud/). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Data storage and processing are primary cloud costs, so `k6 run --out cloud` will consume VUH or test runs from your subscription. diff --git a/docs/sources/v0.50.x/results-output/real-time/datadog.md b/docs/sources/v0.50.x/results-output/real-time/datadog.md index 45c145c08..a85b407ff 100644 --- a/docs/sources/v0.50.x/results-output/real-time/datadog.md +++ b/docs/sources/v0.50.x/results-output/real-time/datadog.md @@ -6,7 +6,7 @@ weight: 00 # Datadog -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.50.x/results-output/real-time/dynatrace.md b/docs/sources/v0.50.x/results-output/real-time/dynatrace.md index bceb8775f..9ba918e31 100644 --- a/docs/sources/v0.50.x/results-output/real-time/dynatrace.md +++ b/docs/sources/v0.50.x/results-output/real-time/dynatrace.md @@ -39,7 +39,7 @@ To learn more about how to build custom k6 versions, check out [xk6](https://git Create a Dynatrace API token to send the data. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The Dynatrace API Token must have the scope name "metrics.ingest" (scope type `API v2`). {{< /admonition >}} diff --git a/docs/sources/v0.50.x/results-output/real-time/elasticsearch.md b/docs/sources/v0.50.x/results-output/real-time/elasticsearch.md index 0ce304355..8152b562b 100644 --- a/docs/sources/v0.50.x/results-output/real-time/elasticsearch.md +++ b/docs/sources/v0.50.x/results-output/real-time/elasticsearch.md @@ -62,7 +62,7 @@ export K6_ELASTICSEARCH_URL=http://localhost:9200 ./k6 run script.js -o output-elasticsearch ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Security and self-signed certificates for non-cloud clusters are not yet supported. {{< /admonition >}} diff --git a/docs/sources/v0.50.x/results-output/real-time/grafana-cloud-prometheus.md b/docs/sources/v0.50.x/results-output/real-time/grafana-cloud-prometheus.md index 688046754..c9f290e0f 100644 --- a/docs/sources/v0.50.x/results-output/real-time/grafana-cloud-prometheus.md +++ b/docs/sources/v0.50.x/results-output/real-time/grafana-cloud-prometheus.md @@ -7,7 +7,7 @@ weight: 00 # Grafana Cloud Prometheus -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This page includes instructions for running a local test that sends the test results to a Prometheus instance in Grafana Cloud. diff --git a/docs/sources/v0.50.x/results-output/real-time/netdata.md b/docs/sources/v0.50.x/results-output/real-time/netdata.md index 48ed14ff0..175009cdc 100644 --- a/docs/sources/v0.50.x/results-output/real-time/netdata.md +++ b/docs/sources/v0.50.x/results-output/real-time/netdata.md @@ -6,7 +6,7 @@ weight: 00 # Netdata -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.50.x/results-output/real-time/newrelic.md b/docs/sources/v0.50.x/results-output/real-time/newrelic.md index fe25e02d0..ca739f350 100644 --- a/docs/sources/v0.50.x/results-output/real-time/newrelic.md +++ b/docs/sources/v0.50.x/results-output/real-time/newrelic.md @@ -7,7 +7,7 @@ slug: 'new-relic' # New Relic -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.50.x/results-output/real-time/statsd.md b/docs/sources/v0.50.x/results-output/real-time/statsd.md index d4a317443..afab724cc 100644 --- a/docs/sources/v0.50.x/results-output/real-time/statsd.md +++ b/docs/sources/v0.50.x/results-output/real-time/statsd.md @@ -6,7 +6,7 @@ weight: 00 # StatsD -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.50.x/set-up/fine-tune-os.md b/docs/sources/v0.50.x/set-up/fine-tune-os.md index f92e75e0e..d33abeedc 100644 --- a/docs/sources/v0.50.x/set-up/fine-tune-os.md +++ b/docs/sources/v0.50.x/set-up/fine-tune-os.md @@ -252,7 +252,7 @@ All that is left after this is to reboot your Mac back to the Recovery Mode, ope In most cases these limits should be enough to run most of your simple tests locally for some time, but you can modify the files above to any values you will need in your testing. -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Please be aware that all of these limitations are put in place to protect your operating system from files and applications that are poorly written and might leak memory like in huge quantities. We would suggest not going too overboard with the values, or you might find your system slowing down to a crawl if or when it runs out of RAM. diff --git a/docs/sources/v0.50.x/shared/blocking-aws-blockquote.md b/docs/sources/v0.50.x/shared/blocking-aws-blockquote.md index 64db0c113..fab1e9208 100644 --- a/docs/sources/v0.50.x/shared/blocking-aws-blockquote.md +++ b/docs/sources/v0.50.x/shared/blocking-aws-blockquote.md @@ -2,7 +2,7 @@ title: jslib/aws module blocking admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In some cases, using this library's operations might impact performance and skew your test results.
diff --git a/docs/sources/v0.50.x/shared/browser-module-wip.md b/docs/sources/v0.50.x/shared/browser-module-wip.md index c2c9cf084..23d531c75 100644 --- a/docs/sources/v0.50.x/shared/browser-module-wip.md +++ b/docs/sources/v0.50.x/shared/browser-module-wip.md @@ -2,7 +2,7 @@ title: k6/experimental/browser module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This API is a work in progress. Some of the following functionalities might behave unexpectedly. diff --git a/docs/sources/v0.50.x/shared/experimental-grpc-module.md b/docs/sources/v0.50.x/shared/experimental-grpc-module.md index ce934cb42..bb2c7a2af 100644 --- a/docs/sources/v0.50.x/shared/experimental-grpc-module.md +++ b/docs/sources/v0.50.x/shared/experimental-grpc-module.md @@ -2,7 +2,7 @@ title: Experimental grpc module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6//javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`. diff --git a/docs/sources/v0.50.x/shared/experimental-module.md b/docs/sources/v0.50.x/shared/experimental-module.md index 9cbe7a477..cc4337281 100644 --- a/docs/sources/v0.50.x/shared/experimental-module.md +++ b/docs/sources/v0.50.x/shared/experimental-module.md @@ -2,7 +2,7 @@ title: Experimental module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This is an experimental module.
diff --git a/docs/sources/v0.50.x/shared/experimental-timers-module.md b/docs/sources/v0.50.x/shared/experimental-timers-module.md index ca50ca72a..03a4d08af 100644 --- a/docs/sources/v0.50.x/shared/experimental-timers-module.md +++ b/docs/sources/v0.50.x/shared/experimental-timers-module.md @@ -2,7 +2,7 @@ title: Experimental timers module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Starting on k6 `v0.50`, the experimental module `k6/experimental/timers` has been graduated, and its functionality is now available in the [`k6/timers` module](https://grafana.com/docs/k6//javascript-api/k6-timers/). The `k6/experimental/timers` is deprecated and will be removed in `v0.52.0`. diff --git a/docs/sources/v0.50.x/testing-guides/running-distributed-tests.md b/docs/sources/v0.50.x/testing-guides/running-distributed-tests.md index 7a06cfaa9..03db565ff 100644 --- a/docs/sources/v0.50.x/testing-guides/running-distributed-tests.md +++ b/docs/sources/v0.50.x/testing-guides/running-distributed-tests.md @@ -165,7 +165,7 @@ Let's create our ConfigMap as `my-test` with the content of our `test.js` script kubectl create configmap my-test --from-file test.js ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Limitations exist on how large your test script can be when deployed within a `ConfigMap`. Kubernetes imposes a size limit of 1,048,576 bytes (1 MiB) for the data, therefore if your test scripts exceed this limit, you'll need to mount a `PersistentVolume`. @@ -189,7 +189,7 @@ Organizing your test scripts was part of the discussion during [episode #76](htt {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using a `PersistentVolume`, the operator will expect all test scripts to be contained within a directory named `/test/`. @@ -244,7 +244,7 @@ The test script content was added to the map using the filename as the key-value The amount of `parallelism` is up to you; how many pods do you want to split the test amongst? The operator will split the workload between the pods using [execution segments](https://grafana.com/docs/k6//misc/glossary#execution-segment). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `ConfigMap` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). @@ -275,7 +275,7 @@ spec: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `PersistentVolumeClaim` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). diff --git a/docs/sources/v0.50.x/using-k6-browser/metrics.md b/docs/sources/v0.50.x/using-k6-browser/metrics.md index 638fa8c9d..829fc85d0 100644 --- a/docs/sources/v0.50.x/using-k6-browser/metrics.md +++ b/docs/sources/v0.50.x/using-k6-browser/metrics.md @@ -69,7 +69,7 @@ To set thresholds for your browser metrics: As the following example shows, you can also pass in different URLs if you're going to set a threshold for other pages, especially when your script contains page navigations. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Currently, you can only use URLs to specify thresholds for different pages. If you use [Groups](https://grafana.com/docs/k6//using-k6/tags-and-groups/#groups), the metrics are not correctly grouped as described in [#721](https://github.com/grafana/xk6-browser/issues/721). diff --git a/docs/sources/v0.50.x/using-k6/k6-options/reference.md b/docs/sources/v0.50.x/using-k6/k6-options/reference.md index 10a61330c..b28ff30ae 100644 --- a/docs/sources/v0.50.x/using-k6/k6-options/reference.md +++ b/docs/sources/v0.50.x/using-k6/k6-options/reference.md @@ -960,7 +960,7 @@ $ k6 run --out influxdb=http://localhost:8086/k6 script.js The maximum number of requests to make per second, in total across all VUs. Available in `k6 run` and `k6 cloud` commands. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This option is discouraged.**
@@ -1382,7 +1382,7 @@ export const options = { A list of cipher suites allowed to be used by in SSL/TLS interactions with a server. For a full listing of available ciphers go [here](https://golang.org/pkg/crypto/tls/#pkg-constants). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Due to limitations in the underlying [go implementation](https://github.com/golang/go/issues/29349), changing the ciphers for TLS 1.3 is _not_ supported and will do nothing. diff --git a/docs/sources/v0.50.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md b/docs/sources/v0.50.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md index 343102fb2..f5a8dea30 100644 --- a/docs/sources/v0.50.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md +++ b/docs/sources/v0.50.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md @@ -15,7 +15,7 @@ In other words, before the tests runs, you must both: Read on to learn about how k6 allocates VUs in the arrival-rate executors. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, **`preAllocatedVUs` count against your subscription.** @@ -91,7 +91,7 @@ As dropped iterations can also indicate that the system performance is degrading ## You probably don't need `maxVUs` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, the number of `maxVUs` counts against your subscription, **overriding the number set by `preAllocatedVUs`**. diff --git a/docs/sources/v0.50.x/using-k6/thresholds.md b/docs/sources/v0.50.x/using-k6/thresholds.md index 122f6ba2e..909354670 100644 --- a/docs/sources/v0.50.x/using-k6/thresholds.md +++ b/docs/sources/v0.50.x/using-k6/thresholds.md @@ -186,7 +186,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Do not specify multiple thresholds for the same metric by repeating the same object key. @@ -445,7 +445,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When k6 runs in the cloud, thresholds are evaluated every 60 seconds. Therefore, the `abortOnFail` feature may be delayed by up to 60 seconds. diff --git a/docs/sources/v0.51.x/extensions/build-k6-binary-using-docker.md b/docs/sources/v0.51.x/extensions/build-k6-binary-using-docker.md index 11b755953..10fd09d0d 100644 --- a/docs/sources/v0.51.x/extensions/build-k6-binary-using-docker.md +++ b/docs/sources/v0.51.x/extensions/build-k6-binary-using-docker.md @@ -122,7 +122,7 @@ Flags: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The use of `--replace` should be considered an advanced feature to be avoided unless required. diff --git a/docs/sources/v0.51.x/extensions/create/javascript-extensions.md b/docs/sources/v0.51.x/extensions/create/javascript-extensions.md index 528182aba..6e62262cd 100644 --- a/docs/sources/v0.51.x/extensions/create/javascript-extensions.md +++ b/docs/sources/v0.51.x/extensions/create/javascript-extensions.md @@ -176,7 +176,7 @@ to access the [`modules.VU`](https://pkg.go.dev/go.k6.io/k6/js/modules#VU) to in Additionally, there should be a root module implementation of the [`modules.Module`](https://pkg.go.dev/go.k6.io/k6/js/modules#Module) interface to serve as a factory of `Compare` instances for each VU. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The significance depends on the size of your module. diff --git a/docs/sources/v0.51.x/extensions/explanations/extension-graduation.md b/docs/sources/v0.51.x/extensions/explanations/extension-graduation.md index 85e51b09b..1a8e4063e 100644 --- a/docs/sources/v0.51.x/extensions/explanations/extension-graduation.md +++ b/docs/sources/v0.51.x/extensions/explanations/extension-graduation.md @@ -39,7 +39,7 @@ There should be a reasonably high degree of quality and stability at this point. This phase makes the feature accessible to more users, which in turn gives k6 developers more chances to receive feedback. The key will be to achieve a balance between usability and stability. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Not all experimental modules will progress to become a core module! The k6 team reserves the right to discontinue and remove any experimental module if is no longer deemed desirable. diff --git a/docs/sources/v0.51.x/javascript-api/jslib/httpx/_index.md b/docs/sources/v0.51.x/javascript-api/jslib/httpx/_index.md index a87ed76b3..92863cf21 100644 --- a/docs/sources/v0.51.x/javascript-api/jslib/httpx/_index.md +++ b/docs/sources/v0.51.x/javascript-api/jslib/httpx/_index.md @@ -19,7 +19,7 @@ httpx module integrates well with the expect library. The source code is [on GitHub](https://github.com/k6io/k6-jslib-httpx). Please request features and report bugs through [GitHub issues](https://github.com/k6io/k6-jslib-httpx/issues). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This library is in active development.** diff --git a/docs/sources/v0.51.x/javascript-api/k6-data/sharedarray.md b/docs/sources/v0.51.x/javascript-api/k6-data/sharedarray.md index b52539dde..5750ac52f 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-data/sharedarray.md +++ b/docs/sources/v0.51.x/javascript-api/k6-data/sharedarray.md @@ -37,7 +37,7 @@ Supported operations on a `SharedArray` include: In most cases, you should be able to reduce the memory usage of an array data structure by wrapping it in a `SharedArray`. Once constructed, a `SharedArray` is read-only, so **you can't use a SharedArray to communicate data between VUs**. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Attempting to instantiate a `SharedArray` outside of the [init context](https://grafana.com/docs/k6//using-k6/test-lifecycle) results in the exception `new SharedArray must be called in the init context`. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/browsercontext/pages.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/browsercontext/pages.md index 077be0b6a..f0c2c84b5 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/browsercontext/pages.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/browsercontext/pages.md @@ -5,7 +5,7 @@ description: 'Returns a list of pages inside this BrowserContext.' # pages() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#444](https://github.com/grafana/xk6-browser/issues/444). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md index 6c241fe74..58981ffec 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/browsercontext/setgeolocation.md @@ -5,7 +5,7 @@ description: "Sets the BrowserContext's geolocation." # setGeolocation(geolocation) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#435](https://github.com/grafana/xk6-browser/issues/435). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/dblclick.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/dblclick.md index 4aebcf3eb..1935904ed 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/dblclick.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/ishidden.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/ishidden.md index 029723da9..c54e1148e 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/ishidden.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isHidden(selector[, options]) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/isvisible.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/isvisible.md index 7708c9386..8d29035e0 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/isvisible.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/frame/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/isconnected.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/isconnected.md index 830473f3b..ed42db726 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/isconnected.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/isconnected.md @@ -5,7 +5,7 @@ description: 'Browser module: isConnected method' # isConnected() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#453](https://github.com/grafana/xk6-browser/issues/453). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/check.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/check.md index 1d5874429..6c37a0950 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/check.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/check.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.check method' # check([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#475](https://github.com/grafana/xk6-browser/issues/475). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/click.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/click.md index f78261fdb..8f7cff9cc 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/click.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/click.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.click method' # click([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#474](https://github.com/grafana/xk6-browser/issues/474). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/dblclick.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/dblclick.md index 176f1313f..26daa1140 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/dblclick.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.dblclick method' # dblclick([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/hover.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/hover.md index 03a63b8ee..3b0c03b4a 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/hover.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.hover method' # hover([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/selectoption.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/selectoption.md index 9641cac0e..ee8221f30 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/selectoption.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.selectOption method' # selectOption(values, [options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#470](https://github.com/grafana/xk6-browser/issues/470) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/tap.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/tap.md index 39ffad2cd..fcf8ac573 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/tap.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap method' # tap([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#436](https://github.com/grafana/xk6-browser/issues/436) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/uncheck.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/uncheck.md index 0ca3ea79f..5d36a9c7d 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/uncheck.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.uncheck method' # uncheck([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/waitfor.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/waitfor.md index 106242a64..8b96d4dd8 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/waitfor.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/locator/waitfor.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.waitFor method' # waitFor([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#472](https://github.com/grafana/xk6-browser/issues/472). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/newpage.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/newpage.md index 2a321ba2a..b63d6c1b5 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/newpage.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/newpage.md @@ -13,7 +13,7 @@ A 1-to-1 mapping between [Browser](https://grafana.com/docs/k6//java {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Pages that have been opened ought to be closed using [`Page.close`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/). Pages left open could potentially distort the results of Web Vital metrics. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/check.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/check.md index b946a1063..09a97b90a 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/check.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/check.md @@ -5,7 +5,7 @@ description: 'Browser module: page.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/check/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/click.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/click.md index 164558b50..c0f8c1d2b 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/click.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/click.md @@ -5,7 +5,7 @@ description: 'Browser module: page.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/click/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dblclick.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dblclick.md index 2836f9516..1ca7ca6fd 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dblclick.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dispatchevent.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dispatchevent.md index 6c3104d62..2bef4deed 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dispatchevent.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dispatchEvent(selector, type, eventInit[, opt # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/dispatchevent/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dollar.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dollar.md index 9e62d1648..ef5f4810c 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dollar.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$(selector) method' # page.$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/doubledollar.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/doubledollar.md index fdea62683..7ce642ad3 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/doubledollar.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$$(selector) method' # page.$$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/locator/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/fill.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/fill.md index 3c4b02ac7..a02f94339 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/fill.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: page.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/fill/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/focus.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/focus.md index fe4bca861..130c9dc05 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/focus.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: page.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/focus/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/getattribute.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/getattribute.md index 0df2ae64c..f389da48e 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/getattribute.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: page.getAttribute(selector, name[, options]) metho # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/getattribute/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/goto.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/goto.md index 474cb2dd5..d7c9d2c5d 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/goto.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/hover.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/hover.md index 659779034..cf2d8e710 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/hover.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: page.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/hover/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/innerhtml.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/innerhtml.md index a53ed3afb..6c2ff38b5 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/innerhtml.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innerhtml/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/innertext.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/innertext.md index dc6c47fc3..5496b80f2 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/innertext.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/innertext/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/inputvalue.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/inputvalue.md index df99ad295..c73b13412 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/inputvalue.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: page.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/inputvalue/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/ischecked.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/ischecked.md index 18a88ac97..9247a61d0 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/ischecked.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ischecked/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isclosed.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isclosed.md index e5543c3ce..33bece27e 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isclosed.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isclosed.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isClosed() method' # isClosed() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#878](https://github.com/grafana/xk6-browser/issues/878). diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isdisabled.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isdisabled.md index 8b2cfa06f..e85cc8298 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isdisabled.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isdisabled/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/iseditable.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/iseditable.md index bf38c74aa..df0fa3b15 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/iseditable.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/iseditable/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isenabled.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isenabled.md index b59f56117..cb7ace457 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isenabled.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isenabled/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/ishidden.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/ishidden.md index 5f846b43f..1ebfc7542 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/ishidden.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isHidden(selector[, options) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isvisible.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isvisible.md index 1e91f850d..d981b6a73 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isvisible.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/on.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/on.md index cb6714c56..ad0c8f7ac 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/on.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/on.md @@ -12,7 +12,7 @@ Registers a handler to be called whenever the specified event occurs. | event | string | `''` | Event to attach the handler to. Currently, only the `'console'` event is supported. | | handler | function | `null` | A function to be called every time the specified event is emitted. | -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using the `page.on` method, the page has to be explicitly [closed](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/page/close/) for the iteration to be able to finish. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/press.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/press.md index 4f3850f38..01bfbf240 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/press.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/press.md @@ -5,7 +5,7 @@ description: 'Browser module: page.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/press/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/reload.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/reload.md index 9f57b5c12..5a3866fef 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/reload.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/reload.md @@ -19,7 +19,7 @@ This reloads the current page and returns the main resource response. ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/selectoption.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/selectoption.md index 1dac66c79..4124038b6 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/selectoption.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: page.selectOption(selector, values[, options]) met # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/selectoption/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/tap.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/tap.md index fdef9165b..ae44d171b 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/tap.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap(selector[, options]) method' # tap(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/tap/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/textcontent.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/textcontent.md index b6f8a294e..1d88860dd 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/textcontent.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/textcontent/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/type.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/type.md index 680347e12..d9b5e75c9 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/type.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/type.md @@ -5,7 +5,7 @@ description: 'Browser module: page.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/type/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/uncheck.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/uncheck.md index ecb729a68..9c2b71168 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/uncheck.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: page.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-experimental/browser/locator/uncheck/) instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md index 82470b7ba..76abbbbb3 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: page.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md index 0ed3ad819..ae29640c9 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md +++ b/docs/sources/v0.51.x/javascript-api/k6-experimental/browser/page/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.51.x/javascript-api/k6-http/batch.md b/docs/sources/v0.51.x/javascript-api/k6-http/batch.md index 1109550e4..a0d9ec5f2 100644 --- a/docs/sources/v0.51.x/javascript-api/k6-http/batch.md +++ b/docs/sources/v0.51.x/javascript-api/k6-http/batch.md @@ -30,7 +30,7 @@ You can use this GET shortcut in objects—name a key and give it a URL valu You can define a request specified as an array or object with the following parameters. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When you define requests as an array, you must use a specific order of items. Note the `Position` column for the correct order. diff --git a/docs/sources/v0.51.x/javascript-api/k6/group.md b/docs/sources/v0.51.x/javascript-api/k6/group.md index e9bb9c2ec..3038357e9 100644 --- a/docs/sources/v0.51.x/javascript-api/k6/group.md +++ b/docs/sources/v0.51.x/javascript-api/k6/group.md @@ -19,7 +19,7 @@ Run code inside a group. Groups are used to organize results in a test. | ---- | ------------------------- | | any | The return value of _fn_. | -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Avoid using `group` with async functions or asynchronous code. If you do, k6 might apply tags in a way that is unreliable or unintuitive. diff --git a/docs/sources/v0.51.x/results-output/real-time/amazon-cloudwatch.md b/docs/sources/v0.51.x/results-output/real-time/amazon-cloudwatch.md index fa00e6a2b..353f7d9b2 100644 --- a/docs/sources/v0.51.x/results-output/real-time/amazon-cloudwatch.md +++ b/docs/sources/v0.51.x/results-output/real-time/amazon-cloudwatch.md @@ -6,7 +6,7 @@ weight: 00 # Amazon CloudWatch -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.51.x/results-output/real-time/cloud.md b/docs/sources/v0.51.x/results-output/real-time/cloud.md index 967bf952b..663294b54 100644 --- a/docs/sources/v0.51.x/results-output/real-time/cloud.md +++ b/docs/sources/v0.51.x/results-output/real-time/cloud.md @@ -21,7 +21,7 @@ Fundamentally the difference is the machine that the test runs on: In all cases you'll be able to see your test results at [k6 Cloud](https://app.k6.io) or [Grafana Cloud](https://grafana.com/products/cloud/). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Data storage and processing are primary cloud costs, so `k6 run --out cloud` will consume VUH or test runs from your subscription. diff --git a/docs/sources/v0.51.x/results-output/real-time/datadog.md b/docs/sources/v0.51.x/results-output/real-time/datadog.md index 45c145c08..a85b407ff 100644 --- a/docs/sources/v0.51.x/results-output/real-time/datadog.md +++ b/docs/sources/v0.51.x/results-output/real-time/datadog.md @@ -6,7 +6,7 @@ weight: 00 # Datadog -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.51.x/results-output/real-time/dynatrace.md b/docs/sources/v0.51.x/results-output/real-time/dynatrace.md index bceb8775f..9ba918e31 100644 --- a/docs/sources/v0.51.x/results-output/real-time/dynatrace.md +++ b/docs/sources/v0.51.x/results-output/real-time/dynatrace.md @@ -39,7 +39,7 @@ To learn more about how to build custom k6 versions, check out [xk6](https://git Create a Dynatrace API token to send the data. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The Dynatrace API Token must have the scope name "metrics.ingest" (scope type `API v2`). {{< /admonition >}} diff --git a/docs/sources/v0.51.x/results-output/real-time/elasticsearch.md b/docs/sources/v0.51.x/results-output/real-time/elasticsearch.md index 0ce304355..8152b562b 100644 --- a/docs/sources/v0.51.x/results-output/real-time/elasticsearch.md +++ b/docs/sources/v0.51.x/results-output/real-time/elasticsearch.md @@ -62,7 +62,7 @@ export K6_ELASTICSEARCH_URL=http://localhost:9200 ./k6 run script.js -o output-elasticsearch ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Security and self-signed certificates for non-cloud clusters are not yet supported. {{< /admonition >}} diff --git a/docs/sources/v0.51.x/results-output/real-time/grafana-cloud-prometheus.md b/docs/sources/v0.51.x/results-output/real-time/grafana-cloud-prometheus.md index 688046754..c9f290e0f 100644 --- a/docs/sources/v0.51.x/results-output/real-time/grafana-cloud-prometheus.md +++ b/docs/sources/v0.51.x/results-output/real-time/grafana-cloud-prometheus.md @@ -7,7 +7,7 @@ weight: 00 # Grafana Cloud Prometheus -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This page includes instructions for running a local test that sends the test results to a Prometheus instance in Grafana Cloud. diff --git a/docs/sources/v0.51.x/results-output/real-time/netdata.md b/docs/sources/v0.51.x/results-output/real-time/netdata.md index 48ed14ff0..175009cdc 100644 --- a/docs/sources/v0.51.x/results-output/real-time/netdata.md +++ b/docs/sources/v0.51.x/results-output/real-time/netdata.md @@ -6,7 +6,7 @@ weight: 00 # Netdata -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.51.x/results-output/real-time/newrelic.md b/docs/sources/v0.51.x/results-output/real-time/newrelic.md index fe25e02d0..ca739f350 100644 --- a/docs/sources/v0.51.x/results-output/real-time/newrelic.md +++ b/docs/sources/v0.51.x/results-output/real-time/newrelic.md @@ -7,7 +7,7 @@ slug: 'new-relic' # New Relic -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.51.x/results-output/real-time/statsd.md b/docs/sources/v0.51.x/results-output/real-time/statsd.md index d4a317443..afab724cc 100644 --- a/docs/sources/v0.51.x/results-output/real-time/statsd.md +++ b/docs/sources/v0.51.x/results-output/real-time/statsd.md @@ -6,7 +6,7 @@ weight: 00 # StatsD -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.51.x/set-up/fine-tune-os.md b/docs/sources/v0.51.x/set-up/fine-tune-os.md index f92e75e0e..d33abeedc 100644 --- a/docs/sources/v0.51.x/set-up/fine-tune-os.md +++ b/docs/sources/v0.51.x/set-up/fine-tune-os.md @@ -252,7 +252,7 @@ All that is left after this is to reboot your Mac back to the Recovery Mode, ope In most cases these limits should be enough to run most of your simple tests locally for some time, but you can modify the files above to any values you will need in your testing. -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Please be aware that all of these limitations are put in place to protect your operating system from files and applications that are poorly written and might leak memory like in huge quantities. We would suggest not going too overboard with the values, or you might find your system slowing down to a crawl if or when it runs out of RAM. diff --git a/docs/sources/v0.51.x/shared/blocking-aws-blockquote.md b/docs/sources/v0.51.x/shared/blocking-aws-blockquote.md index 64db0c113..fab1e9208 100644 --- a/docs/sources/v0.51.x/shared/blocking-aws-blockquote.md +++ b/docs/sources/v0.51.x/shared/blocking-aws-blockquote.md @@ -2,7 +2,7 @@ title: jslib/aws module blocking admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In some cases, using this library's operations might impact performance and skew your test results.
diff --git a/docs/sources/v0.51.x/shared/browser-module-wip.md b/docs/sources/v0.51.x/shared/browser-module-wip.md index c2c9cf084..23d531c75 100644 --- a/docs/sources/v0.51.x/shared/browser-module-wip.md +++ b/docs/sources/v0.51.x/shared/browser-module-wip.md @@ -2,7 +2,7 @@ title: k6/experimental/browser module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This API is a work in progress. Some of the following functionalities might behave unexpectedly. diff --git a/docs/sources/v0.51.x/shared/experimental-grpc-module.md b/docs/sources/v0.51.x/shared/experimental-grpc-module.md index ce934cb42..bb2c7a2af 100644 --- a/docs/sources/v0.51.x/shared/experimental-grpc-module.md +++ b/docs/sources/v0.51.x/shared/experimental-grpc-module.md @@ -2,7 +2,7 @@ title: Experimental grpc module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6//javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`. diff --git a/docs/sources/v0.51.x/shared/experimental-module.md b/docs/sources/v0.51.x/shared/experimental-module.md index 9cbe7a477..cc4337281 100644 --- a/docs/sources/v0.51.x/shared/experimental-module.md +++ b/docs/sources/v0.51.x/shared/experimental-module.md @@ -2,7 +2,7 @@ title: Experimental module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This is an experimental module.
diff --git a/docs/sources/v0.51.x/shared/experimental-timers-module.md b/docs/sources/v0.51.x/shared/experimental-timers-module.md index ca50ca72a..03a4d08af 100644 --- a/docs/sources/v0.51.x/shared/experimental-timers-module.md +++ b/docs/sources/v0.51.x/shared/experimental-timers-module.md @@ -2,7 +2,7 @@ title: Experimental timers module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Starting on k6 `v0.50`, the experimental module `k6/experimental/timers` has been graduated, and its functionality is now available in the [`k6/timers` module](https://grafana.com/docs/k6//javascript-api/k6-timers/). The `k6/experimental/timers` is deprecated and will be removed in `v0.52.0`. diff --git a/docs/sources/v0.51.x/testing-guides/running-distributed-tests.md b/docs/sources/v0.51.x/testing-guides/running-distributed-tests.md index 7a06cfaa9..03db565ff 100644 --- a/docs/sources/v0.51.x/testing-guides/running-distributed-tests.md +++ b/docs/sources/v0.51.x/testing-guides/running-distributed-tests.md @@ -165,7 +165,7 @@ Let's create our ConfigMap as `my-test` with the content of our `test.js` script kubectl create configmap my-test --from-file test.js ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Limitations exist on how large your test script can be when deployed within a `ConfigMap`. Kubernetes imposes a size limit of 1,048,576 bytes (1 MiB) for the data, therefore if your test scripts exceed this limit, you'll need to mount a `PersistentVolume`. @@ -189,7 +189,7 @@ Organizing your test scripts was part of the discussion during [episode #76](htt {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using a `PersistentVolume`, the operator will expect all test scripts to be contained within a directory named `/test/`. @@ -244,7 +244,7 @@ The test script content was added to the map using the filename as the key-value The amount of `parallelism` is up to you; how many pods do you want to split the test amongst? The operator will split the workload between the pods using [execution segments](https://grafana.com/docs/k6//misc/glossary#execution-segment). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `ConfigMap` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). @@ -275,7 +275,7 @@ spec: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `PersistentVolumeClaim` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). diff --git a/docs/sources/v0.51.x/using-k6-browser/metrics.md b/docs/sources/v0.51.x/using-k6-browser/metrics.md index 638fa8c9d..829fc85d0 100644 --- a/docs/sources/v0.51.x/using-k6-browser/metrics.md +++ b/docs/sources/v0.51.x/using-k6-browser/metrics.md @@ -69,7 +69,7 @@ To set thresholds for your browser metrics: As the following example shows, you can also pass in different URLs if you're going to set a threshold for other pages, especially when your script contains page navigations. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Currently, you can only use URLs to specify thresholds for different pages. If you use [Groups](https://grafana.com/docs/k6//using-k6/tags-and-groups/#groups), the metrics are not correctly grouped as described in [#721](https://github.com/grafana/xk6-browser/issues/721). diff --git a/docs/sources/v0.51.x/using-k6/k6-options/reference.md b/docs/sources/v0.51.x/using-k6/k6-options/reference.md index 619f081ad..6a3092c33 100644 --- a/docs/sources/v0.51.x/using-k6/k6-options/reference.md +++ b/docs/sources/v0.51.x/using-k6/k6-options/reference.md @@ -960,7 +960,7 @@ $ k6 run --out influxdb=http://localhost:8086/k6 script.js The maximum number of requests to make per second, in total across all VUs. Available in `k6 run` and `k6 cloud` commands. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This option is discouraged.**
@@ -1382,7 +1382,7 @@ export const options = { A list of cipher suites allowed to be used by in SSL/TLS interactions with a server. For a full listing of available ciphers go [here](https://golang.org/pkg/crypto/tls/#pkg-constants). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Due to limitations in the underlying [go implementation](https://github.com/golang/go/issues/29349), changing the ciphers for TLS 1.3 is _not_ supported and will do nothing. diff --git a/docs/sources/v0.51.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md b/docs/sources/v0.51.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md index 343102fb2..f5a8dea30 100644 --- a/docs/sources/v0.51.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md +++ b/docs/sources/v0.51.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md @@ -15,7 +15,7 @@ In other words, before the tests runs, you must both: Read on to learn about how k6 allocates VUs in the arrival-rate executors. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, **`preAllocatedVUs` count against your subscription.** @@ -91,7 +91,7 @@ As dropped iterations can also indicate that the system performance is degrading ## You probably don't need `maxVUs` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, the number of `maxVUs` counts against your subscription, **overriding the number set by `preAllocatedVUs`**. diff --git a/docs/sources/v0.51.x/using-k6/thresholds.md b/docs/sources/v0.51.x/using-k6/thresholds.md index 122f6ba2e..909354670 100644 --- a/docs/sources/v0.51.x/using-k6/thresholds.md +++ b/docs/sources/v0.51.x/using-k6/thresholds.md @@ -186,7 +186,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Do not specify multiple thresholds for the same metric by repeating the same object key. @@ -445,7 +445,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When k6 runs in the cloud, thresholds are evaluated every 60 seconds. Therefore, the `abortOnFail` feature may be delayed by up to 60 seconds. diff --git a/docs/sources/v0.52.x/extensions/build-k6-binary-using-docker.md b/docs/sources/v0.52.x/extensions/build-k6-binary-using-docker.md index 11b755953..10fd09d0d 100644 --- a/docs/sources/v0.52.x/extensions/build-k6-binary-using-docker.md +++ b/docs/sources/v0.52.x/extensions/build-k6-binary-using-docker.md @@ -122,7 +122,7 @@ Flags: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The use of `--replace` should be considered an advanced feature to be avoided unless required. diff --git a/docs/sources/v0.52.x/extensions/create/javascript-extensions.md b/docs/sources/v0.52.x/extensions/create/javascript-extensions.md index af23a5da1..bff3ba2e7 100644 --- a/docs/sources/v0.52.x/extensions/create/javascript-extensions.md +++ b/docs/sources/v0.52.x/extensions/create/javascript-extensions.md @@ -176,7 +176,7 @@ to access the [`modules.VU`](https://pkg.go.dev/go.k6.io/k6/js/modules#VU) to in Additionally, there should be a root module implementation of the [`modules.Module`](https://pkg.go.dev/go.k6.io/k6/js/modules#Module) interface to serve as a factory of `Compare` instances for each VU. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The significance depends on the size of your module. diff --git a/docs/sources/v0.52.x/extensions/explanations/extension-graduation.md b/docs/sources/v0.52.x/extensions/explanations/extension-graduation.md index 85e51b09b..1a8e4063e 100644 --- a/docs/sources/v0.52.x/extensions/explanations/extension-graduation.md +++ b/docs/sources/v0.52.x/extensions/explanations/extension-graduation.md @@ -39,7 +39,7 @@ There should be a reasonably high degree of quality and stability at this point. This phase makes the feature accessible to more users, which in turn gives k6 developers more chances to receive feedback. The key will be to achieve a balance between usability and stability. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Not all experimental modules will progress to become a core module! The k6 team reserves the right to discontinue and remove any experimental module if is no longer deemed desirable. diff --git a/docs/sources/v0.52.x/javascript-api/jslib/httpx/_index.md b/docs/sources/v0.52.x/javascript-api/jslib/httpx/_index.md index a87ed76b3..92863cf21 100644 --- a/docs/sources/v0.52.x/javascript-api/jslib/httpx/_index.md +++ b/docs/sources/v0.52.x/javascript-api/jslib/httpx/_index.md @@ -19,7 +19,7 @@ httpx module integrates well with the expect library. The source code is [on GitHub](https://github.com/k6io/k6-jslib-httpx). Please request features and report bugs through [GitHub issues](https://github.com/k6io/k6-jslib-httpx/issues). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This library is in active development.** diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/browsercontext/pages.md b/docs/sources/v0.52.x/javascript-api/k6-browser/browsercontext/pages.md index 2414691f9..9f3e36d4d 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/browsercontext/pages.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/browsercontext/pages.md @@ -5,7 +5,7 @@ description: 'Returns a list of pages inside this BrowserContext.' # pages() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#444](https://github.com/grafana/xk6-browser/issues/444). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/browsercontext/setgeolocation.md b/docs/sources/v0.52.x/javascript-api/k6-browser/browsercontext/setgeolocation.md index d2df9db78..0902055af 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/browsercontext/setgeolocation.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/browsercontext/setgeolocation.md @@ -5,7 +5,7 @@ description: "Sets the BrowserContext's geolocation." # setGeolocation(geolocation) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#435](https://github.com/grafana/xk6-browser/issues/435). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/check.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/check.md index 626c01d13..2015c2b94 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/check.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/check.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.check method' # check([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/check/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/click.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/click.md index 5b9cb624c..95f8e8aa3 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/click.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/click.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.click method' # click([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/click/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/dblclick.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/dblclick.md index 07983accf..c563286d4 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/dblclick.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.dblclick method' # dblclick([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/dispatchevent.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/dispatchevent.md index 4c191d433..77858c068 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/dispatchevent.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.dispatchEvent method' # dispatchEvent(type, eventInit) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dispatchevent/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/fill.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/fill.md index 00377768f..c64795429 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/fill.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.fill method' # fill(value, [options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.fill(value, [options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/fill/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/focus.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/focus.md index 5f1e8da2b..4f1cec19c 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/focus.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.focus method' # focus() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/focus/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/getattribute.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/getattribute.md index e1dc766ce..b20ecf381 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/getattribute.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.getAttribute method' # getAttribute(name) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.getAttribute(name[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/getattribute/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/hover.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/hover.md index 2549037dc..a91bb482c 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/hover.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.hover method' # hover([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/hover/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/innerhtml.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/innerhtml.md index d732c9318..0c4734fd3 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/innerhtml.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.innerHTML method' # innerHTML() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innerhtml/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/innertext.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/innertext.md index fd28fc943..339bac309 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/innertext.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.innerText method' # innerText() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innertext/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/ischecked.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/ischecked.md index 4a33e89e6..75e4ccaa3 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/ischecked.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isChecked method' # isChecked() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ischecked/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isdisabled.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isdisabled.md index c4bf0a30f..257a0608f 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isdisabled.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isDisabled method' # isDisabled() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isdisabled/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/iseditable.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/iseditable.md index 32cb3ce5b..bf8030abb 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/iseditable.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isEditable method' # isEditable() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/iseditable/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isenabled.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isenabled.md index d8dd6ed57..4f1c0ac6d 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isenabled.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isEnabled method' # isEnabled() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isenabled/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/ishidden.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/ishidden.md index cda8ad0ee..6d7d1e8dd 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/ishidden.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isHidden method' # isHidden() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isHidden()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isvisible.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isvisible.md index ecfc22e91..7c663cee7 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isvisible.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.isVisible method' # isVisible() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.isVisible()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/press.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/press.md index 186dc1721..d92596645 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/press.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/press.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.press method' # press(key, [options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.press(key[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/press/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/query.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/query.md index c2ac95724..dfe18d3ee 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/query.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/query.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.$ method' # $(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`page.locator(selector[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/selectoption.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/selectoption.md index 546e5242e..b4fe42747 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/selectoption.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.selectOption method' # selectOption(values, [options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.selectOption(values[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/selectoption/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/tap.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/tap.md index 3e5d1dfd5..9f4205af3 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/tap.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: elementhandle.tap method' # tap(options) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/tap/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/textcontent.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/textcontent.md index 5814ce426..9a79806b9 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/textcontent.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.textContent method' # textContent() -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/textcontent/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/type.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/type.md index 6c141d7ba..d383977b0 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/type.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/type.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.type method' # type(text, [options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.type([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/type/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/uncheck.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/uncheck.md index b51e33ec1..9aa44b76b 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/uncheck.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.uncheck method' # uncheck([options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/uncheck/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/waitforselector.md b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/waitforselector.md index 11a4af29a..7506feabb 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/waitforselector.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/waitforselector.md @@ -5,7 +5,7 @@ description: 'Browser module: elementHandle.waitForSelector method' # waitForSelector(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use [`locator.waitFor([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/waitfor/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/check.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/check.md index e6b785174..b6dd385b2 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/check.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/check.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/check/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/click.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/click.md index 9cbac2059..e687ff26d 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/click.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/click.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/click/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dblclick.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dblclick.md index e02a2fd1e..3f6fbc594 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dblclick.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dispatchevent.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dispatchevent.md index bf2f04762..1de3b8a89 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dispatchevent.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.dispatchEvent(selector, type, eventInit[, op # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dispatchevent/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dollar.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dollar.md index 363ae7fe6..2a3692c37 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dollar.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: frame.$(selector) method' # $(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`frame.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-browser/frame/locator/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/doubledollar.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/doubledollar.md index 05d303451..dc5710b9c 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/doubledollar.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: frame.$$(selector) method' # $$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`frame.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-browser/frame/locator/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/fill.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/fill.md index 590007338..f3447496a 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/fill.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/fill/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/focus.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/focus.md index 0247a1968..a9f656a01 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/focus.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/focus/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/getattribute.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/getattribute.md index 7c6bdc858..c302013f9 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/getattribute.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.getAttribute(selector, name[, options]) meth # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/getattribute/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/goto.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/goto.md index ecfbd7a2f..f8a12dc62 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/goto.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/hover.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/hover.md index 6fe731cc5..1bec70ec9 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/hover.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/hover/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/innerhtml.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/innerhtml.md index ecfa493fa..5391d4309 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/innerhtml.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innerhtml/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/innertext.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/innertext.md index 5749ae3fc..4d1d2f884 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/innertext.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innertext/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/inputvalue.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/inputvalue.md index 946abe4ac..ca42492dc 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/inputvalue.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/inputvalue/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/ischecked.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/ischecked.md index 3f5ef6666..e19b3c0ed 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/ischecked.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ischecked/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isdisabled.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isdisabled.md index 0c9214aff..7c38d08a7 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isdisabled.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isdisabled/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/iseditable.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/iseditable.md index f24682079..d80395d4e 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/iseditable.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/iseditable/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isenabled.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isenabled.md index 348907669..4df0359fe 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isenabled.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isenabled/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/ishidden.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/ishidden.md index 9387571e8..b297c186e 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/ishidden.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isHidden(selector[, options]) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isvisible.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isvisible.md index 418c3f036..099035b61 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isvisible.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/press.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/press.md index 9419e107d..28d60ab71 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/press.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/press.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/press/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/selectoption.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/selectoption.md index af33f351e..4035175fa 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/selectoption.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.selectOption(selector, values[, options]) me # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/selectoption/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/textcontent.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/textcontent.md index c79c5434d..12eb52e6a 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/textcontent.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/textcontent/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/type.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/type.md index d71dcf5d2..27023e4e9 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/type.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/type.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/type/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/uncheck.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/uncheck.md index 7bf15b58d..86ba65cfb 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/uncheck.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/uncheck/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/waitforloadstate.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/waitforloadstate.md index a49d4bacb..18244fd25 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/waitforloadstate.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: frame.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/waitfornavigation.md b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/waitfornavigation.md index efcc511c9..5fda14139 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/frame/waitfornavigation.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/frame/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/isconnected.md b/docs/sources/v0.52.x/javascript-api/k6-browser/isconnected.md index a1fe1d082..0f6314a48 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/isconnected.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/isconnected.md @@ -5,7 +5,7 @@ description: 'Browser module: isConnected method' # isConnected() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#453](https://github.com/grafana/xk6-browser/issues/453). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/check.md b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/check.md index 6296a6f35..81489995e 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/check.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/check.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.check method' # check([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#475](https://github.com/grafana/xk6-browser/issues/475). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/click.md b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/click.md index 9f23a4376..3751cca72 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/click.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/click.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.click method' # click([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471) and [#474](https://github.com/grafana/xk6-browser/issues/474). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/dblclick.md b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/dblclick.md index 41b2600fa..ca3c70c27 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/dblclick.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.dblclick method' # dblclick([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/hover.md b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/hover.md index 873bba87c..b20ad2fc5 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/hover.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.hover method' # hover([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/selectoption.md b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/selectoption.md index dbe7aa514..7019f8a69 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/selectoption.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.selectOption method' # selectOption(values, [options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#470](https://github.com/grafana/xk6-browser/issues/470) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/tap.md b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/tap.md index 5384651e0..3b63fedd5 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/tap.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap method' # tap([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#436](https://github.com/grafana/xk6-browser/issues/436) and [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/uncheck.md b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/uncheck.md index d5106d1a9..f5e81d172 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/uncheck.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.uncheck method' # uncheck([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/waitfor.md b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/waitfor.md index 4ad02d283..54ba2afcf 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/locator/waitfor.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/locator/waitfor.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.waitFor method' # waitFor([options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This feature has **known issues**. For details, refer to [#472](https://github.com/grafana/xk6-browser/issues/472). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/newpage.md b/docs/sources/v0.52.x/javascript-api/k6-browser/newpage.md index a263ea712..ac6927760 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/newpage.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/newpage.md @@ -13,7 +13,7 @@ A 1-to-1 mapping between [Browser](https://grafana.com/docs/k6//java {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Pages that have been opened ought to be closed using [`Page.close`](https://grafana.com/docs/k6//javascript-api/k6-browser/page/close/). Pages left open could potentially distort the results of Web Vital metrics. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/check.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/check.md index 89d4dfd5a..8cd629f50 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/check.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/check.md @@ -5,7 +5,7 @@ description: 'Browser module: page.check(selector[, options]) method' # check(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.check([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/check/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/click.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/click.md index bafb6adc9..f7c2e11ca 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/click.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/click.md @@ -5,7 +5,7 @@ description: 'Browser module: page.click(selector[, options]) method' # click(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.click([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/click/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/dblclick.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/dblclick.md index 0903b1ac6..606aa4322 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/dblclick.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/dblclick.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dblclick(selector[, options]) method' # dblclick(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dblclick/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/dispatchevent.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/dispatchevent.md index 042834aa8..3052ec254 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/dispatchevent.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/dispatchevent.md @@ -5,7 +5,7 @@ description: 'Browser module: page.dispatchEvent(selector, type, eventInit[, opt # dispatchEvent(selector, type, eventInit[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.dispatchEvent(type, eventInit[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/dispatchevent/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/dollar.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/dollar.md index 2ea3b3204..4590ffbc6 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/dollar.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/dollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$(selector) method' # page.$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-browser/page/locator/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/doubledollar.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/doubledollar.md index 497368afe..f83637685 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/doubledollar.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/doubledollar.md @@ -6,7 +6,7 @@ description: 'Browser module: page.$$(selector) method' # page.$$(selector) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`page.locator(selector)`](https://grafana.com/docs/k6//javascript-api/k6-browser/page/locator/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/fill.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/fill.md index 373c3ce1e..c69d5788c 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/fill.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/fill.md @@ -5,7 +5,7 @@ description: 'Browser module: page.fill(selector, value[, options]) method' # fill(selector, value[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.fill(value[, options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/fill/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/focus.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/focus.md index 79aeebac1..cf34c645a 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/focus.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/focus.md @@ -5,7 +5,7 @@ description: 'Browser module: page.focus(selector[, options]) method' # focus(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.focus([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/focus/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/getattribute.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/getattribute.md index 6f63d2d0e..4334b015e 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/getattribute.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/getattribute.md @@ -5,7 +5,7 @@ description: 'Browser module: page.getAttribute(selector, name[, options]) metho # getAttribute(selector, name[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.getAttribute()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/getattribute/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/goto.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/goto.md index e110cd282..b5d2762bc 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/goto.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/goto.md @@ -23,7 +23,7 @@ Navigating to `about:blank` or navigation to the same URL with a different hash, ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/hover.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/hover.md index 2aca11003..18732ef7c 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/hover.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/hover.md @@ -5,7 +5,7 @@ description: 'Browser module: page.hover(selector[, options]) method' # hover(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.hover([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/hover/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/innerhtml.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/innerhtml.md index ead168042..9f1b7ea65 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/innerhtml.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/innerhtml.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerHTML(selector[, options]) method' # innerHTML(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerHTML([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innerhtml/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/innertext.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/innertext.md index ad1ea2e8b..e69200b99 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/innertext.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/innertext.md @@ -5,7 +5,7 @@ description: 'Browser module: page.innerText(selector[, options]) method' # innerText(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.innerText([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/innertext/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/inputvalue.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/inputvalue.md index c139aca99..e9bb762dc 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/inputvalue.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/inputvalue.md @@ -5,7 +5,7 @@ description: 'Browser module: page.inputValue(selector[, options]) method' # inputValue(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.inputValue([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/inputvalue/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/ischecked.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/ischecked.md index 578e93c5e..e9cfe4ea1 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/ischecked.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/ischecked.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isChecked(selector[, options]) method' # isChecked(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isChecked([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ischecked/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/isclosed.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/isclosed.md index 22eab31d0..a5e873c4b 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/isclosed.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/isclosed.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isClosed() method' # isClosed() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#878](https://github.com/grafana/xk6-browser/issues/878). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/isdisabled.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/isdisabled.md index 3bc5d3f5a..07021610e 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/isdisabled.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/isdisabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isDisabled(selector[, options]) method' # isDisabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isDisabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isdisabled/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/iseditable.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/iseditable.md index 32bb92800..db605fa0d 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/iseditable.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/iseditable.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEditable(selector[, options]) method' # isEditable(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEditable([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/iseditable/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/isenabled.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/isenabled.md index f8c958415..8f555cf66 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/isenabled.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/isenabled.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isEnabled(selector[, options]) method' # isEnabled(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isEnabled([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isenabled/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/ishidden.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/ishidden.md index a8d3ac26d..a431e8fa3 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/ishidden.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/ishidden.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isHidden(selector[, options) method' # isHidden(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isHidden([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/ishidden/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/isvisible.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/isvisible.md index 1c205a4eb..42df4db97 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/isvisible.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/isvisible.md @@ -5,7 +5,7 @@ description: 'Browser module: page.isVisible(selector[, options]) method' # isVisible(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/isvisible/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/on.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/on.md index 1860f3e01..a66aa7349 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/on.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/on.md @@ -12,7 +12,7 @@ Registers a handler to be called whenever the specified event occurs. | event | string | `''` | Event to attach the handler to. Currently, only the `'console'` event is supported. | | handler | function | `null` | A function to be called every time the specified event is emitted. | -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using the `page.on` method, the page has to be explicitly [closed](https://grafana.com/docs/k6//javascript-api/k6-browser/page/close/) for the iteration to be able to finish. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/press.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/press.md index 02cf0b52d..84b8b9186 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/press.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/press.md @@ -5,7 +5,7 @@ description: 'Browser module: page.press(selector, key[, options]) method' # press(selector, key[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.press()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/press/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/reload.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/reload.md index dad5dd11c..3915bb27e 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/reload.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/reload.md @@ -19,7 +19,7 @@ This reloads the current page and returns the main resource response. ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/selectoption.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/selectoption.md index ea313b2b5..79cfe423a 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/selectoption.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/selectoption.md @@ -5,7 +5,7 @@ description: 'Browser module: page.selectOption(selector, values[, options]) met # selectOption(selector, values[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.selectOption()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/selectoption/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/tap.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/tap.md index 2e3828069..124021a31 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/tap.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/tap.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.tap(selector[, options]) method' # tap(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.tap([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/tap/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/textcontent.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/textcontent.md index 83073128a..f2bc72bff 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/textcontent.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/textcontent.md @@ -5,7 +5,7 @@ description: 'Browser module: locator.textContent(selector[, options]) method' # textContent(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.textContent([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/textcontent/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/type.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/type.md index e7405087e..e9a03e5a4 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/type.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/type.md @@ -5,7 +5,7 @@ description: 'Browser module: page.type(selector, text[, options]) method' # type(selector, text[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.type()`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/type/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/uncheck.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/uncheck.md index 89c27b3d4..04582410a 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/uncheck.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/uncheck.md @@ -5,7 +5,7 @@ description: 'Browser module: page.uncheck(selector[, options]) method' # uncheck(selector[, options]) -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Use locator-based [`locator.uncheck([options])`](https://grafana.com/docs/k6//javascript-api/k6-browser/locator/uncheck/) instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/waitforloadstate.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/waitforloadstate.md index 25f82e444..820941c04 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/waitforloadstate.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/waitforloadstate.md @@ -5,7 +5,7 @@ description: 'Browser module: page.waitForLoadState(state[, options]) method' # waitForLoadState(state[, options]) -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has **known issues**. For details, refer to [#880](https://github.com/grafana/xk6-browser/issues/880). @@ -25,7 +25,7 @@ This waits for the given load state to be reached. It will immediately unblock i ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/page/waitfornavigation.md b/docs/sources/v0.52.x/javascript-api/k6-browser/page/waitfornavigation.md index 6a2b364f5..46bf91b66 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/page/waitfornavigation.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/page/waitfornavigation.md @@ -19,7 +19,7 @@ Waits for the given navigation lifecycle event to occur and returns the main res ### Events -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} `networkidle` is DISCOURAGED. Don't use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead. diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/request/allheaders.md b/docs/sources/v0.52.x/javascript-api/k6-browser/request/allheaders.md index 9d71c5b17..c11cc18dc 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/request/allheaders.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/request/allheaders.md @@ -5,7 +5,7 @@ description: 'Browser module: Request.allHeaders method' # allHeaders() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has a **known issue**. For details, refer to [#965](https://github.com/grafana/xk6-browser/issues/965). diff --git a/docs/sources/v0.52.x/javascript-api/k6-browser/response/allheaders.md b/docs/sources/v0.52.x/javascript-api/k6-browser/response/allheaders.md index 41b11a457..ba5d0283f 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-browser/response/allheaders.md +++ b/docs/sources/v0.52.x/javascript-api/k6-browser/response/allheaders.md @@ -5,7 +5,7 @@ description: 'Browser module: Response.allHeaders method' # allHeaders() -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This method has a **known issue**. For details, refer to [#965](https://github.com/grafana/xk6-browser/issues/965). diff --git a/docs/sources/v0.52.x/javascript-api/k6-data/sharedarray.md b/docs/sources/v0.52.x/javascript-api/k6-data/sharedarray.md index b52539dde..5750ac52f 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-data/sharedarray.md +++ b/docs/sources/v0.52.x/javascript-api/k6-data/sharedarray.md @@ -37,7 +37,7 @@ Supported operations on a `SharedArray` include: In most cases, you should be able to reduce the memory usage of an array data structure by wrapping it in a `SharedArray`. Once constructed, a `SharedArray` is read-only, so **you can't use a SharedArray to communicate data between VUs**. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Attempting to instantiate a `SharedArray` outside of the [init context](https://grafana.com/docs/k6//using-k6/test-lifecycle) results in the exception `new SharedArray must be called in the init context`. diff --git a/docs/sources/v0.52.x/javascript-api/k6-http/batch.md b/docs/sources/v0.52.x/javascript-api/k6-http/batch.md index 1109550e4..a0d9ec5f2 100644 --- a/docs/sources/v0.52.x/javascript-api/k6-http/batch.md +++ b/docs/sources/v0.52.x/javascript-api/k6-http/batch.md @@ -30,7 +30,7 @@ You can use this GET shortcut in objects—name a key and give it a URL valu You can define a request specified as an array or object with the following parameters. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When you define requests as an array, you must use a specific order of items. Note the `Position` column for the correct order. diff --git a/docs/sources/v0.52.x/javascript-api/k6/group.md b/docs/sources/v0.52.x/javascript-api/k6/group.md index e9bb9c2ec..3038357e9 100644 --- a/docs/sources/v0.52.x/javascript-api/k6/group.md +++ b/docs/sources/v0.52.x/javascript-api/k6/group.md @@ -19,7 +19,7 @@ Run code inside a group. Groups are used to organize results in a test. | ---- | ------------------------- | | any | The return value of _fn_. | -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Avoid using `group` with async functions or asynchronous code. If you do, k6 might apply tags in a way that is unreliable or unintuitive. diff --git a/docs/sources/v0.52.x/results-output/real-time/amazon-cloudwatch.md b/docs/sources/v0.52.x/results-output/real-time/amazon-cloudwatch.md index fa00e6a2b..353f7d9b2 100644 --- a/docs/sources/v0.52.x/results-output/real-time/amazon-cloudwatch.md +++ b/docs/sources/v0.52.x/results-output/real-time/amazon-cloudwatch.md @@ -6,7 +6,7 @@ weight: 00 # Amazon CloudWatch -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.52.x/results-output/real-time/cloud.md b/docs/sources/v0.52.x/results-output/real-time/cloud.md index 967bf952b..663294b54 100644 --- a/docs/sources/v0.52.x/results-output/real-time/cloud.md +++ b/docs/sources/v0.52.x/results-output/real-time/cloud.md @@ -21,7 +21,7 @@ Fundamentally the difference is the machine that the test runs on: In all cases you'll be able to see your test results at [k6 Cloud](https://app.k6.io) or [Grafana Cloud](https://grafana.com/products/cloud/). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Data storage and processing are primary cloud costs, so `k6 run --out cloud` will consume VUH or test runs from your subscription. diff --git a/docs/sources/v0.52.x/results-output/real-time/datadog.md b/docs/sources/v0.52.x/results-output/real-time/datadog.md index 45c145c08..a85b407ff 100644 --- a/docs/sources/v0.52.x/results-output/real-time/datadog.md +++ b/docs/sources/v0.52.x/results-output/real-time/datadog.md @@ -6,7 +6,7 @@ weight: 00 # Datadog -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.52.x/results-output/real-time/dynatrace.md b/docs/sources/v0.52.x/results-output/real-time/dynatrace.md index bceb8775f..9ba918e31 100644 --- a/docs/sources/v0.52.x/results-output/real-time/dynatrace.md +++ b/docs/sources/v0.52.x/results-output/real-time/dynatrace.md @@ -39,7 +39,7 @@ To learn more about how to build custom k6 versions, check out [xk6](https://git Create a Dynatrace API token to send the data. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The Dynatrace API Token must have the scope name "metrics.ingest" (scope type `API v2`). {{< /admonition >}} diff --git a/docs/sources/v0.52.x/results-output/real-time/elasticsearch.md b/docs/sources/v0.52.x/results-output/real-time/elasticsearch.md index 0ce304355..8152b562b 100644 --- a/docs/sources/v0.52.x/results-output/real-time/elasticsearch.md +++ b/docs/sources/v0.52.x/results-output/real-time/elasticsearch.md @@ -62,7 +62,7 @@ export K6_ELASTICSEARCH_URL=http://localhost:9200 ./k6 run script.js -o output-elasticsearch ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Security and self-signed certificates for non-cloud clusters are not yet supported. {{< /admonition >}} diff --git a/docs/sources/v0.52.x/results-output/real-time/grafana-cloud-prometheus.md b/docs/sources/v0.52.x/results-output/real-time/grafana-cloud-prometheus.md index 688046754..c9f290e0f 100644 --- a/docs/sources/v0.52.x/results-output/real-time/grafana-cloud-prometheus.md +++ b/docs/sources/v0.52.x/results-output/real-time/grafana-cloud-prometheus.md @@ -7,7 +7,7 @@ weight: 00 # Grafana Cloud Prometheus -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This page includes instructions for running a local test that sends the test results to a Prometheus instance in Grafana Cloud. diff --git a/docs/sources/v0.52.x/results-output/real-time/netdata.md b/docs/sources/v0.52.x/results-output/real-time/netdata.md index 48ed14ff0..175009cdc 100644 --- a/docs/sources/v0.52.x/results-output/real-time/netdata.md +++ b/docs/sources/v0.52.x/results-output/real-time/netdata.md @@ -6,7 +6,7 @@ weight: 00 # Netdata -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.52.x/results-output/real-time/newrelic.md b/docs/sources/v0.52.x/results-output/real-time/newrelic.md index fe25e02d0..ca739f350 100644 --- a/docs/sources/v0.52.x/results-output/real-time/newrelic.md +++ b/docs/sources/v0.52.x/results-output/real-time/newrelic.md @@ -7,7 +7,7 @@ slug: 'new-relic' # New Relic -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.52.x/results-output/real-time/statsd.md b/docs/sources/v0.52.x/results-output/real-time/statsd.md index d4a317443..afab724cc 100644 --- a/docs/sources/v0.52.x/results-output/real-time/statsd.md +++ b/docs/sources/v0.52.x/results-output/real-time/statsd.md @@ -6,7 +6,7 @@ weight: 00 # StatsD -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. diff --git a/docs/sources/v0.52.x/set-up/fine-tune-os.md b/docs/sources/v0.52.x/set-up/fine-tune-os.md index f92e75e0e..d33abeedc 100644 --- a/docs/sources/v0.52.x/set-up/fine-tune-os.md +++ b/docs/sources/v0.52.x/set-up/fine-tune-os.md @@ -252,7 +252,7 @@ All that is left after this is to reboot your Mac back to the Recovery Mode, ope In most cases these limits should be enough to run most of your simple tests locally for some time, but you can modify the files above to any values you will need in your testing. -{{% admonition type="warning" %}} +{{< admonition type="warning" >}} Please be aware that all of these limitations are put in place to protect your operating system from files and applications that are poorly written and might leak memory like in huge quantities. We would suggest not going too overboard with the values, or you might find your system slowing down to a crawl if or when it runs out of RAM. diff --git a/docs/sources/v0.52.x/shared/blocking-aws-blockquote.md b/docs/sources/v0.52.x/shared/blocking-aws-blockquote.md index 64db0c113..fab1e9208 100644 --- a/docs/sources/v0.52.x/shared/blocking-aws-blockquote.md +++ b/docs/sources/v0.52.x/shared/blocking-aws-blockquote.md @@ -2,7 +2,7 @@ title: jslib/aws module blocking admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In some cases, using this library's operations might impact performance and skew your test results.
diff --git a/docs/sources/v0.52.x/shared/browser-module-wip.md b/docs/sources/v0.52.x/shared/browser-module-wip.md index c2c9cf084..23d531c75 100644 --- a/docs/sources/v0.52.x/shared/browser-module-wip.md +++ b/docs/sources/v0.52.x/shared/browser-module-wip.md @@ -2,7 +2,7 @@ title: k6/experimental/browser module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This API is a work in progress. Some of the following functionalities might behave unexpectedly. diff --git a/docs/sources/v0.52.x/shared/experimental-module.md b/docs/sources/v0.52.x/shared/experimental-module.md index 9cbe7a477..cc4337281 100644 --- a/docs/sources/v0.52.x/shared/experimental-module.md +++ b/docs/sources/v0.52.x/shared/experimental-module.md @@ -2,7 +2,7 @@ title: Experimental module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} This is an experimental module.
diff --git a/docs/sources/v0.52.x/shared/experimental-timers-module.md b/docs/sources/v0.52.x/shared/experimental-timers-module.md index bc98fa892..0d5d6993a 100644 --- a/docs/sources/v0.52.x/shared/experimental-timers-module.md +++ b/docs/sources/v0.52.x/shared/experimental-timers-module.md @@ -2,7 +2,7 @@ title: Experimental timers module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The experimental module `k6/experimental/timers` has graduated, and its functionality is now globally available and through the [`k6/timers` module](https://grafana.com/docs/k6//javascript-api/k6-timers/). The `k6/experimental/timers` is deprecated and will be removed. diff --git a/docs/sources/v0.52.x/shared/experimental-tracing-module.md b/docs/sources/v0.52.x/shared/experimental-tracing-module.md index 6cab85f4c..5cdc99555 100644 --- a/docs/sources/v0.52.x/shared/experimental-tracing-module.md +++ b/docs/sources/v0.52.x/shared/experimental-tracing-module.md @@ -2,7 +2,7 @@ title: Experimental tracing module admonition --- -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} The experimental module `k6/experimental/tracing` is deprecated, it functionality is fully available as a jslib. Please refer to its [documentation](https://grafana.com/docs/k6//javascript-api/jslib/http-instrumentation-tempo/). The `k6/experimental/tracing` will be removed in the future. diff --git a/docs/sources/v0.52.x/testing-guides/running-distributed-tests.md b/docs/sources/v0.52.x/testing-guides/running-distributed-tests.md index 7a06cfaa9..03db565ff 100644 --- a/docs/sources/v0.52.x/testing-guides/running-distributed-tests.md +++ b/docs/sources/v0.52.x/testing-guides/running-distributed-tests.md @@ -165,7 +165,7 @@ Let's create our ConfigMap as `my-test` with the content of our `test.js` script kubectl create configmap my-test --from-file test.js ``` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Limitations exist on how large your test script can be when deployed within a `ConfigMap`. Kubernetes imposes a size limit of 1,048,576 bytes (1 MiB) for the data, therefore if your test scripts exceed this limit, you'll need to mount a `PersistentVolume`. @@ -189,7 +189,7 @@ Organizing your test scripts was part of the discussion during [episode #76](htt {{< /admonition >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When using a `PersistentVolume`, the operator will expect all test scripts to be contained within a directory named `/test/`. @@ -244,7 +244,7 @@ The test script content was added to the map using the filename as the key-value The amount of `parallelism` is up to you; how many pods do you want to split the test amongst? The operator will split the workload between the pods using [execution segments](https://grafana.com/docs/k6//misc/glossary#execution-segment). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `ConfigMap` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). @@ -275,7 +275,7 @@ spec: {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} It is important that the `PersistentVolumeClaim` and `CustomResource` are created in the same [Namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/). diff --git a/docs/sources/v0.52.x/using-k6-browser/metrics.md b/docs/sources/v0.52.x/using-k6-browser/metrics.md index 4cc5af72a..d1b36d76b 100644 --- a/docs/sources/v0.52.x/using-k6-browser/metrics.md +++ b/docs/sources/v0.52.x/using-k6-browser/metrics.md @@ -80,7 +80,7 @@ To set thresholds for your browser metrics: As the following example shows, you can also pass in different URLs if you're going to set a threshold for other pages, especially when your script contains page navigations. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Currently, you can only use URLs to specify thresholds for different pages. If you use [Groups](https://grafana.com/docs/k6//using-k6/tags-and-groups/#groups), the metrics are not correctly grouped as described in [#721](https://github.com/grafana/xk6-browser/issues/721). diff --git a/docs/sources/v0.52.x/using-k6/k6-options/reference.md b/docs/sources/v0.52.x/using-k6/k6-options/reference.md index 619f081ad..6a3092c33 100644 --- a/docs/sources/v0.52.x/using-k6/k6-options/reference.md +++ b/docs/sources/v0.52.x/using-k6/k6-options/reference.md @@ -960,7 +960,7 @@ $ k6 run --out influxdb=http://localhost:8086/k6 script.js The maximum number of requests to make per second, in total across all VUs. Available in `k6 run` and `k6 cloud` commands. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} **This option is discouraged.**
@@ -1382,7 +1382,7 @@ export const options = { A list of cipher suites allowed to be used by in SSL/TLS interactions with a server. For a full listing of available ciphers go [here](https://golang.org/pkg/crypto/tls/#pkg-constants). -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Due to limitations in the underlying [go implementation](https://github.com/golang/go/issues/29349), changing the ciphers for TLS 1.3 is _not_ supported and will do nothing. diff --git a/docs/sources/v0.52.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md b/docs/sources/v0.52.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md index 343102fb2..f5a8dea30 100644 --- a/docs/sources/v0.52.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md +++ b/docs/sources/v0.52.x/using-k6/scenarios/concepts/arrival-rate-vu-allocation.md @@ -15,7 +15,7 @@ In other words, before the tests runs, you must both: Read on to learn about how k6 allocates VUs in the arrival-rate executors. -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, **`preAllocatedVUs` count against your subscription.** @@ -91,7 +91,7 @@ As dropped iterations can also indicate that the system performance is degrading ## You probably don't need `maxVUs` -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} In cloud tests, the number of `maxVUs` counts against your subscription, **overriding the number set by `preAllocatedVUs`**. diff --git a/docs/sources/v0.52.x/using-k6/thresholds.md b/docs/sources/v0.52.x/using-k6/thresholds.md index 122f6ba2e..909354670 100644 --- a/docs/sources/v0.52.x/using-k6/thresholds.md +++ b/docs/sources/v0.52.x/using-k6/thresholds.md @@ -186,7 +186,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} Do not specify multiple thresholds for the same metric by repeating the same object key. @@ -445,7 +445,7 @@ export default function () { {{< /code >}} -{{% admonition type="caution" %}} +{{< admonition type="caution" >}} When k6 runs in the cloud, thresholds are evaluated every 60 seconds. Therefore, the `abortOnFail` feature may be delayed by up to 60 seconds.