Skip to content

Playwright: factor out helpers for config.json#81

Merged
richvdh merged 1 commit intomainfrom
rav/config_json_funcs
Oct 3, 2025
Merged

Playwright: factor out helpers for config.json#81
richvdh merged 1 commit intomainfrom
rav/config_json_funcs

Conversation

@richvdh
Copy link
Member

@richvdh richvdh commented Oct 3, 2025

Factor out some helper functions for building config.json files, and adding the relevant routes to browser contexts.

@richvdh richvdh marked this pull request as ready for review October 3, 2025 11:56
@richvdh richvdh requested a review from a team as a code owner October 3, 2025 11:56
@richvdh richvdh requested review from MidhunSureshR and dbkr October 3, 2025 11:56
@richvdh richvdh marked this pull request as draft October 3, 2025 12:35
Factor out some helper functions for building `config.json` files,
and adding the relevant routes to browser contexts.
@richvdh richvdh force-pushed the rav/config_json_funcs branch from ea95c21 to 9bc44e7 Compare October 3, 2025 13:29
@richvdh richvdh marked this pull request as ready for review October 3, 2025 13:34
@richvdh richvdh merged commit 1215925 into main Oct 3, 2025
17 checks passed
@richvdh richvdh deleted the rav/config_json_funcs branch October 3, 2025 15:22
richvdh added a commit to element-hq/element-web that referenced this pull request Oct 3, 2025
element-hq/element-modules#81 added a utility function
for building and routing `config.json`; we should use it.
richvdh added a commit to element-hq/element-web that referenced this pull request Oct 3, 2025
element-hq/element-modules#81 added a utility function
for building and routing `config.json`; we should use it.
richvdh added a commit to element-hq/element-web that referenced this pull request Oct 3, 2025
element-hq/element-modules#81 added a utility function
for building and routing `config.json`; we should use it.
richvdh added a commit to element-hq/element-web that referenced this pull request Oct 6, 2025
element-hq/element-modules#81 added a utility function
for building and routing `config.json`; we should use it.
github-merge-queue bot pushed a commit to element-hq/element-web that referenced this pull request Oct 8, 2025
* Playwright: `getCurrentRoomIdFromUrl`

Helper function to fish a room ID out of the URL

* Playwright: use updated `Credentials` class from common lib

Pick up the extended `Credentials` interface that was added in
element-hq/element-modules#80.

* Playwright: use `routeConfigJson` from common lib

element-hq/element-modules#81 added a utility function
for building and routing `config.json`; we should use it.

* Playwright test for history sharing on invite

Fixes element-hq/element-meta#2920

* Avoid use of CSS in playwright locators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants