Skip to content

Web Client: isolate tests #1611

@juan518munoz

Description

@juan518munoz

After updating the client to the latest version of node & base (#1570) changes were made client/datastore setup in tests, showing that the same DB is shared accross all tests, leading to errors.

We should try to isolate each test context as much as possible, beggining by making each test use their separate DB.

Maybe we can use these two items from playwright's docs to properly do this:

https://playwright.dev/docs/api/class-test#test-before-each
https://playwright.dev/docs/api/class-test#test-extend

Original discussion

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsImprovements to testingweb clientRelated to the Web Client

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions