Skip to content

Commit

Permalink
test2021ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Sep 8, 2023
1 parent e57aa84 commit 5d43a95
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ jobs:
distribution: 'zulu'
java-version: '11'

- name: Install google chrome
shell: bash
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
- name: Determine nuxeo-elements branch to link
id: pick_nuxeo_elements_branch
run: |
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxeo-web-ui-ftest/scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if (process.env.DRIVER_VERSION == null) {
console.log(`${version} detected.`);
const match = version && version.match(/([0-9]+)\./);
if (match) {
const checkVersion = match[1];
const checkVersion = 114;
try {
done = fetch(`https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${checkVersion}`).then((response) => {
if (response.ok) {
Expand Down
2 changes: 1 addition & 1 deletion plugin/a11y/getDriverVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ try {
}
const match = version && version.match(/([0-9]+)\./);
if (match) {
const checkVersion = match[1];
const checkVersion = 114;
try {
fetch(`https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${checkVersion}`).then((response) => {
if (response.ok) {
Expand Down

0 comments on commit 5d43a95

Please sign in to comment.