Hide
I was just trying to setup Parallel integration Testing for browser.
I tried to execute the below script. But it hangs.
Could you please let me know what could be done here?
node
{
parallel chrome: {
runTests("Chrome")
}, firefox: {
runTests("Firefox")
}, safari: {
runTests("Safari")
}
}
def runTests(browser) {
node
{
sh 'rm -rf *'
unstash 'everything'
sh 'npm run test-single-run -- -- browsers $(browser)'
}
}
Show
I was just trying to setup Parallel integration Testing for browser.
I tried to execute the below script. But it hangs.
Could you please let me know what could be done here?
node
{
parallel chrome: {
runTests("Chrome")
}, firefox: {
runTests("Firefox")
}, safari: {
runTests("Safari")
}
}
def runTests(browser) {
node
{
sh 'rm -rf *'
unstash 'everything'
sh 'npm run test-single-run -- -- browsers $(browser)'
}
}