Appium test a Ionic5 app to run on Aws Device Farm? - ionic-framework

I have a app written with Ionic 5. I want to be able to test it on AWS Farm, so I need to setup Appium tests to work. I have found https://marckassay.github.io/test/automation/2019/03/28/ionic-angular-with-appium.html but its for Ionic 4.
Any pointers?

Related

How to run Flutter driver tests remotely

We have Flutter driver tests running locally with a command like:
flutter drive --target=test_driver/app.dart --driver=test_driver/test/login_test.dart --flavor dev --no-start-paused
And having an Android device plugged in to the computer.
Now we want to run these tests remotely. We are trying to figure out which devices in the cloud provider is the best for running flutter driver tests.
We tried following the guide on https://flutter.dev/docs/testing/integration-tests and run them on Firebase Testlab but we couldnt make it work, or it is not possible with Flutter driver tests.
Which devices in the cloud provider we should choose for running flutter driver tests? We have got Bitrise as CI solution.
For Android, you can use the AVD Manager step to create an Android emulator and add Wait for Android emulator step to wait for the emulator to finish the boot.

How to deploy Ionic app for remote internal users to test

I have an ionic app build on my system.
For now, I have been testing my app using Ionic DevAPP (which can be found on the App Store and Google Play).
Prerequisite to run an app on my mobile device using Ionic DevApp is, My app needs to be up and running using the command:
ionic serve
This option looks great when doing development.
But now, I have my app build and I want to share it with the testing team and PO who is located on shore.
I want to know is there any way or free platform where the users can run an app on their mobile devices directly without starting a dev server.
NOTES:
I know about Ionic dashboard, but it is not free when comes to sharing builds.
I don't want to upload my app on Play Store or Google Play.
Any help is recommended as I am really looking for options to share my app.
I use Diawi To share both apk and ipa, bypassing play/app stores.

Debug an Ionic app published on google play

I am new to ionic app development. I have managed to make an ionic app and test it using android emulator. It works fine.
My app connects to a backend which is deployed on a DNS server and the data is exchanged.
This worked fine using ionic serve or even using the command ionic cordova run android --device.
However, the data is not getting updated on backend when I am trying to use the app after installing it from google play.
Can someone please help me how to debug the app.
I have installed the app on my android device and now trying to hit my backend server to update the data.
Thank you in advance.

End-to-End test with Protractor, Appium, Ionic on iOS device. Timeout on accesing HTML element

Note: I'm just starting to work with end-to-end testing so please forgive my noobness.
The problem
I am trying to execute end-to-end test using Protractor with Jasmine and Appium on a iOS device on a simple dummy application created with Ionic v1. All what I am trying to make the test do is just click a button located with: element(by.css('a[icon-on=ion-ios-chatboxes]')).
What I am getting is a timeout but I wasn't able to track down the problem to the root.
Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
The interesting part is that on an Android device works without any problem.
Environment
Appium version: v1.6.5
Last Appium version that did not exhibit the issue: -
Desktop OS/version used to run Appium: macOS Sierra 10.12.3
Node.js version (unless using Appium.app|exe): v7.8.0
Mobile platform/version under test: iOS 10.3.1
Real device or emulator/simulator: Real Device
Appium CLI or Appium.app|exe: Appium CLI
Link to Appium, Protractor and webDriver logs
https://gist.github.com/SpedsT/e16e4ee6093fde873c18467e96392296
Safari doesn't support the async javascript calls Protractor uses to determine if Angular is ready. You can try if your tests will work when you disable wait for Angular. You can find more about how to do this here.
Issues concerning Safari can be found here

Mobile app automation for angular application

I have successfully set up protractor appium tests to run on (connected devices )Mobile iOS and Android browser.
We have a mobile app that is slightly different than the web app. I would like to automate that as well. But understand protractor appium doesn't support native app yet. Is there any other tool which will allow us to automate angular apps besides appium? Please advise.
Thanks,