Skip to content

Commit

Permalink
bory01
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekradzyminski committed Oct 15, 2023
1 parent 7455782 commit 217a007
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
install:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.18.0-chrome107-ff106-edge
image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
options: --user 1001
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cypress install
uses: cypress-io/github-action@v4
Expand All @@ -33,7 +33,7 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.18.0-chrome107-ff106-edge
image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
options: --user 1001
needs: install
steps:
Expand Down Expand Up @@ -61,50 +61,50 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

# ui-chrome-mobile-tests:
# timeout-minutes: 15
# runs-on: ubuntu-latest
# container:
# image: cypress/browsers:node16.18.0-chrome107-ff106-edge
# options: --user 1001
# strategy:
# fail-fast: false
# matrix:
# containers: [1, 2, 3, 4, 5]
# needs: install
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Download the build folders
# uses: actions/download-artifact@v3
# with:
# name: build
# path: build

# - name: "UI Tests - Chrome - Mobile"
# uses: cypress-io/github-action@v4
# with:
# config: "viewportWidth=375,viewportHeight=667"
# start: yarn start:ci
# wait-on: "http://localhost:3000"
# wait-on-timeout: 120
# browser: chrome
# record: true
# parallel: true
# group: 'UI - Chrome - Mobile'
# spec: cypress/tests/ui/*
# env:
# # Recommended: pass the GitHub token lets this action correctly
# # determine the unique run id necessary to re-run the checks
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
ui-chrome-mobile-tests:
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
options: --user 1001
# strategy:
# fail-fast: false
# matrix:
# containers: [1, 2, 3, 4, 5]
needs: install
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Download the build folders
uses: actions/download-artifact@v3
with:
name: build
path: build

- name: "UI Tests - Chrome - Mobile"
uses: cypress-io/github-action@v4
with:
config: "viewportWidth=375,viewportHeight=667"
start: yarn start:ci
wait-on: "http://localhost:3000"
wait-on-timeout: 120
browser: chrome
record: true
parallel: true
group: 'UI - Chrome - Mobile'
spec: cypress/tests/ui/*
env:
# Recommended: pass the GitHub token lets this action correctly
# determine the unique run id necessary to re-run the checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

ui-firefox-tests:
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.18.0-chrome107-ff106-edge
image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
options: --user 1001
needs: install
steps:
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.18.0-chrome107-ff106-edge
image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
options: --user 1001
needs: install
steps:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.18.0-chrome107-ff106-edge
image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
options: --user 1001
needs: install
steps:
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.18.0-chrome107-ff106-edge
image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
options: --user 1001
needs: install
steps:
Expand Down

0 comments on commit 217a007

Please sign in to comment.