Skip to content

chore(e2e-tests): skip j int test as it isn't recognized on CI #7105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 11, 2025

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Jul 10, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings July 10, 2025 21:35
@Anemy Anemy requested a review from a team as a code owner July 10, 2025 21:35
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses a flaky E2E test by disabling the assertion for the unrecognized token “j int” in the Data Modeling tab test on CI.

  • Commented out the expect(text).to.include('j int') assertion.
  • Added inline comments explaining why the assertion is disabled.
Comments suppressed due to low confidence (1)

packages/compass-e2e-tests/tests/data-modeling-tab.test.ts:327

  • [nitpick] Consider replacing the commented assertion with a dedicated it.skip or test.skip for 'j int' so the test suite clearly reports skipped tests rather than silently omitting assertions.
    // Disabled as it's not recognized correctly by tesseract.js at the moment.

Comment on lines +328 to 329
// expect(text).to.include('j int');
// it does not correctly recognize `iString` and only returns `String`.
Copy link
Preview

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

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

Add a TODO or reference an issue ticket here to re-enable this assertion once Tesseract.js correctly recognizes 'j int', helping future maintainers track the fix.

Suggested change
// expect(text).to.include('j int');
// it does not correctly recognize `iString` and only returns `String`.
// TODO: Re-enable the following assertion once Tesseract.js correctly recognizes 'j int'.
// expect(text).to.include('j int');

Copilot uses AI. Check for mistakes.

@Anemy Anemy added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Jul 11, 2025
@Anemy Anemy merged commit 8e6249f into main Jul 11, 2025
60 of 61 checks passed
@Anemy Anemy deleted the skip-export-recognition branch July 11, 2025 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants