End to End Test Overview
  • 17 Sep 2025
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

End to End Test Overview

  • Dark
    Light
  • PDF

Article summary

This section will show an example of using Playwright and MsTest combined with the Logic App Test Manager framework described in the integration tests section to show how you can automate the user interface of an application which can then be used to perform a full end to end test of a Logic App plus the applications used with it.

Video


Process


The process of the test is as follows:

Pre-req:

  • My application is deployed as an azure web app

  • My logic app is deployed to Azure

Test Process:

  • Use playwight to do the following:

    • Open the web application which is deployed into Azure

    • Login to the application using a credential from Azure Entra ID

    • Fill out the form for the order

    • Click the submit button

    • Capture the order id returned by the application

  • The Application writes the message to a queue

  • The logic app picks it up from a queue and processes the order

  • The logic app will write a tracked property to application insights

  • The test will query the Log Analytics workspace behind app insights to find the log message with the order id

  • The test will use the log message to get the run id of the service bus listener logic app and make assertions on the workflow

  • The test will then query log analytics using the client tracking id to find log events for other workflows that ran

  • The test will use the logic app test manager to load the run history of the order processor logic app and make assertions against it

Sample Code


The below pages contain the key sample code for the tests I ran:

Learn More


If you would like to learn more about playwright then some links are below:


Was this article helpful?