Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update automated test versions #751

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading