From 3d4b9f2003f0a25d6d05a7aa8a8270224df88c83 Mon Sep 17 00:00:00 2001 From: David Vazquez Date: Thu, 15 Sep 2022 13:11:23 +0200 Subject: [PATCH] Update zahori-server version to 0.1.14 --- browsers | 8 ++++---- database/sql_versions/V0.1.14.sql | 34 +++++++++++++++++++++++++++++++ docker-compose.yaml | 2 +- selenoid/config/browsers.json | 24 +++++++++++----------- 4 files changed, 51 insertions(+), 17 deletions(-) create mode 100644 database/sql_versions/V0.1.14.sql diff --git a/browsers b/browsers index ec58332..0e11039 100644 --- a/browsers +++ b/browsers @@ -1,5 +1,5 @@ -selenoid/vnc_chrome:99.0 -selenoid/vnc_firefox:98.0 +selenoid/vnc_chrome:105.0 +browsers/edge:105.0 +selenoid/vnc_firefox:104.0 +selenoid/vnc_opera:90.0 browsers/safari:15.0 -browsers/edge:99.0 -selenoid/vnc_opera:85.0 diff --git a/database/sql_versions/V0.1.14.sql b/database/sql_versions/V0.1.14.sql new file mode 100644 index 0000000..b231596 --- /dev/null +++ b/database/sql_versions/V0.1.14.sql @@ -0,0 +1,34 @@ + +---------------- ADD XRAY SUPPORT ---------------- + +-- Add field tmsExecutionId to executions +ALTER TABLE public.executions ADD tms_test_execution_id varchar NULL; + +-- Remove duplicated XRAY test repository +DELETE FROM public.test_repositories WHERE test_repo_id = 1; +UPDATE public.test_repositories SET name = 'Jira Xray' WHERE test_repo_id = 2; +UPDATE public.test_repositories SET name = 'TestLink' WHERE name = 'Testlink'; + + +---------------- UPDATE BROWSER VERSIONS ---------------- +UPDATE public.browsers SET default_version = '105.0' WHERE browser_name = 'chrome'; +UPDATE public.browsers SET default_version = '105.0' WHERE browser_name = 'edge'; +UPDATE public.browsers SET default_version = '104.0' WHERE browser_name = 'firefox'; +UPDATE public.browsers SET default_version = '90.0' WHERE browser_name = 'opera'; +UPDATE public.browsers SET default_version = '15.0' WHERE browser_name = 'safari'; + + +---------------- ADD SCREEN RESOLUTION NAMES ---------------- +ALTER TABLE public.resolutions ADD name varchar NULL; + +-- Add default data to resolutions table +INSERT INTO public.resolutions(client_id, process_id, width, height, "order", active, "name") +VALUES(1, 1, 1920, 1080, 0, true, 'Full HD'); + +INSERT INTO public.resolutions(client_id, process_id, width, height, "order", active, "name") +VALUES(1, 1, 1280, 720, 0, true, 'HD'); + +INSERT INTO public.resolutions(client_id, process_id, width, height, "order", active, "name") +VALUES(1, 1, 810, 1080, 0, true, 'iPad'); + + diff --git a/docker-compose.yaml b/docker-compose.yaml index 5d250d3..7686b54 100755 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -33,7 +33,7 @@ services: - database zahori-server: - image: zahoriaut/zahori-server:0.1.13 + image: zahoriaut/zahori-server:0.1.14 ports: - "${ZAHORI_SERVER_PORT}:${ZAHORI_SERVER_PORT}" network_mode: bridge diff --git a/selenoid/config/browsers.json b/selenoid/config/browsers.json index 54ccd90..9f6c505 100755 --- a/selenoid/config/browsers.json +++ b/selenoid/config/browsers.json @@ -18,12 +18,12 @@ "default": "latest", "versions": { "latest": { - "image": "browsers/edge:99.0", + "image": "browsers/edge:105.0", "port": "4444", "path": "/" }, - "99.0": { - "image": "browsers/edge:99.0", + "105.0": { + "image": "browsers/edge:105.0", "port": "4444", "path": "/" } @@ -33,12 +33,12 @@ "default": "latest", "versions": { "latest": { - "image": "selenoid/vnc_firefox:98.0", + "image": "selenoid/vnc_firefox:104.0", "port": "4444", "path": "/wd/hub" }, - "98.0": { - "image": "selenoid/vnc_firefox:98.0", + "104.0": { + "image": "selenoid/vnc_firefox:104.0", "port": "4444", "path": "/wd/hub" } @@ -48,11 +48,11 @@ "default": "latest", "versions": { "latest": { - "image": "selenoid/vnc_chrome:99.0", + "image": "selenoid/vnc_chrome:105.0", "port": "4444" }, - "99.0": { - "image": "selenoid/vnc_chrome:99.0", + "105.0": { + "image": "selenoid/vnc_chrome:105.0", "port": "4444" } } @@ -61,11 +61,11 @@ "default": "latest", "versions": { "latest": { - "image": "selenoid/vnc_opera:85.0", + "image": "selenoid/vnc_opera:90.0", "port": "4444" }, - "85.0": { - "image": "selenoid/vnc_opera:85.0", + "90.0": { + "image": "selenoid/vnc_opera:90.0", "port": "4444" } }