diff --git a/protractor.saucelabs.config.js b/protractor.saucelabs.config.js index 1657491e..83b592e7 100644 --- a/protractor.saucelabs.config.js +++ b/protractor.saucelabs.config.js @@ -1,6 +1,7 @@ /* eslint-env node */ const webvitalMetrics = ['LCP', 'FID', 'CLS', 'INP', 'TTFB', 'FCP']; const webvitalMetricsWithoutINPandFCP = webvitalMetrics.filter(metric => metric !== 'INP' && metric !== 'FCP'); +const webvitalMetricsWithoutFCP = webvitalMetrics.filter(metric => metric !== 'FCP'); const testFCPmetrics = ['FCP']; const testTTFBmetrics = ['TTFB']; const fireFox_supporting_wv_metrices = ['LCP', 'FID', 'TTFB', 'FCP']; @@ -30,7 +31,7 @@ exports.config = { // ...generateSauceLabsCapabilities('chrome', '65.0', ['OS X 10.11'], { includedMetrics: testTTFBmetrics }), ...generateSauceLabsCapabilities('chrome', '85', ['OS X 10.10', 'macOS 10.12', 'Windows 8'], { includedMetrics: webvitalMetricsWithoutINPandFCP }), // FCP should include, but it is inconsitent - ...generateSauceLabsCapabilities('chrome', '96', ['OS X 10.11', 'macOS 12', 'Windows 11'], { includedMetrics: webvitalMetrics }), + ...generateSauceLabsCapabilities('chrome', '96', ['OS X 10.11', 'macOS 12', 'Windows 11'], { includedMetrics: webvitalMetricsWithoutFCP }), // FCP should include, but it is inconsitent // ...generateSauceLabsCapabilities('firefox', '35', ['OS X 10.10', 'macOS 10.12', 'Windows 7'], { includedMetrics: testTTFBmetrics }), // ...generateSauceLabsCapabilities('firefox', '90', ['macOS 10.12', 'Windows 7'], { includedMetrics: ['FID', 'TTFB', 'FCP'] }),