Skip to content

Commit 16f02fc

Browse files
committed
ignored the cached test when moving to executing tab for execution
1 parent b429d2a commit 16f02fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class PlaybackState {
8989
try {
9090
UiState._project.addCurrentUrl();
9191
} catch (e) {} // eslint-disable-line no-empty
92-
UiState.changeView("Executing");
92+
UiState.changeView("Executing", true);
9393
UiState.selectCommand(undefined);
9494
if (UiState.isRecording) {
9595
ModalState.showAlert({

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ class UiState {
9494
return this.navigationHover ? this._navigationWidth : this.minNavigationWidth;
9595
}
9696

97-
@action.bound changeView(view) {
97+
@action.bound changeView(view, ignoreCache) {
9898
this.lastViewSelection.set(this.selectedView, this.selectedTest);
9999
this.selectedView = view;
100100
const lastSelection = this.lastViewSelection.get(this.selectedView);
101-
if (lastSelection) {
101+
if (!ignoreCache && lastSelection) {
102102
this.selectTest(lastSelection.test, lastSelection.suite, lastSelection.stack);
103103
}
104104
}

0 commit comments

Comments
 (0)