Skip to content

Use id from testplan.json instead of selector in selective run #1426

@ChernyshovDmitriy

Description

@ChernyshovDmitriy

During setup Allure<->Gitlab integration we are faced with strange behavior. When we try to rerun some tests from Allure TestOps, allure-playwright plugin try to parse testplan.json file and grep tests using just selector property from testplan.json

https://github.com/allure-framework/allure-js/blob/main/packages/allure-playwright/src/testplan.ts#L10

Why we can't use id property to grep those tests?

Current behavior in our cases gives some unexpected result, for example if current code in brunch was changed we can't rerun those tests, but if we use id we can proceed them

It would be nice if we have ability to select which key from testplan.json should be used for select tests to run

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