Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit dfbf8cb

Browse files
authored
[TouchRunner] Update the current element even if showing a sub element with failure info. (#61)
Otherwise the current element will show up as not executed when returning from the sub element.
1 parent d5b1caa commit dfbf8cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NUnitLite/TouchRunner/TestCaseElement.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ public TestCaseElement (TestMethod testCase, TouchRunner runner)
6060
};
6161
var dvc = new DialogViewController (root, true) { Autorotate = true };
6262
runner.NavigationController.PushViewController (dvc, true);
63-
} else if (GetContainerTableView () != null) {
63+
}
64+
// we still need to update our current element
65+
if (GetContainerTableView () != null) {
6466
var root = GetImmediateRootElement ();
6567
root.Reload (this, UITableViewRowAnimation.Fade);
6668
}

0 commit comments

Comments
 (0)