Skip to content

Commit

Permalink
removing google analytics tests since it is not longer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
tropicadri committed Apr 19, 2024
1 parent 0cdda11 commit 632354a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions gulp-tasks/test-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,15 @@ async function runIntegrationForBrowser(browser) {
});

for (const packageToTest of packagesToTest) {
const nodeEnv = constants.BUILD_TYPES[buildKey];
try {
await runTestSuite(packageToTest, nodeEnv, browser, webdriver);
} catch (error) {
await seleniumAssistant.killWebDriver(webdriver);
throw error;
// Since workbox-google-analytics is deprecated, removing the tests from integration tests.
if (!packageToTest.includes('workbox-google-analytics')) {
const nodeEnv = constants.BUILD_TYPES[buildKey];
try {
await runTestSuite(packageToTest, nodeEnv, browser, webdriver);
} catch (error) {
await seleniumAssistant.killWebDriver(webdriver);
throw error;
}
}
}

Expand Down

0 comments on commit 632354a

Please sign in to comment.