Skip to content

Commit

Permalink
Update automated test versions
Browse files Browse the repository at this point in the history
  • Loading branch information
raycashmore committed Nov 4, 2024
1 parent 9565445 commit a5de6af
Show file tree
Hide file tree
Showing 10 changed files with 11,891 additions and 9,474 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules
build
out
.DS_STORE
.idea
how-to/*/package-lock.json
how-to/workspace-platform-starter/packaged
how-to/workspace-platform-starter/public/js/assets/provider.zip
Expand Down
5 changes: 2 additions & 3 deletions how-to/automation-testing/register-with-home-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"author": "[email protected]",
"license": "SEE LICENSE IN LICENSE.MD",
"devDependencies": {
"@openfin/automation-cli": "^1.2.0",
"@openfin/automation-helpers": "^1.2.0",
"chai": "4.3.10",
"@openfin/automation-cli": "^1.3.0",
"@openfin/automation-helpers": "^1.3.0",
"jasmine-pretty-html-reporter": "0.2.5",
"jest-html-reporters": "3.1.7",
"mochawesome": "7.1.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ const {
WebDriver,
WebDriverKeys
} = require('@openfin/automation-helpers');
const { expect } = require('chai');
const { By } = require('selenium-webdriver');

let providerWindowUrl;

describe('Register with Home', () => {
describe('Register with Home', async () => {
const expect = await import('chai');

it('The runtime is ready', async () => {
console.log('Tests Started', globalThis.automation.globalVars?.startTime);

Expand Down Expand Up @@ -41,7 +42,7 @@ describe('Register with Home', () => {
it('The runtime version should be set', async () => {
const fin = await OpenFinProxy.fin();
const version = await fin.System.getVersion();
expect(version).to.equal('38.126.82.64');
expect(version).to.equal('38.126.83.79');
});

it('The identity should be set', async () => {
Expand Down
4 changes: 2 additions & 2 deletions how-to/automation-testing/register-with-home-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"author": "[email protected]",
"license": "SEE LICENSE IN LICENSE.MD",
"devDependencies": {
"@openfin/automation-cli": "^1.2.0",
"@openfin/automation-helpers": "^1.2.0",
"@openfin/automation-cli": "^1.3.0",
"@openfin/automation-helpers": "^1.3.0",
"@types/chai": "4.3.12",
"chai": "4.3.10"
}
Expand Down
4 changes: 2 additions & 2 deletions how-to/automation-testing/register-with-store-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"author": "[email protected]",
"license": "SEE LICENSE IN LICENSE.MD",
"devDependencies": {
"@openfin/automation-cli": "^1.2.0",
"@openfin/automation-helpers": "^1.2.0",
"@openfin/automation-cli": "^1.3.0",
"@openfin/automation-helpers": "^1.3.0",
"chai": "4.3.10"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('Register with Store', () => {
it('The runtime version should be set', async () => {
const fin = await OpenFinProxy.fin();
const version = await fin.System.getVersion();
expect(version).to.equal('38.126.82.64');
expect(version).to.equal('38.126.83.79');
});

it('Can open the store window', async () => {
Expand Down
6 changes: 3 additions & 3 deletions how-to/automation-testing/selenium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"author": "[email protected]",
"license": "SEE LICENSE IN LICENSE.MD",
"devDependencies": {
"@openfin/automation-helpers": "^1.2.0",
"@openfin/automation-helpers": "^1.3.0",
"chai": "4.3.10",
"chromedriver": "126.0.4",
"fkill": "7.2.1",
"fkill-cli": "7.1.0",
"mocha": "10.3.0",
"selenium-webdriver": "4.18.1"
"mocha": "10.8.2",
"selenium-webdriver": "4.26.0"
}
}
2 changes: 1 addition & 1 deletion how-to/automation-testing/selenium/test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('Register with Home', () => {
it('The runtime version should be set', async () => {
const fin = await OpenFinProxy.fin();
const version = await fin.System.getVersion();
expect(version).to.equal('38.126.82.64');
expect(version).to.equal('38.126.83.79');
});

it('The identity should be set', async () => {
Expand Down
2 changes: 1 addition & 1 deletion how-to/automation-testing/wdio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"kill": "fkill -f -s OpenFin.exe OpenFinRVM.exe chromedriver.exe OpenFin OpenFinRVM chromedriver"
},
"devDependencies": {
"@openfin/automation-helpers": "^1.2.0",
"@openfin/automation-helpers": "^1.3.0",
"@wdio/cli": "8.40.3",
"@wdio/local-runner": "8.40.3",
"@wdio/mocha-framework": "8.40.3",
Expand Down
Loading

0 comments on commit a5de6af

Please sign in to comment.