Skip to content
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

Fix #347 add capture image in canvas #356

Merged
merged 11 commits into from
Feb 6, 2025
Merged

Conversation

Anchel123
Copy link
Contributor

No description provided.

@Anchel123 Anchel123 requested a review from AviAvni January 21, 2025 10:49
Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
code-graph ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 8:18am

Copy link
Contributor

coderabbitai bot commented Jan 21, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Anchel123 Anchel123 linked an issue Jan 21, 2025 that may be closed by this pull request
@Anchel123 Anchel123 changed the title Fix # add capture image in canvas Fix #347 add capture image in canvas Jan 21, 2025
@barakb
Copy link

barakb commented Jan 30, 2025

@Anchel123 can you please rebase this branch

Copy link
Contributor

qodo-merge-pro bot commented Feb 5, 2025

CI Feedback 🧐

(Feedback updated until commit a436b63)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: test

Failed stage: Set up environment variables and run tests [❌]

Failed test name: chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers

Failure summary:

The action failed due to multiple chat-related test failures in both Chromium and Firefox browsers:

1. Timeout errors in test "Validate that multiple consecutive questions receive individual answers":

- The test timed out waiting for elements to be enabled (5000ms timeout exceeded)
- Failed in
both browsers after multiple retries

2. API response errors in test "Validate UI response matches API response":
- Server returned 500
Internal Server Error
- Function invocation timeouts occurred
- Unable to read response
properties from undefined results

3. Test timeout errors in "Validate consistent UI responses":
- Tests exceeded the 30000ms
timeout limit
- Browser context was closed before test completion

The root cause appears to be instability in the chat API endpoint
(.next/server/app/api/chat/[graph]/route.js) with frequent 500 errors and timeouts.

Relevant error logs:
1:  ##[group]Operating System
2:  Ubuntu
...

