Skip to content

To much terminal output is captured #1106

Open
@Richard87

Description

Which version of the app are you using?

v3.3.23

Which API Provider are you using?

Google Gemini

Which Model are you using?

Gemini Flash 2.0 001

What happened?

Some terminal commands rewrite its own output to show progress, Roo captures all of it which is unnessecary (and might reduce the LLMs performance?)

Is it possible to reset the terminal capture if \033[2j is seen?
https://stackoverflow.com/a/37778152/2103434

for example test-storybook:

Command Output
> [email protected] test
> node_modules/.bin/test-storybook
(node:4182604) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4182604) ExperimentalWarning: Type Stripping is an experimental feature and might change at any time
Determining test suites to run...
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        0 s estimated 3 s
████████████████████████████████████████
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        0 s estimated 3 s
████████████████████████████████████████
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        0 s estimated 3 s
████████████████████████████████████████
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        1 s estimated 3 s
████████████████████████████████████████
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        2 s estimated 3 s
████████████████████████████████████████
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s



















(node:4182855) ExperimentalWarning: Type Stripping is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s



















(node:4182849) ExperimentalWarning: Type Stripping is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s



















(node:4182861) ExperimentalWarning: Type Stripping is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s



















(node:4182847) ExperimentalWarning: Type Stripping is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s



















(node:4182848) ExperimentalWarning: Type Stripping is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s



















 PASS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s



















 PASS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s



















 PASS   browser: chromium  src/components/PricingButton.stories.tsx
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/PricingFeature.stories.tsx
 RUNS   browser: chromium  src/components/PricingPlan.stories.tsx
 RUNS   browser: chromium  src/components/PricingButton.stories.tsx
Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        3 s
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
Test Suites: 3 passed 3 of 5 total
Tests:       7 passed 7 total
Snapshots:   0 total
Time:        3 s













 FAIL   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
Test Suites: 3 passed 3 of 5 total
Tests:       7 passed 7 total
Snapshots:   0 total
Time:        3 s













  ● Components/Dialog › OnSignIn › play-test
    page.evaluate: StorybookTestRunnerError:
    An error occurred in the following story. Access the link for full output:
    http://127.0.0.1:6006/?path=/story/components-dialog--on-sign-in&addonPanel=storybook/interactions/panel
    Message:
     Unable to find an element by: [data-testid="submit-signin"]
    Ignored nodes: comments script style
    <div
      id="storybook-root"
    />
      at src/components/Dialog.stories.tsx:404:58
      at step (src/components/Dialog.stories.tsx:161:23)
      at Object.next (src/components/Dialog.stories.tsx:102:20)
      at asyncGeneratorStep (src/components/Dialog.stories.tsx:4:28)
      at _next (src/components/Dialog.stories.tsx:22:17)
      at src/components/Dialog.stories.tsx:27:13
      at src/components/Dialog.stories.tsx:19:16
      at testFn (src/components/Dialog.stories.tsx:489:49)
      at Object.<anonymous> (src/components/Dialog.stories.tsx:502:33)
      at step (src/components/Dialog.stories.tsx:161:23)
      at Object.next (src/components/Dialog.stories.tsx:102:20)
      at asyncGeneratorStep (src/components/Dialog.stories.tsx:4:28)
      at _next (src/components/Dialog.stories.tsx:22:17)
      at src/components/Dialog.stories.tsx:27:13
      at Object.<anonymous> (src/components/Dialog.stories.tsx:19:16)
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
Test Suites: 3 passed 3 of 5 total
Tests:       7 passed 7 total
Snapshots:   0 total
Time:        3 s













 PASS   browser: chromium  src/components/PricingTable.stories.tsx
 RUNS   browser: chromium  src/components/Dialog.stories.tsx
 RUNS   browser: chromium  src/components/PricingTable.stories.tsx
Test Suites: 3 passed 3 of 5 total
Tests:       7 passed 7 total
Snapshots:   0 total
Time:        3 s
Test Suites: 1 failed 4 passed 5 total
Tests:       2 failed 10 passed 12 total
Snapshots:   0 total
Time:        3 s
Test Suites: 1 failed 4 passed 5 total
Tests:       1 failed 5 passed 6 total
Snapshots:   0 total
Time:        3.523 s
Ran all test suites.
⠙

Steps to reproduce

Relevant API REQUEST output

Additional context

No response

Activity

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions