@element-hq/element-web-playwright-common 1.1.6 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ export const test = base.extend({
29
29
  ],
30
30
  postgres: [
31
31
  async ({ logger, network }, use) => {
32
- const container = await new PostgreSqlContainer()
32
+ const container = await new PostgreSqlContainer("postgres:13.3-alpine")
33
33
  .withNetwork(network)
34
34
  .withNetworkAliases("postgres")
35
35
  .withLogConsumer(logger.getConsumer("postgres"))
@@ -1 +1 @@
1
- {"version":3,"file":"mas.d.ts","sourceRoot":"","sources":["../../src/testcontainers/mas.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,wBAAwB,EACxB,gBAAgB,EAChB,KAAK,oBAAoB,EAEzB,KAAK,UAAU,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAK7E,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8JnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,cAAc,CAAC;AAE9C;;;;;GAKG;AACH,qBAAa,oCAAqC,SAAQ,gBAAgB;IACtE,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiC;gBAEnC,EAAE,EAAE,0BAA0B;IAcjD;;;OAGG;IACI,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAQvC;;OAEG;IACmB,KAAK,IAAI,OAAO,CAAC,2CAA2C,CAAC;CAuBtF;AAED;;GAEG;AACH,qBAAa,2CAA4C,SAAQ,wBAAwB;a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G;AACH,qBAAa,oCAAqC,SAAQ,gBAAgB;IACtE,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiC;gBAEnC,EAAE,EAAE,0BAA0B;IAajD;;;OAGG;IACI,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAQvC;;OAEG;IACmB,KAAK,IAAI,OAAO,CAAC,2CAA2C,CAAC;CAuBtF;AAED;;GAEG;AACH,qBAAa,2CAA4C,SAAQ,wBAAwB;aAKjE,OAAO,EAAE,MAAM;IAC/B,OAAO,CAAC,QAAQ,CAAC,IAAI;IALzB,OAAO,CAAC,iBAAiB,CAAC,CAAkB;gBAGxC,SAAS,EAAE,oBAAoB,EACf,OAAO,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EAAE;IAKnC;;OAEG;IACU,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC;IAYhC,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAQ1D,kBAAkB;YAgClB,6BAA6B;YAmB7B,oBAAoB;IAoBlC;;;;;OAKG;IACU,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAIzG;;;;;OAKG;IACU,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAO7F"}
@@ -177,9 +177,8 @@ export class MatrixAuthenticationServiceContainer extends GenericContainer {
177
177
  config;
178
178
  args = ["-c", "/config/config.yaml"];
179
179
  constructor(db) {
180
- // We rely on `mas-cli manage add-email` which isn't in a release yet
181
- // https://github.com/element-hq/matrix-authentication-service/pull/3235
182
- super("ghcr.io/element-hq/matrix-authentication-service:sha-0b90c33");
180
+ // We rely on https://github.com/element-hq/matrix-authentication-service/pull/4529 which isn't in a release yet
181
+ super("ghcr.io/element-hq/matrix-authentication-service:sha-98f2776");
183
182
  this.config = deepCopy(DEFAULT_CONFIG);
184
183
  this.config.database.username = db.getUsername();
185
184
  this.config.database.password = db.getPassword();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@element-hq/element-web-playwright-common",
3
3
  "type": "module",
4
- "version": "1.1.6",
4
+ "version": "1.2.0",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "repository": {
7
7
  "type": "git",
@@ -18,6 +18,8 @@
18
18
  },
19
19
  "scripts": {
20
20
  "prepare": "tsc",
21
+ "lint:types": "tsc --noEmit",
22
+ "lint:codestyle": "echo 'handled by lint:eslint'",
21
23
  "test": "echo No tests for @element-hq/element-web-playwright-common"
22
24
  },
23
25
  "devDependencies": {
@@ -26,11 +28,11 @@
26
28
  },
27
29
  "dependencies": {
28
30
  "@axe-core/playwright": "^4.10.1",
29
- "@testcontainers/postgresql": "^10.24.2",
31
+ "@testcontainers/postgresql": "^11.0.0",
30
32
  "lodash-es": "^4.17.21",
31
33
  "mailpit-api": "^1.2.0",
32
34
  "strip-ansi": "^7.1.0",
33
- "testcontainers": "^10.24.2",
35
+ "testcontainers": "^11.0.0",
34
36
  "yaml": "^2.7.0"
35
37
  },
36
38
  "peerDependencies": {
@@ -99,7 +99,7 @@ export const test = base.extend<TestFixtures, WorkerOptions & Services>({
99
99
  ],
100
100
  postgres: [
101
101
  async ({ logger, network }, use) => {
102
- const container = await new PostgreSqlContainer()
102
+ const container = await new PostgreSqlContainer("postgres:13.3-alpine")
103
103
  .withNetwork(network)
104
104
  .withNetworkAliases("postgres")
105
105
  .withLogConsumer(logger.getConsumer("postgres"))
@@ -195,9 +195,8 @@ export class MatrixAuthenticationServiceContainer extends GenericContainer {
195
195
  private readonly args = ["-c", "/config/config.yaml"];
196
196
 
197
197
  public constructor(db: StartedPostgreSqlContainer) {
198
- // We rely on `mas-cli manage add-email` which isn't in a release yet
199
- // https://github.com/element-hq/matrix-authentication-service/pull/3235
200
- super("ghcr.io/element-hq/matrix-authentication-service:sha-0b90c33");
198
+ // We rely on https://github.com/element-hq/matrix-authentication-service/pull/4529 which isn't in a release yet
199
+ super("ghcr.io/element-hq/matrix-authentication-service:sha-98f2776");
201
200
 
202
201
  this.config = deepCopy(DEFAULT_CONFIG);
203
202
  this.config.database.username = db.getUsername();