Skip to content

Commit

Permalink
[TouchRunner] Update the current element even if showing a sub elemen…
Browse files Browse the repository at this point in the history
…t with failure info. (#61)

Otherwise the current element will show up as not executed when returning from the sub element.
  • Loading branch information
rolfbjarne authored May 14, 2020
1 parent d5b1caa commit dfbf8cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NUnitLite/TouchRunner/TestCaseElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ public TestCaseElement (TestMethod testCase, TouchRunner runner)
};
var dvc = new DialogViewController (root, true) { Autorotate = true };
runner.NavigationController.PushViewController (dvc, true);
} else if (GetContainerTableView () != null) {
}
// we still need to update our current element
if (GetContainerTableView () != null) {
var root = GetImmediateRootElement ();
root.Reload (this, UITableViewRowAnimation.Fade);
}
Expand Down

0 comments on commit dfbf8cb

Please sign in to comment.