Skip to content

Commit

Permalink
WEBUI-1260: need to downgrade chrome browser version
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Sep 11, 2023
1 parent 7dd58cb commit 1e42705
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 61 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/a11y.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:

jobs:
a11y:
runs-on: ubuntu-latest
runs-on: [self-hosted, master]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -48,13 +48,11 @@ jobs:
distribution: 'zulu'
java-version: '17'

- name: Install google chrome
shell: bash
- name: Install google chrome
run: |
wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
wget https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
apt install -y --allow-downgrades ./google-chrome-stable_114.0.5735.90-1_amd64.deb
ln -s /usr/bin/google-chrome /usr/bin/chrome
chrome --version
apt chrome --version
- name: 'Update settings.xml with server configuration'
run: |
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/action.yml

This file was deleted.

10 changes: 4 additions & 6 deletions .github/workflows/ftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ jobs:
distribution: 'zulu'
java-version: '17'

- name: Install google chrome
shell: bash
- name: Install google chrome
run: |
wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
apt install -y --allow-downgrades ./google-chrome-stable_114.0.5735.90-1_amd64.deb
ln -s /usr/bin/google-chrome /usr/bin/chrome -f
chrome --version
wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
apt install -y --allow-downgrades ./google-chrome-stable_114.0.5735.90-1_amd64.deb
apt chrome --version
- name: Determine nuxeo-elements branch to link
id: pick_nuxeo_elements_branch
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected]
secrets:
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }}
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }}a
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }}
with:
branch: maintenance-3.1.x

build:
needs: [action, lint, test, a11y, ftest]
needs: [lint, test, a11y, ftest]
runs-on: [self-hosted, master]
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions packages/nuxeo-web-ui-ftest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@cucumber/tag-expressions": "^2.0.4",
"@wdio/cli": "7.20.5",
"@wdio/cucumber-framework": "^7.20.3",
"@wdio/local-runner": "7.2.0",
"@wdio/local-runner": "7.32.4",
"@wdio/selenium-standalone-service": "7.2.0",
"@wdio/spec-reporter": "^7.2.0",
"@wdio/sync": "^7.2.0",
Expand All @@ -40,7 +40,7 @@
"multiple-cucumber-html-reporter": "^1.18.0",
"node-fetch": "^2.6.1",
"nuxeo": "^4.0.3",
"wdio-chromedriver-service": "7.0.0",
"wdio-chromedriver-service": "7.3.2",
"wdio-cucumberjs-json-reporter": "^2.0.3",
"webdriverio": "^7.2.0"
}
Expand Down
4 changes: 2 additions & 2 deletions plugin/a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@babel/preset-env": "^7.15.0",
"@babel/register": "^7.14.5",
"@nuxeo/nuxeo-web-ui-ftest": "file:../../packages/nuxeo-web-ui-ftest",
"@wdio/cli": "^7.20.5",
"@wdio/cli": "7.20.5",
"@wdio/local-runner": "^7.20.5",
"@wdio/mocha-framework": "^7.2.0",
"@wdio/selenium-standalone-service": "^7.2.0",
"@wdio/selenium-standalone-service": "7.2.0",
"@wdio/spec-reporter": "^7.2.0",
"@wdio/sync": "^7.2.0",
"axe-core": "^4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion plugin/a11y/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const options = {
if (process.env.HEADLESS) {
options.args.push('--window-size=1920,1080');
options.args.push('--single-process');
// options.args.push('--headless');
options.args.push('--headless');
options.args.push('--disable-gpu');
options.args.push('--disable-dev-shm-usage');
}
Expand Down

0 comments on commit 1e42705

Please sign in to comment.