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

E2E test process not guaranteed to be running #3146

Open
westin-m opened this issue Nov 14, 2024 · 0 comments
Open

E2E test process not guaranteed to be running #3146

westin-m opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working flaky test .NET 9

Comments

@westin-m
Copy link
Contributor

westin-m commented Nov 14, 2024

on .net9 target frameworks the web UI tests do not launch.

The WebAppUiTests.WebAppCallsApiCallsGraphLocally.ChallengeUser_MicrosoftIdFlow_LocalApp_ValidEmailPasswordCreds_CallsDownStreamApiWithCiamAsync test is failing in OneBranch builds because myWebApp.exe is exiting prematurely.

Repro:
In WebAppUiTests, add net9.0 target framework:
<TargetFrameworks>net8.0; net9.0</TargetFrameworks>
Rebuild.
In the test explorer, run the .net 9 tests, and it will fail:

the UI automation failed: System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'D:\git\idWeb\tests\DevApps\ciam\myWebApi\bin\Debug\net9.0\myWebApi.exe' with working directory 'D:\git\idWeb\tests\DevApps\ciam\myWebApi\bin\Debug\net9.0'. The system cannot find the file specified.

same repros w/ the B2C tests and in the build.

@westin-m westin-m added bug Something isn't working flaky test labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flaky test .NET 9
Projects
None yet
Development

No branches or pull requests

2 participants