![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@openfin/automation-helpers
Advanced tools
Helper methods for automation testing in the OpenFin ecosystem
This package contains helper methods which can be use in automation testing to interact with the OpenFin ecosystem.
They should be used in a test runner that has webdriver capabilities e.g. @openfin/automation-cli
Run npm i @openfin/automation-helpers
.
These examples use chai
as the testing framework, but you can choose any framework you like.
import { expect } from "chai";
import { OpenFinProxy, WebDriver } from "@openfin/automation-helpers";
describe('Test Suite', () => {
it('The runtime version should be set', async () => {
const fin = await OpenFinProxy.fin();
const runtimeVersion = await fin.System.getVersion();
expect(runtimeVersion).to.equal('26.102.70.16');
});
});
import { expect } from "chai";
import { OpenFinHome } from "@openfin/automation-helpers";
describe('Test Suite', () => {
it('Can search in the Home component', async () => {
await OpenFinHome.search("basic");
await WebDriver.sleep(1000);
const ids = await OpenFinHome.searchResultIds();
expect(ids.length).equal(2);
expect(ids[0]).equal("basic-interop-view");
expect(ids[1]).equal("basic-fdc3-view");
});
});
import { expect } from "chai";
import { WebDriver } from "@openfin/automation-helpers";
describe('Test Suite', () => {
it('Can perform operation in the interop window', async () => {
await WebDriver.switchToWindow("title", "Interop Instrument Selection");
const elem = await WebDriver.findElementByPath("//h1");
await elem.setHTML("My New Title");
const elem2 = await WebDriver.findElementByPath("//h1");
const value = await elem2.getHTML();
expect(value).eq("My New Title");
await WebDriver.sleep(2000);
});
});
For more information on debugging in OpenFin see https://developers.openfin.co/of-docs/docs/debugging
FAQs
Helper methods for automation testing in the OpenFin ecosystem
The npm package @openfin/automation-helpers receives a total of 98 weekly downloads. As such, @openfin/automation-helpers popularity was classified as not popular.
We found that @openfin/automation-helpers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.