Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Comments

Add tests without Cucumber/Features#62

Open
carlosthe19916 wants to merge 24 commits intotrustification:mainfrom
carlosthe19916:use-composition
Open

Add tests without Cucumber/Features#62
carlosthe19916 wants to merge 24 commits intotrustification:mainfrom
carlosthe19916:use-composition

Conversation

@carlosthe19916
Copy link
Member

@carlosthe19916 carlosthe19916 commented Jun 25, 2025

What this PR contains:

  • A new Playwright project/tests under the tests/ui/pages directory, similar to the api tests that do not have the Cucumber/Features
    • As a developer I need to create tests to verify everything works without the need to define a Use Case Scenario or a Feature file
    • I realized Feature files might be a bit overwhelming when it comes to define tests. While I do appreciate its benefits I think we should still be able to write vanilla playwright tests
  • A set of reusable classes at the root of tests/ui/pages
    • Table
    • Toolbar
    • Pagination

Reusable classes are defined in a way that they can be reused from the Feature files definition and also from the vanilla playwright.

Screenshot From 2025-06-30 10-18-38

Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
@carlosthe19916 carlosthe19916 changed the title Decompose helpers in meaningful reusable components WIP Decompose helpers in meaningful reusable components Jun 25, 2025
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
@carlosthe19916 carlosthe19916 changed the title WIP Decompose helpers in meaningful reusable components Add tests without Cucumber/Features Jun 30, 2025
@carlosthe19916 carlosthe19916 marked this pull request as ready for review June 30, 2025 09:10
@i386x i386x self-requested a review July 1, 2025 10:05
@i386x
Copy link
Contributor

i386x commented Jul 5, 2025

@mrrajan I will also help with reviewing this but it will take some time since I need to do a review per each commit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants