Skip to content

Commit 5bef44e

Browse files
author
David Haeffner
committed
Fix for playbackOptions being undefined
1 parent 70be270 commit 5bef44e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ class PlaybackState {
771771
caller: this.currentRunningTest,
772772
callee: testCase,
773773
position: this.currentExecutingCommandNode,
774-
playbackOptions: PlaybackState.playbackOptions,
774+
playbackOptions: this.playbackOptions,
775775
})
776776
UiState.selectTest(
777777
this.stackCaller,
@@ -793,7 +793,9 @@ class PlaybackState {
793793
unwindTestCase() {
794794
const top = this.callstack.pop()
795795
this.currentRunningTest = top.caller
796-
this.playbackOptions = top.playbackOptions
796+
this.playbackOptions = {
797+
assertionsDisabled: !!top.playbackOptions.assertionsDisabled,
798+
}
797799
this.setCurrentExecutingCommandNode(top.position.next)
798800
this.runningQueue = top.caller.commands.slice()
799801
UiState.selectTest(

0 commit comments

Comments
 (0)