refactor: simplify bazel saucelabs targets using karma pre-test wrapper and shared saucelabs connection between tests (#34769)
* Added a /tools/saucelabs/sauce-service.sh script that manages the sauce-connect as a service which is used by the karma-saucelabs.js wrapper to start the service. * Added /tools/saucelabs/README.md that covers the details of SauceLabs karma testing with Bazel. PR Close #34769
This commit is contained in:

committed by
Andrew Kushnir

parent
ce5afcc0be
commit
1543186c89
@ -152,9 +152,6 @@ module.exports = function(config) {
|
||||
set: () => {},
|
||||
});
|
||||
|
||||
// When running under Bazel with karma_web_test, SAUCE_TUNNEL_IDENTIFIER and KARMA_WEB_TEST_MODE
|
||||
// will only be available if they are part of the Bazel action environment. More details in the
|
||||
// "scripts/saucelabs/run-bazel-via-tunnel.sh" script.
|
||||
if (process.env['SAUCE_TUNNEL_IDENTIFIER']) {
|
||||
console.log(`SAUCE_TUNNEL_IDENTIFIER: ${process.env.SAUCE_TUNNEL_IDENTIFIER}`);
|
||||
|
||||
|
Reference in New Issue
Block a user