Appium Mac Driver is a test automation tool for Mac apps
npm install appium-mac-driver
Import Mac Driver, set desired capabilities and create a session:
import { MacDriver } from `appium-mac-driver`
let defaultCaps = {
platformName: 'Mac'
};
let driver = new MacDriver();
await driver.createSession(defaultCaps);
npm run test
You can run unit and e2e tests:
// unit tests:
npm run test
// e2e tests
npm run e2e-test