-
Notifications
You must be signed in to change notification settings - Fork 85
Automate e2e tests for Android and IOS #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 45 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
ef2abea
test: Adding simple test cases as a foundation for e2e tests for Reac…
kilian-tennyson 743b158
Merge remote-tracking branch 'origin/main' into maestro_playground
kilian-tennyson 36b0685
feat: running tests as part of the pipeline
kilian-tennyson a1573a9
chore: removing accidental space
kilian-tennyson 1a39885
feat: installing ruby version from .ruby-version
kilian-tennyson cf68ea2
none: try installing a particular ruby version
kilian-tennyson 4601908
none: adding cocoapods to fix error
kilian-tennyson 8ef74f3
none: trying to increase resources to run android test
kilian-tennyson 4a670b9
none: fixing error with resources
kilian-tennyson 56e9d2c
none: trying to allocate resources to android-e2e-test
kilian-tennyson c824c94
none: increasing the android orb version
kilian-tennyson 147da46
none: adding missing parameters
kilian-tennyson 998a8fa
none: reverting resource parameter as it is duplicated
kilian-tennyson 3663aa8
none: trying to install correct ruby version
kilian-tennyson 00bf65d
none: trying to install correct ruby version using chruby
kilian-tennyson 59fd75f
none: adding setup ruby step to ios test job
kilian-tennyson 934bfc0
none: returning to original pod command
kilian-tennyson 468bd2b
none: trying to get pod install to work
kilian-tennyson 626affc
none: reverting pod changes to original
kilian-tennyson 0698ff4
none: trying to fix android resourcing
kilian-tennyson fa8eb3b
chore: bumping ruby and node versions
kilian-tennyson 39d1997
chore: check ruby file and fix file path of index
kilian-tennyson 908e914
none: checking emulator is up before running tests and installing rub…
kilian-tennyson 8503d31
none: readding node orb and setting ruby version to 3.3.0
kilian-tennyson 66e5ee8
none: listing available emulators as ios step cant find any
kilian-tennyson ecf24ca
none: trying to use older version of maestro
kilian-tennyson 6364fda
none: reverting maestro dependency to see if it fixes the issue
kilian-tennyson 6530573
none: try listing maestro version and returning tag to default
kilian-tennyson 7d21a27
Merge remote-tracking branch 'origin/main' into maestro-circle-ci
kilian-tennyson 08464dc
feat: add steps to install ios app on emulator
kilian-tennyson a0f0e98
test: adding a delay to allow for logging in
kilian-tennyson 9c0c728
test: trying to fix ios help center test
kilian-tennyson 8510379
test: check if present help center is enabled before tapping
kilian-tennyson f7e2784
feat: adding android install step
kilian-tennyson 6a80360
test: adding assertions to make android tests pass
kilian-tennyson 18e2ea7
test: adding assertions to get android tests to pass
kilian-tennyson 817582e
none: trying to fix android app for android tests
kilian-tennyson b0b26a8
none: reverting change to build.gradle
kilian-tennyson ae37806
refactor: moving tests to test folder and updating config
kilian-tennyson 1e1b667
none: restored original e2e package.json, since it has been moved int…
kilian-tennyson 6d157c5
test: testing on debug app
kilian-tennyson 71a8134
none: testing new keys for React Native
kilian-tennyson 4af52bb
none: updating article ID
kilian-tennyson 3a85cb5
none: updating tests to reflect React Native workspace
kilian-tennyson 61b7843
none: fixing tests for help center
kilian-tennyson 5965b73
none: removing the large resource class on the android step
kilian-tennyson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,13 @@ | ||
| git appId: com.example.intercomreactnative | ||
| appId: com.example.intercomreactnative | ||
| tags: | ||
| - android | ||
| - messenger | ||
| --- | ||
| - launchApp | ||
| - tapOn: "Login as an Unidentified User" | ||
| - assertVisible: | ||
| text: "Present Intercom" | ||
| enabled: true | ||
| - tapOn: "Present Intercom" | ||
| - tapOn: "Messenger Apps" | ||
| - tapOn: "Messages" | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "name": "intercom-react-native-example-e2e-tests", | ||
| "description": "Running", | ||
| "version": "1.0.0", | ||
| "main": "index.js", | ||
| "scripts": { | ||
| "build:android": "../android/gradlew assembleRelease -Pfoss -p ../android", | ||
| "build:ios": "xcodebuild build -workspace ../ios/IntercomReactNativeExample.xcworkspace -scheme IntercomReactNativeExampleUI -configuration Release -sdk iphonesimulator -derivedDataPath ./build", | ||
| "test:android": "maestro test ./maestro/android/*.yaml", | ||
| "test:ios": "maestro test ./maestro/ios/*.yaml" | ||
| }, | ||
| "keywords": [], | ||
| "author": "", | ||
| "license": "ISC" | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.