renovate[bot]
a7583dbdbc
Update dependency glob to v13
2025-12-09 16:39:37 +00:00
Richard van der Hoff
0d46bc924c
Fix "Error: No request context set" in credentials fixture ( #145 )
...
Make sure that we've run the `context` fixture first, so that the request API
is configured
2025-11-27 19:40:29 +00:00
Richard van der Hoff
4c928d2854
Avoid mergeTests in test fixture declarations ( #138 )
...
Normally, one can find the documentation on a playwright test fixture by
finding its declaration (i.e., you can ctrl-click on the fixture name and find
its documentaion).
However, `mergeTests` re-declares the type, making it much harder to find the
documentation on a given fixture.
It's easy enough to avoid `mergeTests`: we just structure our `test.extend`
calls as a strict hieirarchy.
2025-11-27 17:13:22 +00:00
R Midhun Suresh
1b11b3d1c0
Merge pull request #143 from element-hq/midhun/playwright/bump-2.1.0
...
Bump `element-web-playwright-common` version to 2.1.0
2025-11-27 17:26:09 +05:30
R Midhun Suresh
3b31bbf4a9
Bump version to 2.1.0
2025-11-27 17:16:56 +05:30
R Midhun Suresh
0f3938bb54
Merge pull request #142 from element-hq/midhun/playwright/fix-script
...
Fix `playwright-screenshots.sh` not working when run with yarn berry
2025-11-27 13:39:50 +05:30
R Midhun Suresh
76b07d736c
Make script compatible with yarn berry
2025-11-27 13:23:16 +05:30
Michael Telatynski
9b0af6c3ab
Merge pull request #132 from element-hq/dependabot/npm_and_yarn/npm_and_yarn-d580270e1d
2025-11-18 09:38:38 +00:00
dependabot[bot]
0788c3a207
Bump glob in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the / directory: [glob](https://github.com/isaacs/node-glob ).
Updates `glob` from 11.0.1 to 11.1.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v11.0.1...v11.1.0 )
---
updated-dependencies:
- dependency-name: glob
dependency-version: 11.1.0
dependency-type: direct:production
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-18 07:36:22 +00:00
Michael Telatynski
c2f4535153
Delint
2025-11-12 12:16:31 +00:00
Richard van der Hoff
e31efda9b4
Apply suggestion from @richvdh
2025-11-06 11:45:58 +00:00
Richard van der Hoff
49ad9c1d9c
Start Ryuk ourselves
2025-11-05 16:23:16 +00:00
Richard van der Hoff
2af8e3c21f
Warn about linked node modules under podman
...
Thanks to a podman bug, the symlink workaround doesn't work there. Let's emit a
noisy warning.
2025-11-04 23:49:31 +00:00
Richard van der Hoff
28384f1112
playwright-screenshots: clean up output and error handling
...
Somebody wrote those `pushd` and `popd` lines without testing
them. Redirections bind tighter than `||` so those lines were always spamming
the console.
Using `set -e` is more reliable than always checking exit codes anyway.
2025-11-04 23:47:09 +00:00
Richard van der Hoff
6502ffcbe0
Disable ryuk reaper in the playwright container
...
... thus making it possible to use `testcontainers` inside unprivileged
containers.
2025-11-04 23:46:13 +00:00
Richard van der Hoff
4cfa5b3265
Use DOCKER_HOST env var to find docker socket
2025-11-04 23:04:44 +00:00
Richard van der Hoff
3e31c2387c
Merge pull request #83 from element-hq/playwight-common-2.0.0
...
element-web-playwright-common: bump version to 2.0.0
2025-10-03 17:15:53 +01:00
Richard van der Hoff
31d6b73476
v2.0.0
2025-10-03 17:00:45 +01:00
Richard van der Hoff
ecb939a68a
Merge pull request #82 from element-hq/rav/new_context
...
Playwright: add a `createNewInstance` utility function
2025-10-03 16:57:19 +01:00
Richard van der Hoff
24df6be6ce
Merge branch 'main' into rav/new_context
2025-10-03 16:24:10 +01:00
Richard van der Hoff
b484916ea8
Merge pull request #81 from element-hq/rav/config_json_funcs
...
Playwright: factor out helpers for config.json
2025-10-03 16:22:37 +01:00
Richard van der Hoff
68de37a6cb
Playwright: add a createNewInstance utility function
...
Sometimes it's useful to be able to use two separate Element-Web instances, in
isolated browsers. This patch adds a utility method which creates such an
instance.
2025-10-03 14:34:22 +01:00
Richard van der Hoff
d0c3901a1a
Merge remote-tracking branch 'origin/main' into rav/new_context
2025-10-03 14:32:47 +01:00
Richard van der Hoff
595141cf4b
Playwright: factor out helpers for config.json
...
Factor out some helper functions for building `config.json` files,
and adding the relevant routes to browser contexts.
2025-10-03 14:28:35 +01:00
Richard van der Hoff
519bafd68f
Merge pull request #80 from element-hq/rav/credentials_funcs
...
Playwright: add `populateLocalStorageWithCredentials` helper
2025-10-03 12:48:21 +01:00
Richard van der Hoff
92b9896deb
Factor out a helper function populateLocalStorageWithCredentials
...
This just takes the innards of the `pageWithCredentials` fixture and makes it
reusable in contexts outside the fixture. (This can be useful if you want to
use Element with an account other than the default provided by the
`credentials` fixture.)
2025-10-03 12:42:57 +01:00
Richard van der Hoff
885e7c36d9
Add homeserverBaseUrl field to Credentials
...
`Credentials` is used to record the access token etc once we log in a or
register a user. An access token isn't much use to you unless you know where to
send it, so this patch addes a new field, `homeserverUrl`, which contains
the base public URL for the homeserver.
2025-10-03 12:25:21 +01:00
Quentin Gliech
44bb9ed71a
Merge pull request #48 from element-hq/quenting/fix-mas-config
2025-08-05 12:19:28 +02:00
Quentin Gliech
636cee5dcb
Fix the MAS config override ordering
2025-08-05 12:05:04 +02:00
Quentin Gliech
d3e9d5bd92
Merge pull request #47 from element-hq/quenting/playwight-common-1.4.5
...
element-web-playwright-common: bump version to 1.4.5
2025-08-05 11:33:28 +02:00
Quentin Gliech
4a9559bb16
element-web-playwright-common: bump version to 1.4.5
2025-08-05 11:25:47 +02:00
Quentin Gliech
f91670f6b5
Merge pull request #46 from element-hq/quenting/better-mas
...
Simplify the MAS config & allow overriding the Docker image
2025-08-05 11:18:05 +02:00
Quentin Gliech
6520352453
Re-export the MasConfig type again
2025-08-05 11:03:37 +02:00
Quentin Gliech
5360f309f1
Generate accurate MAS config type from its JSON schema
2025-08-05 10:53:24 +02:00
Quentin Gliech
b4a59ce009
Re-export the Postgres testcontainer
2025-08-05 09:45:34 +02:00
Quentin Gliech
90a51d4487
Allow overriding the MAS docker image
2025-08-05 09:35:13 +02:00
Quentin Gliech
c7f5d91504
Simplify the default MAS configuration
2025-08-05 09:34:16 +02:00
Michael Telatynski
dd402c834c
Add missing internal dev dependency
2025-07-31 10:15:14 +01:00
Michael Telatynski
7a24eecde8
Add rc_room_creation to Synapse config
2025-07-31 10:10:24 +01:00
Michael Telatynski
2b1858c436
Merge pull request #38 from element-hq/t3chguy/restricted-guests-api
2025-07-28 10:14:28 +01:00
Michael Telatynski
41887c61a9
Iterate
2025-07-24 16:27:09 +01:00
David Baker
8fba68db78
1.4.3
2025-07-24 11:07:17 +01:00
David Baker
d1d69fbc56
Probably better not to keep this given how spammy it is
2025-07-18 16:54:01 +01:00
David Baker
4df86c4d3f
Add options to use playwright screenshot script for other things
...
In this case, storybook screenshots, but this keeps it so this script
doesnt know about storybook itself (we can move the actual storybook
specific code to here if we standardise on it more).
2025-07-18 15:18:37 +01:00
Michael Telatynski
03c2f2cd5f
Add missing glob dependency for playwright-common
2025-06-20 12:09:34 +01:00
Michael Telatynski
46912a6a67
Bump version playwright-common
2025-06-20 11:41:24 +01:00
Michael Telatynski
a44fe85209
Fix types
2025-06-20 11:37:09 +01:00
Michael Telatynski
62b8d1b3ab
Remove exports from playwright-common package
2025-06-20 11:33:25 +01:00
Michael Telatynski
3ad03e123b
Bump element-web-playwright-common version
2025-06-20 11:18:15 +01:00
Michael Telatynski
9bb434a2aa
Merge pull request #36 from element-hq/t3chguy/stale-screenshots-reporter
2025-06-20 11:14:17 +01:00