Flaky tests due to prompt detection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 0.12.0
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • Iteration Z, Iteration Athens
    • Not Needed

      The detection of shell output / the shell prompt in tests is flaky as sometimes multiple prompt starts are generated in a single output line causing the tests to fail.

      Example output:

      [2021/02/09 17:37:04.852]   1) e2e
      [2021/02/09 17:37:04.852]        Node.js builtin APIs in the shell
      [2021/02/09 17:37:04.852]          require() searches the current working directory according to Node.js rules:
      [2021/02/09 17:37:04.852]      AssertionError: expected '> > A\n> ' to match /^A$/m
      [2021/02/09 17:37:04.852]       at Context.<anonymous> (Z:\data\mci\072b060927fa32230b9d7502c9a74f80\src\packages\cli-repl\test\e2e.spec.ts:472:25)
      

              Assignee:
              Anna Henningsen
              Reporter:
              Michael Rose (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: