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

[Docs]: How to start application in docker to be open in CI Playwright tests? #2937

Closed
michael-freidgeim-webjet opened this issue May 18, 2024 · 2 comments

Comments

@michael-freidgeim-webjet
Copy link

michael-freidgeim-webjet commented May 18, 2024

Page(s)

https://playwright.dev/dotnet/docs/ci-intro#on-pushpull_request

Description

The page only shows how to Build and run PlayWright project , not how to start the website under the test

I’ve posted a question about the possible workflow https://stackoverflow.com/questions/78498277/how-to-start-asp-net-core-application-in-docker-to-be-open-in-ci-playwright-test
It will be good if the recommended approach will be included in your documentation

@mxschmitt
Copy link
Member

Folding into #2369

TL;DR: Nothing available out of the box as of today. We recommend e.g. starting it in the background via & and waiting it to be available via e.g. npx wait-on or starting it inside AssemblyInitialize.

@michael-freidgeim-webjet
Copy link
Author

michael-freidgeim-webjet commented Jun 1, 2024

Thanks @mxschmitt , I was able to follow your suggestion to use AssemblyInitialize.
I've described main steps in stackoverflow answer

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

No branches or pull requests

2 participants