Skip to content

Commit 40ff360

Browse files
committed
chore: reset task mode when rerunning to update skipped icons
1 parent b599647 commit 40ff360

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/ui/client/composables/client

packages/ui/client/composables/client/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ function clearTaskResult(task: RunnerTask) {
9494
const node = explorerTree.nodes.get(task.id)
9595
if (node) {
9696
node.state = undefined
97+
// update task mode to allow change icon on skipped tests
98+
task.mode = 'run'
9799
node.duration = undefined
98100
if (isTaskSuite(task)) {
99101
for (const t of task.tasks) {

0 commit comments

Comments
 (0)