Commit 260e01c
committed
fix(console): surface the rerun split button on imported Testo history tabs
The rerun split button only shows when ExecutionEnvironment.testoRunProfile()
resolves a TestoRunConfiguration, but an imported history tab's runProfile is
TestoImportRunProfile, so it was treated as a non-Testo tab and the button hid.
Recognize TestoImportRunProfile (exposing its reconstructed configuration) in
testoRunProfile(), and make its rerun run that original configuration's tests
instead of re-importing.1 parent 1a9eae6 commit 260e01c
2 files changed
Lines changed: 11 additions & 3 deletions
File tree
- src/main/kotlin/com/github/xepozz/testo/tests
- actions
- console
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
73 | | - | |
74 | | - | |
| 78 | + | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
0 commit comments