File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/selenium-ide/src/neo/stores Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ export default class ProjectStore {
101101 }
102102
103103 @action . bound fromJS ( jsRep ) {
104- this . id = jsRep . id || uuidv4 ( ) ;
105104 this . name = jsRep . name ;
106105 this . setUrl ( jsRep . url ) ;
107106 this . _tests . replace ( jsRep . tests . map ( TestCase . fromJS ) ) ;
108107 this . _suites . replace ( jsRep . suites . map ( ( suite ) => Suite . fromJS ( suite , this . tests ) ) ) ;
109108 this . _urls . replace ( jsRep . urls ) ;
109+ this . id = jsRep . id || uuidv4 ( ) ;
110110 this . modified = false ;
111111 }
112112
Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ class UiState {
254254 this . isRecording = false ;
255255 this . suiteStates = { } ;
256256 this . clearTestStates ( ) ;
257+ this . selectTest ( this . _project . tests [ 0 ] ) ;
257258 }
258259
259260 @action . bound clearTestStates ( ) {
You can’t perform that action at this time.
0 commit comments