@element-hq/element-web-playwright-common 1.1.7 → 1.3.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.
package/lib/fixtures/services.js
CHANGED
|
@@ -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"))
|
|
@@ -177,8 +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 https://github.com/element-hq/matrix-authentication-service/pull/
|
|
181
|
-
super("ghcr.io/element-hq/matrix-authentication-service:sha-
|
|
180
|
+
// We rely on https://github.com/element-hq/matrix-authentication-service/pull/4563 which isn't in a release yet
|
|
181
|
+
super("ghcr.io/element-hq/matrix-authentication-service:sha-3207d23");
|
|
182
182
|
this.config = deepCopy(DEFAULT_CONFIG);
|
|
183
183
|
this.config.database.username = db.getUsername();
|
|
184
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.
|
|
4
|
+
"version": "1.3.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": "^
|
|
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": "^
|
|
35
|
+
"testcontainers": "^11.0.0",
|
|
34
36
|
"yaml": "^2.7.0"
|
|
35
37
|
},
|
|
36
38
|
"peerDependencies": {
|
package/src/fixtures/services.ts
CHANGED
|
@@ -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,8 +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 https://github.com/element-hq/matrix-authentication-service/pull/
|
|
199
|
-
super("ghcr.io/element-hq/matrix-authentication-service:sha-
|
|
198
|
+
// We rely on https://github.com/element-hq/matrix-authentication-service/pull/4563 which isn't in a release yet
|
|
199
|
+
super("ghcr.io/element-hq/matrix-authentication-service:sha-3207d23");
|
|
200
200
|
|
|
201
201
|
this.config = deepCopy(DEFAULT_CONFIG);
|
|
202
202
|
this.config.database.username = db.getUsername();
|