-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix/e2e tests ts issues #37501
Fix/e2e tests ts issues #37501
Conversation
@youssef-lr Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Note: i tested the changes in our AWS environment and it worked. (I can't however test the github action changes, although they are minimal and shouldn't cause any problems!) |
Co-authored-by: Andrew Gable <[email protected]>
Co-authored-by: Andrew Gable <[email protected]>
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@hannojg can update to latest |
@AndrewGable @youssef-lr Updated with main TS errors should be gone now! |
There was an error with the verify check:
is this relevant? |
Hm so weird, I haven't touched that file I know this happened to some other people as well: https://expensify.slack.com/archives/C01GTK53T8Q/p1708647726797519 |
So @hannojg - You don't get a diff locally? |
No, running locally I don't get the diffs 🤔 let me try to rebase with main |
Finally! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.47-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀
|
Details
In a recent PR the e2e tests were broken.:
The reason was because paths were used that are outside of the context of the e2e test runner code (the
tests/e2e
dir, which gets copied over to the AWS DeviceFarm runner).The best solution is to compile the code once from TypeScript to JS so it can run in any environment. We already use ncc for the github actions so i decided to use the same for the e2e tests.
Additionally I added a workflow that will run whenever the e2e tests get changed in a PR that verifies that the e2e tests are still buildable.
Fixed Issues
$ #37345
PROPOSAL:
Tests
Dev/CI only change, no tests needed.
Offline tests
QA Steps
Dev/CI only change, no tests needed.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
N/A
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop