From 10ca03c55d7d0508971f2969c58484c1895c4659 Mon Sep 17 00:00:00 2001 From: Markus Reinhold Date: Sun, 22 Oct 2023 16:35:16 +0200 Subject: [PATCH] Update selenium --- docker-compose.ci.yml | 6 +++++- project | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml index 2f047454..27a9cfcd 100644 --- a/docker-compose.ci.yml +++ b/docker-compose.ci.yml @@ -112,7 +112,11 @@ services: # CI helper # ############################## selenium: - image: selenium/standalone-chrome:3.14 + image: selenium/standalone-chrome:4.11 + environment: + SE_NODE_MAX_SESSIONS: 20 + SE_NODE_OVERRIDE_MAX_SESSIONS: 'true' + shm_size: '2gb' php: build: context: . diff --git a/project b/project index 3b576d8b..4a19f690 100755 --- a/project +++ b/project @@ -89,7 +89,7 @@ acceptance() { docker-compose -f docker-compose.ci.yml -p php-gaming-website-ci build --pull docker-compose -f docker-compose.ci.yml -p php-gaming-website-ci up -d - docker-compose -f docker-compose.ci.yml -p php-gaming-website-ci run php bash -c 'wait-for-tcp-server php-fpm:80 120 && vendor/bin/codecept run acceptance' + docker-compose -f docker-compose.ci.yml -p php-gaming-website-ci run php bash -c 'wait-for-tcp-server php-fpm:80,selenium:4444 120 && vendor/bin/codecept run acceptance' docker-compose -f docker-compose.ci.yml -p php-gaming-website-ci down -v }