Skip to content

Commit 843c3b9

Browse files
committed
only reset variables in parallel suites
1 parent faf3078 commit 843c3b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ class PlaybackState {
163163
}
164164

165165
@action.bound playNext() {
166-
clearVariables();
166+
if (UiState.selectedTest.suite.isParallel) {
167+
clearVariables();
168+
}
167169
this.currentRunningTest = this._testsToRun.shift();
168170
UiState.selectTest(this.currentRunningTest, UiState.selectedTest.suite);
169171
this.runningQueue = this.currentRunningTest.commands.peek();

0 commit comments

Comments
 (0)