1541:  ·  ✓  19 [chromium] › canvas.spec.ts:200:9 › Canvas tests › Validate node path connection in canvas ui and confirm via api for path import_data and add_edge (12.8s)
1542:  ·  ✓  21 [chromium] › canvas.spec.ts:133:9 › Canvas tests › Validate canvas node dragging for node: 1 (8.4s)
1543:  ·  ✓  22 [chromium] › canvas.spec.ts:89:9 › Canvas tests › Verify that unchecking the Class checkbox hides Class nodes on the canvas (5.2s)
1544:  ·  ✓  25 [chromium] › chat.spec.ts:21:7 › Chat tests › Validate clicking the lightbulb button displays the correct options at the end of the chat (3.5s)
1545:  ⚠ The requested resource "/dots.gif" is an animated image so it will not be optimized. Consider adding the "unoptimized" property to the <Image>.
1546:  ·  ✓  24 [chromium] › canvas.spec.ts:133:9 › Canvas tests › Validate canvas node dragging for node: 2 (8.4s)
1547:  ·  ✓  23 [chromium] › canvas.spec.ts:200:9 › Canvas tests › Validate node path connection in canvas ui and confirm via api for path test_kg_delete and list_graphs (12.7s)
1548:  ·  ✓  27 [chromium] › canvas.spec.ts:145:7 › Canvas tests › Validate node and edge counts in canvas match API data (3.3s)
1549:  Error: <!doctype html>
1550:  <html lang=en>
1551:  <title>500 Internal Server Error</title>
1552:  <h1>Internal Server Error</h1>
1553:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
1554:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1555:  ·  ✓  28 [chromium] › chat.spec.ts:91:9 › Chat tests › Verify successful node path connection between two nodes in chat for import_data and add_edge (11.3s)
1556:  ×  ✘  26 [chromium] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers (18.4s)
1557:  ·  ✓  29 [chromium] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 0 in chat after selection from options menu (12.1s)
1558:  Error: <!doctype html>
1559:  <html lang=en>
1560:  <title>500 Internal Server Error</title>
1561:  <h1>Internal Server Error</h1>
1562:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
1563:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1564:  Error: An error occurred with your deployment
1565:  FUNCTION_INVOCATION_TIMEOUT
1566:  iad1::trzmf-1738768724403-1012f982f294
1567:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1568:  ·  ✓  32 [chromium] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 1 in chat after selection from options menu (7.0s)
1569:  ×  ✘  31 [chromium] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers (retry #1) (11.8s)
1570:  ·  ✓  30 [chromium] › chat.spec.ts:91:9 › Chat tests › Verify successful node path connection between two nodes in chat for test_kg_delete and list_graphs (18.0s)
1571:  Error: An error occurred with your deployment
1572:  FUNCTION_INVOCATION_TIMEOUT
1573:  iad1::26jlz-1738768736755-6c846d3add98
1574:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1575:  F  ✘  34 [chromium] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers (retry #2) (11.6s)
1576:  Error: An error occurred with your deployment
1577:  FUNCTION_INVOCATION_TIMEOUT
1578:  iad1::rfqjz-1738768744337-05ba1a7881e0
1579:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1580:  ·  ✓  33 [chromium] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 2 in chat after selection from options menu (21.5s)
1581:  Error: An error occurred with your deployment
1582:  FUNCTION_INVOCATION_TIMEOUT
1583:  iad1::bsbfp-1738768749418-9dca29c6db9a
1584:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1585:  ·  ✓  35 [chromium] › chat.spec.ts:103:9 › Chat tests › Verify unsuccessful node path connection between two nodes in chat for import_data and add_edge (17.1s)
1586:  ·  ✓  37 [chromium] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 3 in chat after selection from options menu (13.3s)
1587:  ·  ✓  38 [chromium] › chat.spec.ts:103:9 › Chat tests › Verify unsuccessful node path connection between two nodes in chat for test_kg_delete and list_graphs (11.1s)
1588:  ·  ✓  36 [chromium] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat (21.4s)
1589:  ·  ✓  40 [chromium] › chat.spec.ts:114:7 › Chat tests › Validate error notification and its closure when sending an empty question in chat (4.3s)
...

1592:  ·  ✓  43 [chromium] › navBar.spec.ts:29:9 ›  Navbar tests › Verify clicking on Home redirects to specified URL (891ms)
1593:  ·  ✓  44 [chromium] › navBar.spec.ts:29:9 ›  Navbar tests › Verify clicking on Github redirects to specified URL (1.8s)
1594:  °  -  46 [chromium] › navBar.spec.ts:36:8 ›  Navbar tests › Verify that clicking the Create New Project button displays the correct dialog
1595:  ·  ✓  45 [chromium] › navBar.spec.ts:42:7 ›  Navbar tests › Validate Tip popup visibility and closure functionality (4.2s)
1596:  ·  ✓  47 [chromium] › nodeDetailsPanel.spec.ts:22:9 › Node details panel tests › Validate node details panel displayed on node click for ask (8.1s)
1597:  ·  ✓  48 [chromium] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: ask (7.5s)
1598:  ·  ✓  49 [chromium] › nodeDetailsPanel.spec.ts:22:9 › Node details panel tests › Validate node details panel displayed on node click for add_edge (7.7s)
1599:  ·  ✓  50 [chromium] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: add_edge (7.2s)
1600:  Error: An error occurred with your deployment
1601:  FUNCTION_INVOCATION_TIMEOUT
1602:  iad1::hgh4v-1738768791950-42ba2173c53c
1603:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1604:  ×  ✘  41 [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat (30.1s)
1605:  ·  ✓  51 [chromium] › nodeDetailsPanel.spec.ts:36:9 › Node details panel tests › Validate node details panel is not displayed after close interaction for ask (7.8s)
1606:  ·  ✓  52 [chromium] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: test_kg_delete (7.2s)
1607:  Error: <!doctype html>
1608:  <html lang=en>
1609:  <title>500 Internal Server Error</title>
1610:  <h1>Internal Server Error</h1>
1611:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
...

1626:  ·  ✓  67 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: % (4.1s)
1627:  ·  ✓  68 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: } (4.3s)
1628:  ·  ✓  69 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: * (4.1s)
1629:  ·  ✓  70 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ; (4.1s)
1630:  ·  ✓  71 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ( (4.0s)
1631:  ·  ✓  72 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: : (4.1s)
1632:  ·  ✓  73 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ) (4.0s)
1633:  T  ✘  63 [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat (retry #2) (30.1s)
1634:  Error: <!doctype html>
1635:  <html lang=en>
1636:  <title>500 Internal Server Error</title>
1637:  <h1>Internal Server Error</h1>
1638:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
1639:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1640:  ·  ✓  74 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: " (4.1s)
1641:  ·  ✓  75 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: - (4.1s)
1642:  Error: An error occurred with your deployment
1643:  FUNCTION_INVOCATION_TIMEOUT
1644:  iad1::lk7sn-1738768854765-44a442b73a80
1645:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1646:  ·  ✓  77 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: | (4.1s)
1647:  ·  ✓  78 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: [ (4.0s)
1648:  Error: <!doctype html>
1649:  <html lang=en>
1650:  <title>500 Internal Server Error</title>
1651:  <h1>Internal Server Error</h1>
1652:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
1653:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1654:  ·  ✓  80 [chromium] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ] (4.0s)
1655:  ×  ✘  76 [chromium] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat (9.9s)
1656:  Error: <!doctype html>
1657:  <html lang=en>
1658:  <title>500 Internal Server Error</title>
1659:  <h1>Internal Server Error</h1>
1660:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
...

1704:  ·  ✓  122 [firefox] › canvas.spec.ts:89:9 › Canvas tests › Verify that unchecking the Class checkbox hides Class nodes on the canvas (5.2s)
1705:  ·  ✓  125 [firefox] › chat.spec.ts:21:7 › Chat tests › Validate clicking the lightbulb button displays the correct options at the end of the chat (3.3s)
1706:  ·  ✓  124 [firefox] › canvas.spec.ts:133:9 › Canvas tests › Validate canvas node dragging for node: 1 (8.3s)
1707:  ·  ✓  123 [firefox] › canvas.spec.ts:185:9 › Canvas tests › Verify successful node path connection in canvas between test_kg_delete and list_graphs via UI (12.2s)
1708:  ·  ✓  127 [firefox] › canvas.spec.ts:133:9 › Canvas tests › Validate canvas node dragging for node: 2 (8.4s)
1709:  ×  ✘  126 [firefox] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers (11.2s)
1710:  ·  ✓  129 [firefox] › canvas.spec.ts:145:7 › Canvas tests › Validate node and edge counts in canvas match API data (3.3s)
1711:  ·  ✓  128 [firefox] › canvas.spec.ts:200:9 › Canvas tests › Validate node path connection in canvas ui and confirm via api for path import_data and add_edge (12.7s)
1712:  Error: An error occurred with your deployment
1713:  FUNCTION_INVOCATION_TIMEOUT
1714:  iad1::jd8xw-1738768976179-f361a6bc19f4
1715:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1716:  ×  ✘  130 [firefox] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers (retry #1) (11.7s)
1717:  ·  ✓  131 [firefox] › chat.spec.ts:91:9 › Chat tests › Verify successful node path connection between two nodes in chat for import_data and add_edge (11.2s)
1718:  ·  ✓  132 [firefox] › canvas.spec.ts:200:9 › Canvas tests › Validate node path connection in canvas ui and confirm via api for path test_kg_delete and list_graphs (12.7s)
1719:  Error: An error occurred with your deployment
...

1722:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1723:  ·  ✓  134 [firefox] › chat.spec.ts:91:9 › Chat tests › Verify successful node path connection between two nodes in chat for test_kg_delete and list_graphs (11.0s)
1724:  ±  ✓  133 [firefox] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers (retry #2) (13.9s)
1725:  ·  ✓  135 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 0 in chat after selection from options menu (10.7s)
1726:  ·  ✓  136 [firefox] › chat.spec.ts:103:9 › Chat tests › Verify unsuccessful node path connection between two nodes in chat for import_data and add_edge (11.1s)
1727:  ·  ✓  138 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 1 in chat after selection from options menu (8.5s)
1728:  ·  ✓  137 [firefox] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat (14.5s)
1729:  ·  ✓  139 [firefox] › chat.spec.ts:103:9 › Chat tests › Verify unsuccessful node path connection between two nodes in chat for test_kg_delete and list_graphs (11.0s)
1730:  ·  ✓  142 [firefox] › chat.spec.ts:114:7 › Chat tests › Validate error notification and its closure when sending an empty question in chat (4.1s)
1731:  ·  ✓  143 [firefox] › navBar.spec.ts:17:7 ›  Navbar tests › Verify clicking on falkordb logo redirects to specified URL (1.2s)
1732:  ·  ✓  144 [firefox] › navBar.spec.ts:29:9 ›  Navbar tests › Verify clicking on Home redirects to specified URL (884ms)
1733:  ·  ✓  145 [firefox] › navBar.spec.ts:29:9 ›  Navbar tests › Verify clicking on Github redirects to specified URL (1.5s)
1734:  °  -  146 [firefox] › navBar.spec.ts:36:8 ›  Navbar tests › Verify that clicking the Create New Project button displays the correct dialog
1735:  ·  ✓  147 [firefox] › navBar.spec.ts:42:7 ›  Navbar tests › Validate Tip popup visibility and closure functionality (4.1s)
1736:  ·  ✓  140 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 2 in chat after selection from options menu (22.4s)
1737:  Error: <!doctype html>
1738:  <html lang=en>
1739:  <title>500 Internal Server Error</title>
1740:  <h1>Internal Server Error</h1>
1741:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
1742:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1743:  ·  ✓  148 [firefox] › nodeDetailsPanel.spec.ts:22:9 › Node details panel tests › Validate node details panel displayed on node click for ask (8.0s)
1744:  ·  ✓  149 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 3 in chat after selection from options menu (6.6s)
1745:  Error: An error occurred with your deployment
1746:  FUNCTION_INVOCATION_TIMEOUT
1747:  iad1::rpnsj-1738769037749-2dd6493c69d7
1748:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
1749:  Error: <!doctype html>
1750:  <html lang=en>
1751:  <title>500 Internal Server Error</title>
1752:  <h1>Internal Server Error</h1>
1753:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
...

1765:  ·  ✓  159 [firefox] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: list_graphs (7.2s)
1766:  ·  ✓  160 [firefox] › nodeDetailsPanel.spec.ts:62:9 › Node details panel tests › Validate copy functionality for node inside node details panel and verify with api for add_edge (7.8s)
1767:  ·  ✓  162 [firefox] › searchBar.spec.ts:22:9 › search bar tests › Verify search bar auto-complete behavior for input: test via UI (4.3s)
1768:  ·  ✓  164 [firefox] › searchBar.spec.ts:22:9 › search bar tests › Verify search bar auto-complete behavior for input: set via UI (4.1s)
1769:  ·  ✓  163 [firefox] › nodeDetailsPanel.spec.ts:79:9 › Node details panel tests › Validate view node panel keys via api for ask (7.8s)
1770:  ·  ✓  165 [firefox] › searchBar.spec.ts:35:9 › search bar tests › Validate search bar updates with selected element: low (4.3s)
1771:  ·  ✓  167 [firefox] › searchBar.spec.ts:35:9 › search bar tests › Validate search bar updates with selected element: as (4.5s)
1772:  ·  ✓  166 [firefox] › nodeDetailsPanel.spec.ts:79:9 › Node details panel tests › Validate view node panel keys via api for add_edge (7.9s)
1773:  Error: An error occurred with your deployment
...

1780:  ·  ✓  170 [firefox] › searchBar.spec.ts:47:9 › search bar tests › Verify auto-scroll scroll in search bar list for: set (4.4s)
1781:  ·  ✓  171 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ; (4.1s)
1782:  ·  ✓  173 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: % (4.0s)
1783:  ·  ✓  174 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: : (4.0s)
1784:  ·  ✓  175 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: * (4.0s)
1785:  ·  ✓  176 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: " (4.0s)
1786:  ·  ✓  177 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ( (4.0s)
1787:  ·  ✓  178 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: | (4.1s)
1788:  Error: An error occurred with your deployment
...

1801:  ·  ✓  188 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: { (4.0s)
1802:  ·  ✓  189 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ^ (4.1s)
1803:  ·  ✓  190 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: , (4.4s)
1804:  ·  ✓  191 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: _ (4.0s)
1805:  ·  ✓  192 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: . (4.1s)
1806:  ·  ✓  193 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: = (4.1s)
1807:  ·  ✓  194 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: < (4.0s)
1808:  ·  ✓  195 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: + (4.0s)
1809:  Error: <!doctype html>
1810:  <html lang=en>
1811:  <title>500 Internal Server Error</title>
1812:  <h1>Internal Server Error</h1>
1813:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
...

1819:  ·  ✓  199 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ? (4.0s)
1820:  ·  ✓  200 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: \ (4.0s)
1821:  ·  ✓  201 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ` (4.0s)
1822:  ·  ✓  202 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: & (4.0s)
1823:  ·  ✓  203 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: # (4.0s)
1824:  ·  ✓  204 [firefox] › searchBar.spec.ts:67:9 › search bar tests › search bar auto complete via ui and validating via api for: test (4.7s)
1825:  ·  ✓  205 [firefox] › searchBar.spec.ts:67:9 › search bar tests › search bar auto complete via ui and validating via api for: set (4.7s)
1826:  1) [chromium] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers 
1827:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
1828:  at ../logic/utils.ts:9
1829:  7 |     if (!elementHandle) throw new Error("Element not found");
...

1832:  |                          ^
1833:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
1834:  11 |         elementHandle,
1835:  12 |         { timeout }
1836:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
1837:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
1838:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
1839:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1840:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium/test-failed-1.png
1841:  ────────────────────────────────────────────────────────────────────────────────────────────────
1842:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
1843:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
1844:  at ../logic/utils.ts:9
1845:  7 |     if (!elementHandle) throw new Error("Element not found");
...

1848:  |                          ^
1849:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
1850:  11 |         elementHandle,
1851:  12 |         { timeout }
1852:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
1853:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
1854:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
1855:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1856:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium-retry1/test-failed-1.png
1857:  ────────────────────────────────────────────────────────────────────────────────────────────────
1858:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
1859:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium-retry1/trace.zip
1860:  Usage:
1861:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium-retry1/trace.zip
1862:  ────────────────────────────────────────────────────────────────────────────────────────────────
1863:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
1864:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
1865:  at ../logic/utils.ts:9
1866:  7 |     if (!elementHandle) throw new Error("Element not found");
...

1869:  |                          ^
1870:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
1871:  11 |         elementHandle,
1872:  12 |         { timeout }
1873:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
1874:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
1875:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
1876:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1877:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium-retry2/test-failed-1.png
1878:  ────────────────────────────────────────────────────────────────────────────────────────────────
1879:  2) [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
1880:  �[31mTest timeout of 30000ms exceeded.�[39m
1881:  Error: page.waitForTimeout: Target page, context or browser has been closed
...

1886:  |                              ^
1887:  32 |     }
1888:  33 |
1889:  34 |     return stableText;
1890:  at waitForStableText (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:31:30)
1891:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:304:16)
1892:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:22
1893:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1894:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium/test-failed-1.png
1895:  ────────────────────────────────────────────────────────────────────────────────────────────────
1896:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
1897:  Error: �[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoBe�[2m(�[22m�[32mexpected�[39m�[2m) // Object.is equality�[22m
...

1901:  73 |     const identicalResponses = responses.every((value) => value === responses[0]);
1902:  > 74 |     expect(identicalResponses).toBe(true);
1903:  |                                ^
1904:  75 |   });
1905:  76 |
1906:  77 |   test(`Validate UI response matches API response for a given question in chat`, async () => {
1907:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:74:32
1908:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1909:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/test-failed-1.png
1910:  ────────────────────────────────────────────────────────────────────────────────────────────────
1911:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
1912:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/trace.zip
1913:  Usage:
1914:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/trace.zip
1915:  ────────────────────────────────────────────────────────────────────────────────────────────────
1916:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
1917:  �[31mTest timeout of 30000ms exceeded.�[39m
1918:  Error: locator.waitFor: Target page, context or browser has been closed
...

1925:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
1926:  |                                                ^
1927:  304 |         return await waitForStableText(this.lastElementInChat);
1928:  305 |     }
1929:  306 |
1930:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
1931:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:33
1932:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1933:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry2/test-failed-1.png
1934:  ────────────────────────────────────────────────────────────────────────────────────────────────
1935:  3) [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
1936:  Error: �[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoEqual�[2m(�[22m�[32mexpected�[39m�[2m) // deep equality�[22m
...

1940:  86 |     
1941:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
1942:  |                    ^
1943:  88 |   });
1944:  89 |
1945:  90 |   nodesPath.forEach((path) => {
1946:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:20
1947:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1948:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox/test-failed-1.png
1949:  ────────────────────────────────────────────────────────────────────────────────────────────────
1950:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
1951:  TypeError: Cannot read properties of undefined (reading 'response')
...

1953:  86 |     
1954:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
1955:  |                                               ^
1956:  88 |   });
1957:  89 |
1958:  90 |   nodesPath.forEach((path) => {
1959:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:47
1960:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1961:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/test-failed-1.png
1962:  ────────────────────────────────────────────────────────────────────────────────────────────────
1963:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
1964:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/trace.zip
1965:  Usage:
1966:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/trace.zip
1967:  ────────────────────────────────────────────────────────────────────────────────────────────────
1968:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
1969:  Error: �[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoEqual�[2m(�[22m�[32mexpected�[39m�[2m) // deep equality�[22m
...

1973:  86 |     
1974:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
1975:  |                    ^
1976:  88 |   });
1977:  89 |
1978:  90 |   nodesPath.forEach((path) => {
1979:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:20
1980:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1981:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry2/test-failed-1.png
1982:  ────────────────────────────────────────────────────────────────────────────────────────────────
1983:  4) [chromium] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
1984:  TypeError: Cannot read properties of undefined (reading 'response')
...

1986:  86 |     
1987:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
1988:  |                                               ^
1989:  88 |   });
1990:  89 |
1991:  90 |   nodesPath.forEach((path) => {
1992:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:47
1993:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
1994:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-chromium/test-failed-1.png
1995:  ────────────────────────────────────────────────────────────────────────────────────────────────
1996:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
1997:  TypeError: Cannot read properties of undefined (reading 'response')
...

1999:  86 |     
2000:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
2001:  |                                               ^
2002:  88 |   });
2003:  89 |
2004:  90 |   nodesPath.forEach((path) => {
2005:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:47
2006:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2007:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-chromium-retry1/test-failed-1.png
2008:  ────────────────────────────────────────────────────────────────────────────────────────────────
2009:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
2010:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-chromium-retry1/trace.zip
2011:  Usage:
2012:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-chromium-retry1/trace.zip
2013:  ────────────────────────────────────────────────────────────────────────────────────────────────
2014:  5) [firefox] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers 
2015:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
2016:  at ../logic/utils.ts:9
2017:  7 |     if (!elementHandle) throw new Error("Element not found");
...

2020:  |                          ^
2021:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
2022:  11 |         elementHandle,
2023:  12 |         { timeout }
2024:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
2025:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
2026:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
2027:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2028:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-firefox/test-failed-1.png
2029:  ────────────────────────────────────────────────────────────────────────────────────────────────
2030:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
2031:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
2032:  at ../logic/utils.ts:9
2033:  7 |     if (!elementHandle) throw new Error("Element not found");
...

2036:  |                          ^
2037:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
2038:  11 |         elementHandle,
2039:  12 |         { timeout }
2040:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
2041:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
2042:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
2043:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2044:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-firefox-retry1/test-failed-1.png
...

2046:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
2047:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-firefox-retry1/trace.zip
2048:  Usage:
2049:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-firefox-retry1/trace.zip
2050:  ────────────────────────────────────────────────────────────────────────────────────────────────
2051:  6) [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
2052:  �[31mTest timeout of 30000ms exceeded.�[39m
2053:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2054:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox/test-failed-1.png
2055:  ────────────────────────────────────────────────────────────────────────────────────────────────
2056:  3 failed
...

2059:  [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
2060:  3 flaky
2061:  [chromium] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
2062:  [firefox] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers 
2063:  [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
2064:  2 skipped
2065:  186 passed (9.3m)
2066:  1) [chromium] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers 
2067:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
2068:  at ../logic/utils.ts:9
2069:  7 |     if (!elementHandle) throw new Error("Element not found");
...

2072:  |                          ^
2073:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
2074:  11 |         elementHandle,
2075:  12 |         { timeout }
2076:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
2077:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
2078:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
2079:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2080:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium/test-failed-1.png
2081:  ────────────────────────────────────────────────────────────────────────────────────────────────
2082:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
2083:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
2084:  at ../logic/utils.ts:9
2085:  7 |     if (!elementHandle) throw new Error("Element not found");
...

2088:  |                          ^
2089:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
2090:  11 |         elementHandle,
2091:  12 |         { timeout }
2092:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
2093:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
2094:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
2095:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2096:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium-retry1/test-failed-1.png
2097:  ────────────────────────────────────────────────────────────────────────────────────────────────
2098:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
2099:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium-retry1/trace.zip
2100:  Usage:
2101:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium-retry1/trace.zip
2102:  ────────────────────────────────────────────────────────────────────────────────────────────────
2103:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
2104:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
2105:  at ../logic/utils.ts:9
2106:  7 |     if (!elementHandle) throw new Error("Element not found");
...

2109:  |                          ^
2110:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
2111:  11 |         elementHandle,
2112:  12 |         { timeout }
2113:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
2114:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
2115:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
2116:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2117:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-chromium-retry2/test-failed-1.png
2118:  ────────────────────────────────────────────────────────────────────────────────────────────────
2119:  2) [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
2120:  �[31mTest timeout of 30000ms exceeded.�[39m
2121:  Error: page.waitForTimeout: Target page, context or browser has been closed
...

2126:  |                              ^
2127:  32 |     }
2128:  33 |
2129:  34 |     return stableText;
2130:  at waitForStableText (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:31:30)
2131:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:304:16)
2132:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:22
2133:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2134:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium/test-failed-1.png
2135:  ────────────────────────────────────────────────────────────────────────────────────────────────
2136:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
2137:  Error: �[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoBe�[2m(�[22m�[32mexpected�[39m�[2m) // Object.is equality�[22m
...

2141:  73 |     const identicalResponses = responses.every((value) => value === responses[0]);
2142:  > 74 |     expect(identicalResponses).toBe(true);
2143:  |                                ^
2144:  75 |   });
2145:  76 |
2146:  77 |   test(`Validate UI response matches API response for a given question in chat`, async () => {
2147:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:74:32
2148:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2149:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/test-failed-1.png
2150:  ────────────────────────────────────────────────────────────────────────────────────────────────
2151:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
2152:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/trace.zip
2153:  Usage:
2154:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/trace.zip
2155:  ────────────────────────────────────────────────────────────────────────────────────────────────
2156:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
2157:  �[31mTest timeout of 30000ms exceeded.�[39m
2158:  Error: locator.waitFor: Target page, context or browser has been closed
...

2165:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
2166:  |                                                ^
2167:  304 |         return await waitForStableText(this.lastElementInChat);
2168:  305 |     }
2169:  306 |
2170:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
2171:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:33
2172:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2173:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry2/test-failed-1.png
2174:  ────────────────────────────────────────────────────────────────────────────────────────────────
2175:  3) [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
2176:  Error: �[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoEqual�[2m(�[22m�[32mexpected�[39m�[2m) // deep equality�[22m
...

2180:  86 |     
2181:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
2182:  |                    ^
2183:  88 |   });
2184:  89 |
2185:  90 |   nodesPath.forEach((path) => {
2186:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:20
2187:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2188:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox/test-failed-1.png
2189:  ────────────────────────────────────────────────────────────────────────────────────────────────
2190:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
2191:  TypeError: Cannot read properties of undefined (reading 'response')
...

2193:  86 |     
2194:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
2195:  |                                               ^
2196:  88 |   });
2197:  89 |
2198:  90 |   nodesPath.forEach((path) => {
2199:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:47
2200:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2201:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/test-failed-1.png
2202:  ────────────────────────────────────────────────────────────────────────────────────────────────
2203:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
2204:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/trace.zip
2205:  Usage:
2206:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/trace.zip
2207:  ────────────────────────────────────────────────────────────────────────────────────────────────
2208:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
2209:  Error: �[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoEqual�[2m(�[22m�[32mexpected�[39m�[2m) // deep equality�[22m
...

2213:  86 |     
2214:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
2215:  |                    ^
2216:  88 |   });
2217:  89 |
2218:  90 |   nodesPath.forEach((path) => {
2219:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:20
2220:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2221:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry2/test-failed-1.png
2222:  ────────────────────────────────────────────────────────────────────────────────────────────────
2223:  4) [chromium] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
2224:  TypeError: Cannot read properties of undefined (reading 'response')
...

2226:  86 |     
2227:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
2228:  |                                               ^
2229:  88 |   });
2230:  89 |
2231:  90 |   nodesPath.forEach((path) => {
2232:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:47
2233:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2234:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-chromium/test-failed-1.png
2235:  ────────────────────────────────────────────────────────────────────────────────────────────────
2236:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
2237:  TypeError: Cannot read properties of undefined (reading 'response')
...

2239:  86 |     
2240:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
2241:  |                                               ^
2242:  88 |   });
2243:  89 |
2244:  90 |   nodesPath.forEach((path) => {
2245:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:47
2246:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2247:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-chromium-retry1/test-failed-1.png
2248:  ────────────────────────────────────────────────────────────────────────────────────────────────
2249:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
2250:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-chromium-retry1/trace.zip
2251:  Usage:
2252:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-chromium-retry1/trace.zip
2253:  ────────────────────────────────────────────────────────────────────────────────────────────────
2254:  5) [firefox] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers 
2255:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
2256:  at ../logic/utils.ts:9
2257:  7 |     if (!elementHandle) throw new Error("Element not found");
...

2260:  |                          ^
2261:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
2262:  11 |         elementHandle,
2263:  12 |         { timeout }
2264:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
2265:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
2266:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
2267:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2268:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-firefox/test-failed-1.png
2269:  ────────────────────────────────────────────────────────────────────────────────────────────────
2270:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
2271:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
2272:  at ../logic/utils.ts:9
2273:  7 |     if (!elementHandle) throw new Error("Element not found");
...

2276:  |                          ^
2277:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
2278:  11 |         elementHandle,
2279:  12 |         { timeout }
2280:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
2281:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
2282:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:35:7
2283:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2284:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-firefox-retry1/test-failed-1.png
...

2286:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
2287:  playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-firefox-retry1/trace.zip
2288:  Usage:
2289:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-t-a4359--receive-individual-answers-firefox-retry1/trace.zip
2290:  ────────────────────────────────────────────────────────────────────────────────────────────────
2291:  6) [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
2292:  �[31mTest timeout of 30000ms exceeded.�[39m
2293:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2294:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox/test-failed-1.png
2295:  ────────────────────────────────────────────────────────────────────────────────────────────────
2296:  3 failed
...

2298:  [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
2299:  [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
2300:  3 flaky
2301:  [chromium] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
2302:  [firefox] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers 
2303:  [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
2304:  2 skipped
2305:  186 passed (9.3m)
2306:  ##[error]Process completed with exit code 1.
...

2325:  Finished uploading artifact content to blob storage!
2326:  SHA256 hash of uploaded artifact zip is 05898fae9ace68de828d7051537ad0a7405f406c4d85ac542dec02c8687a409f
2327:  Finalizing artifact upload
2328:  Artifact playwright-report.zip successfully finalized. Artifact ID 2541612319
2329:  Artifact playwright-report has been successfully uploaded! Final size is 25883478 bytes. Artifact ID is 2541612319
2330:  Artifact download URL: https://github.com/FalkorDB/code-graph/actions/runs/13159417156/artifacts/2541612319
2331:  ##[group]Run actions/upload-artifact@v4
2332:  with:
2333:  name: failed-test-screenshots
...

2344:  Beginning upload of artifact content to blob storage
2345:  Uploaded bytes 8388608
2346:  Uploaded bytes 16777216
2347:  Uploaded bytes 25165824
2348:  Uploaded bytes 25883078
2349:  Finished uploading artifact content to blob storage!
2350:  SHA256 hash of uploaded artifact zip is 61b9b45fb0e2529c9a12e163ed2f921af59e8c4710e705c4c5a7c7bf8c823889
2351:  Finalizing artifact upload
2352:  Artifact failed-test-screenshots.zip successfully finalized. Artifact ID 2541612474
2353:  Artifact failed-test-screenshots has been successfully uploaded! Final size is 25883078 bytes. Artifact ID is 2541612474
...

2361:  [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2362:  [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2363:  [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2364:  http.https://github.com/.extraheader
2365:  [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2366:  [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2367:  Print service container logs: 5bf1e7a0cd7a4b88b0498fdafb205872_falkordbfalkordblatest_dcdf5d
2368:  ##[command]/usr/bin/docker logs --details 6aa112e9a4b9b27f7538950d09ed0eff6d3231004ae4c50ed5d7a71c556e03b3
2369:  11:C 05 Feb 2025 15:15:44.285 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

@Anchel123 Anchel123 merged commit e4f1d2b into staging Feb 6, 2025
5 checks passed
@Anchel123 Anchel123 deleted the add-capture-image-in-canvas branch February 6, 2025 08:41
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.

Add an image capture of the Graph view
3 participants