Skip to content

Commit

Permalink
fireFOX 89 macOS 10.12 - FID
Browse files Browse the repository at this point in the history
  • Loading branch information
SETHULAKSHMI-PM committed Jul 1, 2024
1 parent e9894e3 commit 25b4764
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions protractor.saucelabs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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);
});
Expand Down

0 comments on commit 25b4764

Please sign in to comment.