Giter Site home page Giter Site logo

Add E2E CI test for Monitor about azure-dev HOT 5 OPEN

jongio avatar jongio commented on August 22, 2024
Add E2E CI test for Monitor

from azure-dev.

Comments (5)

jongio avatar jongio commented on August 22, 2024

I think we implemented monitor without a test for launching the browser.

from azure-dev.

ellismg avatar ellismg commented on August 22, 2024

Yeah - we don't have a testing here.

What exactly do we want to validate? It should be easy enough to write a unit test that let's us determine if the right URL would be launched, which we could run in CI. It may be more difficult for us to write something that validates the browser actually launched and you landed at the correct spot, especially when we take auth into account.

from azure-dev.

rajeshkamal5050 avatar rajeshkamal5050 commented on August 22, 2024

@v-xuto do we have this covered as part of the manual tests? can we also look at ways in which we can automate this in our azure-dev - template - tests pipeline https://dev.azure.com/azure-sdk/internal/_build?definitionId=5002?

from azure-dev.

v-xuto avatar v-xuto commented on August 22, 2024

@rajeshkamal5050 We have covered the azd monitor as part of manual tests like commands azd monitor --live,azd monitor --logs,azd monitor --overview. As Ellismg said, it may be more difficult for us to write something that validates the browser actually launched and you landed at the correct spot.
We're going to do a deep investigation and try to automate it in our azure-dev - template - tests pipeline. If there are any progress or problems, we will synchronize in time.

from azure-dev.

v-xuto avatar v-xuto commented on August 22, 2024

@rajeshkamal5050 Regarding the automation of azd monitor, we are currently blocked here:
There is no way to skip the two-factor authentication on azure portal when we open the url.
Is it possible to provide an account that does not require authentication, or do you have other ideas?

from azure-dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.