Can you tell me what version of Visual Studio that you are running this in? We are trying to rule that out as a possibility for why it's not working on our end.
The Playwright test is what we are more concerned with since that is what we will be using for our testing and we have not been able to get it to run playwright tests successfully in an abp generated project, only in non-abp projects.
Does the Playwright sample test under AbpPlaywrightTest.TestBase.TestExample run for you?
Hello,
I removed the typeof(Microsoft.Playwright.NUnit.PlaywrightTest) where you advised, but I am still unable to run the tests. It continuously spins on Starting Test discovery.
Hello,
I sent a sample project to your email.
Please let me know if you need anything further from me.
Hello,
I have taken a look at the link you sent, but unfortunately it was not able to help. Would it be possible for you to send a sample abp generated project that has Playwright added and working so I can see how it is implemented?
Hello,
I have taken a look at the link you sent. As previously stated, we can successfully install Playwright using the information in their documentation. When we do this on non-Abp generated projects, it works as intended and as their documentation shows. However, when we add it to projects we generated from an Abp startup template via Abp Suite, we cannot get any tests to run. This seemingly points to Playwright and the pre-installed testing libraries from the Abp template are interfering with each other in some way.
Is their any guidance or recommendations on getting Playwright working in an Abp generated project?
Hello,
I did watch the video, but the the example used in there did not seem to be using an abp generated application like we are attempting to add Playwright to.
The issue seems to be that once we add Playwright per the instructions in their documentation. The included testing structure from an abp startup project and Playwright are interfering with each other and causing all testing to not run (even if it is only the sample tests). Is there any recommendation or guidance on how to get Playwright added and working in an abp generated application?