Skip to content

Playwright scripts fails locally #914

@mrrajan

Description

@mrrajan

Description:
List page on CI has different set of data compared to local environment setup. The playwright scripts Filter edge cases testFilterMatches("Empty filter input is handled" and testFilterMatches("Empty filter input is handled" failed while running locally, but the scripts were executed successfully on CI.

Details:
I have my local environment running with trustify-ui main branch using npm run start:dev backed with the trustify main branch.

The scripts on package-list/filter.spect.ts file and sbom-list/filter.spect.ts failed on local for the data visibility.

Image

On my local, the list pages loaded by default with sorting order A->Z, a->z. For the above scripts, the data identification with this sorting order and limit value, the data accordion or quarkus-bom is not visible and causes failure.

Image

But surprisingly on CI, this list page loaded with different sorting order. The debug console.log step to print the value on the "Name" column on packages-list has different values.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-kindIndicates an issue or PR lacks a `kind/foo` label and requires one.needs-priorityIndicates an issue or PR lacks a `priority/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions