Skip to content

Commit a6246ad

Browse files
committed
fixed an issue where a test couldnt be re-selected when it is inside a suite
1 parent 68fb456 commit a6246ad

File tree

1 file changed

+4
-1
lines changed
  • packages/selenium-ide/src/neo/stores/view

1 file changed

+4
-1
lines changed

packages/selenium-ide/src/neo/stores/view/UiState.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,10 @@ class UiState {
198198
stack !== undefined && stack >= 0
199199
? PlaybackState.callstack[stack].callee
200200
: test
201-
if (_test && _test !== this.displayedTest) {
201+
if (
202+
_test &&
203+
(_test !== this.displayedTest || suite !== this.selectedTest.suite)
204+
) {
202205
this.selectedTest = {
203206
test,
204207
suite,

0 commit comments

Comments
 (0)