Commit Graph

59 Commits

Author SHA1 Message Date
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
Michael Telatynski 1c8d368cfe Merge pull request #37 from element-hq/t3chguy/allow-extending-synapse-testcontainer 2025-06-20 11:07:19 +01:00
Michael Telatynski a440678ffd Remove console.log 2025-06-20 10:28:38 +01:00
Michael Telatynski 75cf1ee738 Reuse annotation var 2025-06-20 10:28:04 +01:00
Michael Telatynski 78bc53ef0a Iterate 2025-06-20 10:21:26 +01:00
Michael Telatynski a6f851bbdf Iterate 2025-06-20 10:14:18 +01:00
Michael Telatynski 02833dac5e Allow extending SynapseContainer testcontainer 2025-06-20 10:06:49 +01:00
Michael Telatynski 683dfaef69 Add entrypoint 2025-06-20 10:03:32 +01:00
Michael Telatynski 2af22fb54f Add stale-screenshot-reporter.ts 2025-06-20 09:59:28 +01:00
Michael Telatynski 3941f99e17 Bump playwright-common version 2025-06-04 16:29:41 +01:00
Michael Telatynski 0eba5281fa Merge pull request #30 from element-hq/t3chguy-patch-1 2025-06-04 16:23:46 +01:00
Michael Telatynski 3befdeb167 Update mas.ts 2025-06-04 14:02:42 +01:00
Michael Telatynski b9f200d349 Update testcontainers to v11 2025-05-28 16:41:43 +01:00
Michael Telatynski 6d58d9090f Merge pull request #23 from element-hq/t3chguy/standard-scripts 2025-05-13 12:35:04 +01:00
Michael Telatynski 7157587668 Bump element-web-playwright-common version 2025-05-09 17:09:03 +01:00
Michael Telatynski 29d1c61d82 Update mas version 2025-05-09 17:08:40 +01:00
Michael Telatynski b55feb5a7b Standardise lint/type scripts between modules/packages 2025-05-08 12:23:13 +01:00
Michael Telatynski ad0a276af2 Bump element-web-playwright-common version 2025-05-07 12:02:12 +01:00
Michael Telatynski df54bc9a52 Merge pull request #19 from element-hq/t3chguy/tar-fs 2025-05-07 08:35:33 +01:00
Michael Telatynski e8ed2f8f41 Update playwright 2025-04-30 13:26:49 +01:00
Michael Telatynski 586ad25600 Update testcontainers, tar-fs and remove duplicate script and stray lockfiles 2025-04-11 09:26:32 +01:00
Michael Telatynski bb972bb084 Merge pull request #18 from element-hq/t3chguy-patch-1
Make mas-cli testcontainer method public
2025-03-25 10:32:01 +00:00
Michael Telatynski d93c34926b Make mas-cli testcontainer method public 2025-03-21 17:34:39 +00:00
Michael Telatynski 98cc18fd5f Bump versions 2025-03-13 11:59:43 +00:00
Michael Telatynski e6bdd86c4c Fix repository URLs 2025-03-13 11:59:17 +00:00
Michael Telatynski df19fbc259 Specify node version 2025-03-13 11:55:10 +00:00