-
Notifications
You must be signed in to change notification settings - Fork 241
update xk6-browser code examples to async/await #996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There's a version of the docs published here: https://mdr-ci.staging.k6.io/docs/refs/pull/996/merge It will be deleted automatically in 30 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👏 Thanks for this!!
src/data/markdown/docs/30 xk6-browser/01 Get started/01 Welcome.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The import paths will need to change after we complete the merge.
Looks good otherwise, thanks for this!
f3db542
to
a4fd4b9
Compare
4ed1018
to
98aeb88
Compare
0d8d5f5
to
ba32672
Compare
ba32672
to
0ea0174
Compare
src/data/markdown/docs/30 k6-browser/01 Get started/02 Running browser tests.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome @mdcruz ! 🥇
I added a couple of small comments.
Besides the content, I personally like the change from xk6-browser
naming to k6 browser
, but, as mentioned, I will not enter in discussing organization matters in terms of where should these docs be placed etc as I believe I'm not the best person to do that.
src/data/markdown/docs/30 k6-browser/01 Get started/02 Running browser tests.md
Outdated
Show resolved
Hide resolved
src/data/markdown/docs/30 k6-browser/02 API/08 Locator/textcontent--options--.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 👏
I have one suggestion and this comment about Docker.
src/data/markdown/docs/30 k6-browser/02 API/02 BrowserContext/setDefaultTimeout.md
Outdated
Show resolved
Hide resolved
…setDefaultTimeout.md Co-authored-by: İnanç Gümüş <inanc.gumus@grafana.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approved 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@mdcruz k6 v0.43.0 was just released, and v0.42.0 docs have been archived. Can we merge this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for this! 🙏
This PR has the following changes for the xk6-browser documentation, which needs to be merged after v.0.43.0 release