Update testcontainers to v11

This commit is contained in:
Michael Telatynski
2025-05-28 16:41:43 +01:00
parent 6d58d9090f
commit b9f200d349
2 changed files with 4 additions and 4 deletions
@@ -1,7 +1,7 @@
{ {
"name": "@element-hq/element-web-playwright-common", "name": "@element-hq/element-web-playwright-common",
"type": "module", "type": "module",
"version": "1.1.7", "version": "1.2.0",
"license": "SEE LICENSE IN README.md", "license": "SEE LICENSE IN README.md",
"repository": { "repository": {
"type": "git", "type": "git",
@@ -28,11 +28,11 @@
}, },
"dependencies": { "dependencies": {
"@axe-core/playwright": "^4.10.1", "@axe-core/playwright": "^4.10.1",
"@testcontainers/postgresql": "^10.24.2", "@testcontainers/postgresql": "^11.0.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mailpit-api": "^1.2.0", "mailpit-api": "^1.2.0",
"strip-ansi": "^7.1.0", "strip-ansi": "^7.1.0",
"testcontainers": "^10.24.2", "testcontainers": "^11.0.0",
"yaml": "^2.7.0" "yaml": "^2.7.0"
}, },
"peerDependencies": { "peerDependencies": {
@@ -99,7 +99,7 @@ export const test = base.extend<TestFixtures, WorkerOptions & Services>({
], ],
postgres: [ postgres: [
async ({ logger, network }, use) => { async ({ logger, network }, use) => {
const container = await new PostgreSqlContainer() const container = await new PostgreSqlContainer("postgres:13.3-alpine")
.withNetwork(network) .withNetwork(network)
.withNetworkAliases("postgres") .withNetworkAliases("postgres")
.withLogConsumer(logger.getConsumer("postgres")) .withLogConsumer(logger.getConsumer("postgres"))