Skip to content

Commit

Permalink
create a default suite
Browse files Browse the repository at this point in the history
  • Loading branch information
corevo committed Mar 19, 2018
1 parent f3c5de9 commit e75f9fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/selenium-ide/src/neo/containers/Panel/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ const project = observable(new ProjectStore());
UiState.setProject(project);

if (process.env.NODE_ENV === "production") {
UiState.selectTest(project.createTestCase("Untitled"));
const suite = project.createSuite("Default Suite");
const test = project.createTestCase("Untitled");
suite.addTestCase(test);
UiState.selectTest(test);
} else {
seed(project, 0);
}
Expand Down

0 comments on commit e75f9fe

Please sign in to comment.