Activities of "ben.shelton"

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?

Question
  • ABP Framework version: v7.2.2
  • UI Type: MVC
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

Hello,

We are attempting to implement Playwright for end-to-end testing in our application. Prior to adding playwright, we are able to run the sample tests included in startup solutions from abp successfully and in non-abp applications we are able to add Playwright per their documentation for Visual Studio and test successfully. However once we add the Playwright into an abp generated solution, then the tests will not complete and seem to get hung up.

I see in the abp docs (https://docs.abp.io/en/abp/latest/Testing), it says that xUnit, NSubstitute, and Shoudly are the libraries already installed for startup projects for testing, but it also says these can be replaced. However, I did not find any resources on how to accomplish this.

Is there any guidance we can get for adding Playwright and having it work with our abp application? Additionally if Playwright is not recommended for end-to-end testing with abp applications, then do you have any recommended ones?

  • ABP Framework version: v7.2.2
  • UI Type: MVC
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

We have a manager that is being called by an appservice in order to do some cross-modules validation checks. If the checks fail, then a BusinessException is thrown. The BusinessExceptions are currently returning Status 403 Forbidden when thrown. Is there a way to make them return Status 400 Bad Request instead?

Showing 1 to 10 of 11 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07