Skip to content
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

Publish xctest result for screenshots and diagnostic logs #2306

Merged
merged 23 commits into from
May 21, 2024

Conversation

KangxuanYe
Copy link
Contributor

@KangxuanYe KangxuanYe commented May 3, 2024

For more information about how to contribute to this repo, visit this page.

Description

This PR is to ALWAYS publish the artifacts on iOS E2E testing pipeline for the convenience of investigating some flaky failures if those happen. You could go to pipeline and click "published artifacts". Then you will find two folders which are called iOSDebugLogs - iosE2ETestPlanA and iOSDebugLogs - iosE2ETestPlanB.

Those folders will always be there for each run but it only worth to take a look into those folders if something fails on iOS E2E pipelines. If all tests are passed successfully, publishing process should only take seconds and I think it is okay. to put always condition on those tasks since sometimes, pipeline will timeout and we also would like to know why and need some diagnostic info.

Unit Tests added: No

End-to-end tests added: No

@KangxuanYe KangxuanYe requested a review from a team as a code owner May 3, 2024 21:32
@KangxuanYe KangxuanYe changed the title [Still Testing / Do not review] Publish xctest result for screenshots Publish xctest result for screenshots and diagnostic logs May 7, 2024
jekloudaMSFT
jekloudaMSFT previously approved these changes May 7, 2024
@KangxuanYe KangxuanYe enabled auto-merge (squash) May 7, 2024 23:48
@KangxuanYe KangxuanYe disabled auto-merge May 8, 2024 17:36
@KangxuanYe KangxuanYe merged commit 843454e into main May 21, 2024
21 checks passed
@KangxuanYe KangxuanYe deleted the kx/publish_screenshots branch May 21, 2024 18:31
shrshindeMSFT pushed a commit that referenced this pull request May 22, 2024
* Publish xctest result for screenshots

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* add attempts

* update

* update yml file to use original junit file path

* update copy file process

* generate test result in original places

* copy testResults

* fix yaml file indent error

* add generating xchtmlreport process for published artifacts

* remove useless task

* update:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants