Skip to content

Conversation

mdcruz
Copy link
Contributor

@mdcruz mdcruz commented Apr 14, 2023

Once we release k6 v0.44.0, we need to update k6 browser documentation to reflect the following new changes:

  • Convert locator.click() to use await keyword
  • Document browserContext.addCookies()
  • Document Google Web Vitals

This PR covers the following issues:

#1126
#1127
#1128
#1078

@github-actions
Copy link
Contributor

There's a version of the docs published here:

https://mdr-ci.staging.k6.io/docs/refs/pull/1131/merge

It will be deleted automatically in 30 days.

@mdcruz mdcruz requested a review from immavalls April 14, 2023 19:53
@mdcruz mdcruz linked an issue Apr 14, 2023 that may be closed by this pull request
@immavalls
Copy link
Contributor

#1078 lgtm @mdcruz

Copy link
Contributor

@ka3de ka3de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome @mdcruz ! 👏

Just a couple of comments.
I believe we are missing the BrowserContext.addCookie() entry in the BrowserContext methods table here. Although it is present and reachable from the left sidebar.

Also, should we merge the PRs #1114 and #1091 in this branch to group the doc changes for the v0.44.0 version? Or will we merge them independently?

@mdcruz
Copy link
Contributor Author

mdcruz commented Apr 17, 2023

Awesome @mdcruz ! 👏

Just a couple of comments. I believe we are missing the BrowserContext.addCookie() entry in the BrowserContext methods table here. Although it is present and reachable from the left sidebar.

Also, should we merge the PRs #1114 and #1091 in this branch to group the doc changes for the v0.44.0 version? Or will we merge them independently?

Ah, yes I forgot! I will add it to the table 👍
Merging PRs #1114 and #1091 makes sense to me. Can you help with those, please? Thanks!

@ka3de
Copy link
Contributor

ka3de commented Apr 17, 2023

Merging PRs #1114 and #1091 makes sense to me. Can you help with those, please? Thanks!

Yes, will merge them both here then 👍

Copy link
Contributor

@ka3de ka3de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@ankur22 ankur22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 Thanks for these changes, especially around web vitals 🙌! LGTM!

@mdcruz mdcruz force-pushed the update-k6-browser-docs branch from 517d5a6 to a44d666 Compare April 18, 2023 16:11
@ka3de ka3de force-pushed the update-k6-browser-docs branch from a44d666 to 430148f Compare April 24, 2023 08:24
@ka3de ka3de force-pushed the update-k6-browser-docs branch from 430148f to fa9d976 Compare April 24, 2023 08:49
@ka3de ka3de merged commit 3786f03 into main Apr 24, 2023
@ka3de ka3de deleted the update-k6-browser-docs branch April 24, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: browser The browser module
Projects
None yet
5 participants