You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To start developing more tests, the first step is being able to start the app and make sure it's connected to Realm.
Here's sample output from Xcode logs when run on an emulator.
When everything is working, a valid username and password combination is put into the fields and "Log In" is clicked - note that I tested against the realm-app-id called 'wildaidsandbox-mxgfy' which is the public sandbox for O-FISH development:
Logged in
Credential were removed. Server: wildaidsandbox-mxgfy
Credentials were added.
2020-10-01 11:44:38.624401-0400 O-FISH[23750:23515347] Sync: Connection[7]: Session[7]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
2020-10-01 11:44:38.661233-0400 O-FISH[23750:23515347] Sync: Connection[7]: Connected to endpoint '34.227.4.145:443' (from '192.168.4.34:65005')
2020-10-01 11:44:39.100963-0400 O-FISH[23750:23515347] Sync: Connection[7]: Disconnected
Here is an example when a valid username and password is entered, but the connection between Realm and the database isn't working, so it authenticates in Realm but cannot get any user information from the database. The user is logged in, but has no user or agency data:
Logged in
Credential were removed. Server: wildaidsandbox-mxgfy
Credentials were added.
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
Partition not set
2020-10-01 11:25:42.917853-0400 O-FISH[23750:23515347] Sync: Connection[3]: Session[3]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
email not set
Partition not set
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
2020-10-01 11:25:42.958481-0400 O-FISH[23750:23515347] Sync: Connection[3]: Connected to endpoint '54.145.94.221:443' (from '192.168.4.34:63880')
2020-10-01 11:25:43.264506-0400 O-FISH[23750:23515347] Sync: Connection[3]: Session[3]: Received: ERROR(error_code=206, message_size=33, try_again=1)
2020-10-01 11:25:43.271397-0400 O-FISH[23750:23515347] Sync: Connection[3]: Disconnected
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
email not set
First name not set
Last name not set
realmUser not set
The text was updated successfully, but these errors were encountered:
Automated test to verify a build against a realm app.
We have a minimal testing system within github actions:
https://github.com/WildAid/o-fish-ios/blob/main/.github/workflows/main.yml
To start developing more tests, the first step is being able to start the app and make sure it's connected to Realm.
Here's sample output from Xcode logs when run on an emulator.
When everything is working, a valid username and password combination is put into the fields and "Log In" is clicked - note that I tested against the realm-app-id called 'wildaidsandbox-mxgfy' which is the public sandbox for O-FISH development:
Here is an example when a valid username and password is entered, but the connection between Realm and the database isn't working, so it authenticates in Realm but cannot get any user information from the database. The user is logged in, but has no user or agency data:
The text was updated successfully, but these errors were encountered: