Replies: 1 comment 1 reply
-
How were you able to get this far? Sorry I don't have any answer but I'm trying to get there myself, but mind sharing some code on how you got this bit and I wil try to tackle that next. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been playing around with e2e testing on my Aspire/Blazor app, and have been trying out testing against a locally running aspire instance via 'DistributedApplicationTestingBuilder' (using Playwright/nUnit and Specflow).
I've got that working nicely locally, my tests spin up Aspire and Playwright is able to test against the local endpoint.
I've been having a go at seeing if the tests can run this way on my build pipeline (Azure DevOps agent), but realizing that as I'm using a redis cache, the build agent probably can't spin up redis locally as it won't have docker. I imagine the build agent is probably a container anyway, so would this be a container in a container? Is this something that can work or am I barking up the wrong tree?
(I can run these test post deploy as a smoke test instead).
I tried adding the 'Install Docker CLI' step to my pipeline to no avail. With an ubuntu agent I see errors like:
error: net::ERR_NETWORK_CHANGED at https://localhost:35925/Dashboard
With a windows host I see:
Beta Was this translation helpful? Give feedback.
All reactions