Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Code Coverage report for Angular Front End UI Single page application(SPA) from Cypress End to End scripts using Cucumber BDD #921

Open
@venunh

Description

@bahmutov Am trying to generate code coverage report for our single spa application by executing e2e which are in bdd cucumber format. But the source code is not getting instrumented.

Below is the project structure.

Root -> src-> FE code
Root -> cypress -> cypress scripts

When we start angular server locally, it will be listening to some port say https://localhost:3000. But to access our local server, we login to dev url and switch to local application instead directly accessing from localhost.

Open https://dev.domain.com/appname
then after login, update url to
https://dev.domain.com/local-appname to access application in local mode

Also, ours is single spa application which constitute multiple repos to perform one complete end to end flow.

In this case, can anyone please guide us to instrument source code of local server from non localhost url and generate code coverage report by executing cypress e2e scripts which are in bdd cucumber format

Cypress version 11.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /