Skip to content

feat: add functional tests#111

Merged
PierreJeanjacquot merged 47 commits intomainfrom
feature/add-functional-tests
Mar 5, 2026
Merged

feat: add functional tests#111
PierreJeanjacquot merged 47 commits intomainfrom
feature/add-functional-tests

Conversation

@ErwanDecoster
Copy link
Contributor

@ErwanDecoster ErwanDecoster commented Jan 7, 2026

Note

Medium Risk
Adds a new Playwright E2E suite to CI, increasing runtime and introducing potential flakiness due to reliance on live data/URLs and required secrets for build/test steps.

Overview
Adds a Playwright end-to-end testing setup (@playwright/test, playwright.config.ts, and npm test) plus a new set of browser-based functional specs covering homepage tables, search flows, and key list/detail pages.

Updates the CI workflow to run on PRs/manual dispatch, generate GraphQL types, build with required VITE_* secrets, install Playwright browsers, execute Playwright tests, and upload the HTML report; also ignores Playwright output directories in .gitignore.

Written by Cursor Bugbot for commit 30b9edf. This will update automatically on new commits. Configure here.

ErwanDecoster and others added 30 commits October 15, 2025 11:24
…al count for apps, datasets, and workerpools
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…k Explorer link in SmartLinkGroup; add role to Tabs component
left: `${indicatorStyle.left}px`,
width: `${indicatorStyle.width}px`,
}}
role="tablist"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tablist role placed on wrong element

Medium Severity

The role="tablist" attribute is added to a decorative indicator <div> that visually shows the active tab selection. This div has no children and is purely for visual styling. The actual <Button> elements with role="tab" are rendered as siblings, not children of this tablist. According to ARIA specifications, tab elements must be owned by or contained within the tablist. The role="tablist" belongs on the outer container div (the one with ref={containerRef}) that actually holds the tab buttons.

Fix in Cursor Fix in Web


// Verify that the TASKS tab is visible
await expect(page.getByRole('tab', { name: 'TASKS' })).toBeVisible();
await expect(page.getByRole('tab', { name: 'TASKS' })).toBeVisible();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate test assertion for TASKS tab visibility

Low Severity

Both test files contain identical duplicate assertions checking for TASKS tab visibility on consecutive lines. The same expect(page.getByRole('tab', { name: 'TASKS' })).toBeVisible() appears twice in a row, which appears to be a copy-paste error that doesn't add any test value.

Additional Locations (1)

Fix in Cursor Fix in Web

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Copy link
Contributor

@Christophe-iExec Christophe-iExec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to add playwright functional tests in the CI process , even if war from perfect

@PierreJeanjacquot PierreJeanjacquot merged commit 7bc923d into main Mar 5, 2026
8 checks passed
@PierreJeanjacquot PierreJeanjacquot deleted the feature/add-functional-tests branch March 5, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants