From 87d0af5a39f8cbcf7c6ecd46d1d9bf4b2e6a8768 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Wed, 3 Jun 2026 16:14:35 +0200 Subject: [PATCH] ci: remove edge browser from cypress --- .changeset/old-parents-accept.md | 5 +++++ images/app-cypress/Dockerfile | 25 ++++++++++++------------- 2 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 .changeset/old-parents-accept.md diff --git a/.changeset/old-parents-accept.md b/.changeset/old-parents-accept.md new file mode 100644 index 00000000..40af1563 --- /dev/null +++ b/.changeset/old-parents-accept.md @@ -0,0 +1,5 @@ +--- +"@openstapps/app-cypress": patch +--- + +removed edge browser diff --git a/images/app-cypress/Dockerfile b/images/app-cypress/Dockerfile index 9dacea89..3d1001e1 100644 --- a/images/app-cypress/Dockerfile +++ b/images/app-cypress/Dockerfile @@ -66,22 +66,22 @@ RUN export FIREFOX_VERSION=$(curl -fsSL https://product-details.mozilla.org/1.0/ rm /tmp/firefox.tar.xz && \ ln -fs /opt/firefox/firefox /usr/bin/firefox -RUN echo "Downloading Latest Edge version..." +# RUN echo "Downloading Latest Edge version..." ## Setup Edge -RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg -RUN install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ -RUN sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list' -RUN rm microsoft.gpg +# RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg +# RUN install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ +# RUN sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list' +# RUN rm microsoft.gpg -## Install Edge -RUN apt-get update && \ - apt-get install -y microsoft-edge-dev \ - && rm -rf /var/lib/apt/lists/* \ - && apt-get clean +# ## Install Edge +# RUN apt-get update && \ +# apt-get install -y microsoft-edge-dev \ +# && rm -rf /var/lib/apt/lists/* \ +# && apt-get clean -# Add a link to the browser that allows Cypress to find it -RUN ln -s /usr/bin/microsoft-edge /usr/bin/edge +# # Add a link to the browser that allows Cypress to find it +# RUN ln -s /usr/bin/microsoft-edge /usr/bin/edge ### PNPM RUN corepack enable && corepack prepare pnpm@latest-10 --activate @@ -93,7 +93,6 @@ RUN echo " node version: $(node -v) \n" \ "debian version: $(cat /etc/debian_version) \n" \ "Chrome version: $(google-chrome --version) \n" \ "Firefox version: $(firefox --version) \n" \ - "Edge version: $(edge --version) \n" \ "git version: $(git --version) \n" \ "whoami: $(whoami) \n"