Skip to content

Commit 00e8099

Browse files
committed
Fixes #90
1 parent b973b0e commit 00e8099

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ class PlaybackState {
160160
}
161161

162162
@action.bound resetState() {
163+
UiState.stopRecording();
163164
this.clearCommandStates();
164165
this.currentPlayingIndex = 0;
165166
this.finishedTestsCount = 0;

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ class UiState {
161161
this.isRecording = !this.isRecording;
162162
}
163163

164+
@action.bound stopRecording() {
165+
this.isRecording = false;
166+
}
167+
164168
@action.bound setSelectingTarget(isSelecting) {
165169
this.isSelectingTarget = isSelecting;
166170
}

0 commit comments

Comments
 (0)