I am trying to find a simple structure to write a appium test. Just a layout for now.
So far I have got my desired capability set and a client (as below) running.
A link to simple suitable doc reference or example would be appreciable.
my file for ref:
// javascript
const wdio = require('webdriverio');
const opts = {
port: 4723,
desiredCapabilities: {
platformName: "iOS",
platformVersion: "11.2",
deviceName: "iPad Pro (9.7-inch)",
app: "/Users//Library/Developer/Xcode/DerivedData/gxvxdqhgagczfggrmvvrxckjtlaw/Build/Products/Debug-iphonesimulator/Test.app",
automationName: "XCUITest"
}
};
const client = wdio.remote(opts);
describe ("login page", () => {
it('should be able to login', () => {
-- ????(how to find an element and do i need to use .wait())
});
});