Skip to content

[ENHANCEMENT] : Improve Frontend tests #9

@prisca-c

Description

@prisca-c

Improve Frontend tests

Need to improve/fix current frontend tests.

Description

Current frontend test are incomplete right now, we have many commented part which is "flacky" or just can't be tested because app using server sent event, which can't be naturally tested with playwright.

What would be good at first, is to find a way to test SSE event or at least mock them.

For the flacky one, it's a test to see if a copy to clipboard function is working, it word 1/4 times on local but fails everytime in CI.

Possible Solution

Got no ideas for now, travel the internet to find a way with our current test stack or even if there is a better test's stacks, try with these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions