Skip to content

Commit

Permalink
Updates to automation testing to reflect latest stable runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
johnman committed Nov 26, 2024
1 parent 8730414 commit 1d2d2a8
Show file tree
Hide file tree
Showing 10 changed files with 297 additions and 225 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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.80');
});

it('The identity should be set', async () => {
Expand Down
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.80');
});

it('Can open the store window', async () => {
Expand Down
2 changes: 1 addition & 1 deletion how-to/automation-testing/selenium/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "automation-testing-selenium",
"version": "19.0.0",
"version": "19.2.0",
"description": "OpenFin Workspace Starter Selenium Example",
"scripts": {
"build": "echo Nothing to build",
Expand Down
4 changes: 2 additions & 2 deletions how-to/automation-testing/selenium/selenium.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ async function runMochaTests() {
}

// The version of the chromedriver in the package.json should match the runtime version from the app manifest.
// e.g. if the manifest runtime version is 38.126.82.64 then the chromedriver version should be "118.0.0"
// e.g. if the manifest runtime version is 38.126.83.80 then the chromedriver version should be "126.0.0"
const testManifestUrl =
'https://built-on-openfin.github.io/workspace-starter/workspace/v19.1.0/register-with-home/manifest.fin.json';
'https://built-on-openfin.github.io/workspace-starter/workspace/v19.2.0/register-with-home/manifest.fin.json';
const chromeDriverPort = 5678;
const devToolsPort = 9122;

Expand Down
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.80');
});

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
@@ -1,6 +1,6 @@
{
"name": "automation-testing-wdio",
"version": "19.0.0",
"version": "19.2.0",
"scripts": {
"build": "echo Nothing to build",
"test": "wdio run wdio.conf.js",
Expand Down
2 changes: 1 addition & 1 deletion how-to/automation-testing/wdio/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.80');
});

it('The identity should be set', async () => {
Expand Down
4 changes: 2 additions & 2 deletions how-to/automation-testing/wdio/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const fsPromises = require('fs/promises');
const path = require('path');

// The version of the chromedriver in the package.json should match the runtime version from the app manifest.
// e.g. if the manifest runtime version is 38.126.82.64 then the chromedriver version should be '118.0.0'
// e.g. if the manifest runtime version is 38.126.83.80 then the chromedriver version should be '126.0.0'
const manifestUrl =
'https://built-on-openfin.github.io/workspace-starter/workspace/v19.1.0/register-with-home/manifest.fin.json';
'https://built-on-openfin.github.io/workspace-starter/workspace/v19.2.0/register-with-home/manifest.fin.json';
const chromeDriverPort = 5843;
const devToolsPort = 9123;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"company": "OpenFin",
"description": "A way of showing examples of what OpenFin can do.",
"icon": "http://localhost:8080/favicon.ico",
"name": "Integrate Server Authentication - Hidden Provider - v19.1.0",
"name": "Integrate Server Authentication - Hidden Provider - v19.2.0",
"target": ["desktop", "start-menu"]
},
"supportInformation": {
Expand Down
Loading

0 comments on commit 1d2d2a8

Please sign in to comment.