-
Notifications
You must be signed in to change notification settings - Fork 42
ci: run E2E suites in demo apps #352
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 all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
7b99a2a
feat: add shared jest tests for demo apps
narefyev91 7111313
feat: use correct version for yarn
narefyev91 d12501f
feat: add change set
alpharius-ck ca838d6
Potential fix for pull request finding
alpharius-ck 643b12c
feat: add required globals
alpharius-ck 0bd212f
feat: fixes for local build
alpharius-ck fde9f2b
Merge branch 'main' into fixes-for-local-build
alpharius-ck 3f0dd65
feat: add ios e2e tests
alpharius-ck 5eae0f4
chore: merge main to current branch
alpharius-ck 4c74e91
feat: add ios e2e tests
alpharius-ck e0c6bca
feat: update CI failed
alpharius-ck e126da0
feat: add document
alpharius-ck b0e8189
Merge branch 'main' into e2e-tests-for-rn-ios
alpharius-ck 5e70e03
feat: add concurent ci runs
alpharius-ck 370fee2
chore: add dispatch
alpharius-ck 7f4890a
chore: retrigger CI
alpharius-ck fce7ce1
feat: fix actions for detox
alpharius-ck 1b8180a
feat: fix actions for RNApp
alpharius-ck ac32c18
feat: add correct sim for ci
alpharius-ck ba5a4c7
feat: update ci
alpharius-ck 6079aa0
feat: update ci
alpharius-ck 26ff08e
feat: update RNApp on CI
alpharius-ck 9d94277
feat: update Expo55 on CI
alpharius-ck a53ac67
feat: add local bash commands
alpharius-ck ef6d578
feat: add fix for Expo55
alpharius-ck 9ed1725
feat: add fix for Expo55 ci
alpharius-ck 71c8e55
feat: add fix for Expo54 ci
alpharius-ck 07e3525
Merge branch 'main' into e2e-tests-for-rn-ios
alpharius-ck 4eeb404
feat: add fix for Vanilla android
alpharius-ck db3eb33
feat: add change set
alpharius-ck f41059b
feat: add changes based on first review
alpharius-ck 994dae2
feat: add more changes
alpharius-ck 699a96d
feat: add E2E tests for AppleApp
alpharius-ck 9b98257
feat: add missing local run
alpharius-ck 0097306
feat: fix e2e test
alpharius-ck 2e6c284
feat: add e2e for expo
alpharius-ck 8cf2499
Merge branch 'main' into e2e-tests-for-rn-ios
alpharius-ck 22022a5
feat: fix e2e for expo
alpharius-ck b12c86f
feat: latest comments
alpharius-ck e4353da
feat: add missing files
alpharius-ck 445137e
feat: fix e2e on ci
alpharius-ck d25b82d
chore: retrigger CI
alpharius-ck 8f85056
feat: remove not needed file
alpharius-ck 02b76e2
feat: change set
alpharius-ck dcb1a8a
feat: change set
alpharius-ck 3613dd2
feat: add set
alpharius-ck ea105ee
Merge branch 'main' into e2e-tests-for-rn-ios
alpharius-ck 861eef0
feat: increase timeout for native message
alpharius-ck c717e9c
feat: fix ci for expo55
alpharius-ck f305c7a
feat: fix ci for vanilla
alpharius-ck f7b005a
feat: clean up dead code
alpharius-ck 7834d0d
feat: resolve comments
alpharius-ck d08a114
feat: add change set
alpharius-ck 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@callstack/brownfield-navigation': minor | ||
| --- | ||
|
|
||
| e2e tests |
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 |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| const { | ||
| createAppleAppIosSimDebugDetoxConfig, | ||
| } = require('../brownfield-example-shared-tests/detox-rc-appleapp-ios-sim-debug.cjs'); | ||
|
|
||
| /** @type {import('detox').DetoxConfig} */ | ||
| module.exports = createAppleAppIosSimDebugDetoxConfig({ | ||
| scheme: 'Brownfield Apple App Vanilla', | ||
| configuration: 'Debug Vanilla', | ||
| appBinaryName: 'Brownfield Apple App (RNApp)', | ||
| }); |
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,17 @@ | ||
| const { | ||
| createAppleAppIosSimDebugDetoxConfig, | ||
| } = require('../brownfield-example-shared-tests/detox-rc-appleapp-ios-sim-debug.cjs'); | ||
| const { | ||
| getAppleAppDetoxVariant, | ||
| } = require('../brownfield-example-shared-tests/detox-appleapp-variants.cjs'); | ||
|
|
||
| const variant = getAppleAppDetoxVariant('expo55'); | ||
|
|
||
| /** @type {import('detox').DetoxConfig} */ | ||
| module.exports = createAppleAppIosSimDebugDetoxConfig({ | ||
| scheme: variant.scheme, | ||
| configuration: variant.configuration, | ||
| appBinaryName: variant.appBinaryName, | ||
| detoxConfiguration: variant.detoxConfiguration, | ||
| jestConfigPath: 'e2e/jest.config.expo55.cjs', | ||
| }); |
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,10 @@ | ||
| import Foundation | ||
|
|
||
| /// Keep in sync with `@callstack/brownfield-example-shared-tests` `e2eTestIds`. | ||
| enum E2eTestIds { | ||
| static let appleAppGreeting = "brownfield-e2e-appleapp-greeting" | ||
| static let appleAppPostMessageSend = "brownfield-e2e-appleapp-post-message-send" | ||
| static let appleAppPostMessageToast = "brownfield-e2e-appleapp-post-message-toast" | ||
| static let appleAppNativeSettings = "brownfield-e2e-appleapp-native-settings" | ||
| static let appleAppNativeReferrals = "brownfield-e2e-appleapp-native-referrals" | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: Does using prebuilt causes error? I believe if we use prebuilts, we might save some time on CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.