Commit 043c86e
authored
test: e2e tests with interactive pty (#149)
# feat: use vite_pty for e2e snapshot tests
Replace piped stdin/stdout with PTY-based process spawning in e2e tests.
Child processes now run in a real terminal, closer to actual user experience.1 parent 881b5d3 commit 043c86e
52 files changed
Lines changed: 1694 additions & 443 deletions
File tree
- crates
- fspy_test_utils
- src
- fspy
- tests
- test_utils
- subprocess_test
- src
- vite_pty
- src
- tests
- vite_task_bin
- tests/e2e_snapshots
- fixtures
- associate-existing-cache/snapshots
- builtin-different-cwd/snapshots
- builtin-non-zero-exit/snapshots
- cache-disabled/snapshots
- cache-miss-command-change/snapshots
- cache-miss-reasons/snapshots
- cache-subcommand/snapshots
- colon-in-name/snapshots
- e2e-env-test/snapshots
- e2e-lint-cache/snapshots
- exec-api/snapshots
- individual-cache-for-adt-args/snapshots
- individual-cache-for-envs/snapshots
- lint-dot-git/snapshots
- replay-logs-chronological-order/snapshots
- stdin-passthrough
- snapshots
- vite-task-smoke/snapshots
- vite_tui/src/components
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
41 | 73 | | |
42 | 74 | | |
43 | 75 | | |
| |||
102 | 134 | | |
103 | 135 | | |
104 | 136 | | |
| 137 | + | |
| 138 | + | |
105 | 139 | | |
106 | 140 | | |
107 | 141 | | |
| |||
113 | 147 | | |
114 | 148 | | |
115 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
116 | 159 | | |
117 | 160 | | |
118 | 161 | | |
| |||
0 commit comments