From 25b4764e2d75bf324c93d2379f46b302bf6419c7 Mon Sep 17 00:00:00 2001 From: SETHULAKSHMI-PM Date: Mon, 1 Jul 2024 18:29:36 +0530 Subject: [PATCH] fireFOX 89 macOS 10.12 - FID --- protractor.saucelabs.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/protractor.saucelabs.config.js b/protractor.saucelabs.config.js index c879390d..1839bef6 100644 --- a/protractor.saucelabs.config.js +++ b/protractor.saucelabs.config.js @@ -33,7 +33,8 @@ exports.config = { // // inconsistent TEST LCP - https://app.saucelabs.com/dashboard/tests?platform=Windows+10&platform=macOS+Catalina&browser=Firefox+122.0&ownerId=myorganization&ownerType=organization&ownerName=My+organization&search=LCP&start=alltime // ...generateSauceLabsCapabilities('firefox', '122', ['macOS 10.15', 'Windows 10'], { excludes: ['CLS', 'INP'] }), - ...generateSauceLabsCapabilities('firefox', '35', ['OS X 10.11'], { excludes: ['LCP', 'FID', 'CLS', 'INP', 'FCP'] }), //test TTFB + // ...generateSauceLabsCapabilities('firefox', '35', ['OS X 10.11'], { includedMetrics: ['TTFB'] }), // TEST TTFB + ...generateSauceLabsCapabilities('firefox', '89', ['macOS 10.12'], { includedMetrics: ['FID'] }), // TEST FID // ...generateSauceLabsCapabilities('chrome', '77', ['macOS 10.12', 'Windows 7', 'OS X 10.10'], { excludes: ['LCP', 'CLS', 'INP', 'TTFB', 'FCP'] }), // PASSED 449 @@ -65,8 +66,8 @@ exports.config = { // Filter out the metrics that are in the excludes array, and generate capabilities for each platform. // Note that not all web vital metrics are supported across all compatibilities. -function generateSauceLabsCapabilities(browserName, version, platforms, options) { - const includedMetrics = webvitalMetrics.filter(metric => !options.excludes.includes(metric)); +function generateSauceLabsCapabilities(browserName, version, platforms, includedMetrics) { + // const includedMetrics = webvitalMetrics.filter(metric => !options.excludes.includes(metric)); return platforms.flatMap(platform => { return newSaucelabsCapability(browserName, version, platform, includedMetrics); });