You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
writeJSFile(path.join(projectPath,suite.name),`// This file was generated using Selenium IDE\nconst tests = require("./commons.js");${suite.code}${cleanup}`);
130
-
}elseif(suite.tests.length){
131
-
fs.mkdirSync(path.join(projectPath,suite.name));
132
-
// parallel suite
133
-
suite.tests.forEach(test=>{
134
-
writeJSFile(path.join(projectPath,suite.name,test.name),`// This file was generated using Selenium IDE\nconst tests = require("../commons.js");${suite.code}${test.code}`);
writeJSFile(path.join(projectPath,suite.name),`// This file was generated using Selenium IDE\nconst tests = require("./commons.js");${code.globalConfig}${suite.code}${cleanup}`);
133
+
}elseif(suite.tests.length){
134
+
fs.mkdirSync(path.join(projectPath,suite.name));
135
+
// parallel suite
136
+
suite.tests.forEach(test=>{
137
+
writeJSFile(path.join(projectPath,suite.name,test.name),`// This file was generated using Selenium IDE\nconst tests = require("../commons.js");${code.globalConfig}${suite.code}${test.code}`);
0 commit comments