* Update comment
* Scaffold for e2e test
* Upload observation
* Update the observation by adding a comment
* Checking that comment appears
* Delete the observation
* Check that the comment is added succesfully
* Do not invalidate searchObservations query cache after observation deletion
* Update test IDs
* Script to check if e2e test user has observations
* Log out api response
* Increase default test timeout
* Add activity indicator to fetch location
* Add e2e location mock (#643)
Adds a mock for fetchUserLocation intended to be used with e2e tests. `MOCK_MODE=e2e` must be in the ENV for this to work.
---------
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
---------
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
* Crosshairs, location accuracy warnings, text input for location picker
* Add LocationPicker tests
* UI improvements and code refactor into smaller components; get GMaps working
* Add shadows to icons/text boxes
* Use debouncing to avoid map jitter when typing in location
* Show place results & let user pick new location from web api
* Add tests for location picker with remote results
* Add gmaps api key to github actions
* Try adding manifest placeholders for env variable to work in github actions
* Add key to printf in github actions
* Try accessing GMAPS_API_KEY a different way
* Update android e2e env file step
This updates the "Create .env file" step to use printf to print the Google Maps key into a newly created .env file in the GitHub Action runner. Using the same key as in env.example.
* Fix newline
---------
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
* E2e action step to test if secrets are given
* Comment out actual build steps
* Revert "Comment out actual build steps"
This reverts commit 02c7dbcb0e.
* Change name
* Update e2e_android.yml
* Run workflows on pull requests
* Remove comment
* Add e2e test to log in a test user
* Add config variables to .env.example
* Add e2e user credentials to .env created for workflow
* Fix newline typo in workflow file
* Change ios e2e to run only on push to main as well
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>