diff --git a/lib/webVitals.js b/lib/webVitals.js index 0b0e6a748..fafc3931f 100644 --- a/lib/webVitals.js +++ b/lib/webVitals.js @@ -8,7 +8,7 @@ import {reportCustomEvent} from './customEvents'; import vars from './vars'; interface Metric { - name: 'CLS' | 'FID' | 'LCP'; + name: 'CLS' | 'FID' | 'LCP' | 'INP'; value: number; id?: string; diff --git a/protractor.saucelabs.config.js b/protractor.saucelabs.config.js index aa538fae1..881b2a004 100644 --- a/protractor.saucelabs.config.js +++ b/protractor.saucelabs.config.js @@ -19,7 +19,75 @@ exports.config = { newSaucelabsCapability('firefox', '58.0', 'Windows 11'), newSaucelabsCapability('chrome', '67.0', 'Windows 10'), newSaucelabsCapability('chrome', '54.0', 'OS X 10.11'), - newSaucelabsCapability('chrome', '65.0', 'OS X 10.11') + newSaucelabsCapability('chrome', '65.0', 'OS X 10.11'), + + newSaucelabsCapability('chrome', 'latest', 'Windows 11', 'TEST FOR latest chrome - Windows 11'), + newSaucelabsCapability('edge', 'latest', 'Windows 11', 'TEST FOR latest edge - Windows 11'), + newSaucelabsCapability('firefox', 'latest', 'Windows 11', 'TEST FOR latest firefox - Windows 11'), + + newSaucelabsCapability('chrome', 'latest', 'Windows 10', 'TEST FOR latest chrome - Windows 10'), + newSaucelabsCapability('edge', 'latest', 'Windows 10', 'TEST FOR latest edge - Windows 10'), + newSaucelabsCapability('firefox', 'latest', 'Windows 10', 'TEST FOR latest firefox - Windows 10'), + newSaucelabsCapability('internetExplorer', 'latest', 'Windows 10', 'TEST FOR latest internetExplorer - Windows 10'), + + newSaucelabsCapability('chrome', 'latest', 'Windows 8.1', 'TEST FOR latest chrome - Windows 8.1'), + newSaucelabsCapability('internetExplorer', 'latest', 'Windows 8.1', 'TEST FOR latest internetExplorer - Windows 8.1'), + newSaucelabsCapability('firefox', 'latest', 'Windows 8.1', 'TEST FOR latest firefox - Windows 8.1'), + + newSaucelabsCapability('chrome', 'latest', 'Windows 8', 'TEST FOR latest chrome - Windows 8'), + newSaucelabsCapability('internetExplorer', 'latest', 'Windows 8', 'TEST FOR latest internetExplorer - Windows 8'), + newSaucelabsCapability('firefox', 'latest', 'Windows 8', 'TEST FOR latest firefox - Windows 8'), + + newSaucelabsCapability('chrome', 'latest', 'Windows 7', 'TEST FOR latest chrome - Windows 7'), + newSaucelabsCapability('internetExplorer', 'latest', 'Windows 7', 'TEST FOR latest internetExplorer - Windows 7'), + newSaucelabsCapability('firefox', 'latest', 'Windows 7', 'TEST FOR latest firefox - Windows 7'), + + newSaucelabsCapability('undefined', 'latest', 'Linux', 'TEST FOR latest undefined - Linux'), + + newSaucelabsCapability('chrome', 'latest', 'macOS 13', 'TEST FOR latest chrome - macOS 13'), + newSaucelabsCapability('edge', 'latest', 'macOS 13', 'TEST FOR latest edge - macOS 13'), + newSaucelabsCapability('firefox', 'latest', 'macOS 13', 'TEST FOR latest firefox - macOS 13'), + newSaucelabsCapability('safari', 'latest', 'macOS 13', 'TEST FOR latest safari - macOS 13'), + + newSaucelabsCapability('chrome', 'latest', 'macOS 12', 'TEST FOR latest chrome - macOS 12'), + newSaucelabsCapability('edge', 'latest', 'macOS 12', 'TEST FOR latest edge - macOS 12'), + newSaucelabsCapability('firefox', 'latest', 'macOS 12', 'TEST FOR latest firefox - macOS 12'), + newSaucelabsCapability('safari', 'latest', 'macOS 12', 'TEST FOR latest safari - macOS 12'), + + newSaucelabsCapability('chrome', 'latest', 'macOS 11.00', 'TEST FOR latest chrome - macOS 11.00'), + newSaucelabsCapability('edge', 'latest', 'macOS 11.00', 'TEST FOR latest edge - macOS 11.00'), + newSaucelabsCapability('firefox', 'latest', 'macOS 11.00', 'TEST FOR latest firefox - macOS 11.00'), + newSaucelabsCapability('safari', 'latest', 'macOS 11.00', 'TEST FOR latest safari - macOS 11.00'), + + newSaucelabsCapability('chrome', 'latest', 'macOS 10.15', 'TEST FOR latest chrome - macOS 10.15'), + newSaucelabsCapability('edge', 'latest', 'macOS 10.15', 'TEST FOR latest edge - macOS 10.15'), + newSaucelabsCapability('firefox', 'latest', 'macOS 10.15', 'TEST FOR latest firefox - macOS 10.15'), + newSaucelabsCapability('safari', 'latest', 'macOS 10.15', 'TEST FOR latest safari - macOS 10.15'), + + newSaucelabsCapability('chrome', 'latest', 'macOS 10.14', 'TEST FOR latest chrome - macOS 10.14'), + newSaucelabsCapability('edge', 'latest', 'macOS 10.14', 'TEST FOR latest edge - macOS 10.14'), + newSaucelabsCapability('firefox', 'latest', 'macOS 10.14', 'TEST FOR latest firefox - macOS 10.14'), + newSaucelabsCapability('safari', 'latest', 'macOS 10.14', 'TEST FOR latest safari - macOS 10.14'), + + newSaucelabsCapability('chrome', 'latest', 'macOS 10.13', 'TEST FOR latest chrome - macOS 10.13'), + newSaucelabsCapability('edge', 'latest', 'macOS 10.13', 'TEST FOR latest edge - macOS 10.13'), + newSaucelabsCapability('firefox', 'latest', 'macOS 10.13', 'TEST FOR latest firefox - macOS 10.13'), + newSaucelabsCapability('safari', 'latest', 'macOS 10.13', 'TEST FOR latest safari - macOS 10.13'), + + newSaucelabsCapability('chrome', 'latest', 'macOS 10.12', 'TEST FOR latest chrome - macOS 10.12'), + newSaucelabsCapability('edge', 'latest', 'macOS 10.12', 'TEST FOR latest edge - macOS 10.12'), + newSaucelabsCapability('firefox', 'latest', 'macOS 10.12', 'TEST FOR latest firefox - macOS 10.12'), + newSaucelabsCapability('safari', 'latest', 'macOS 10.12', 'TEST FOR latest safari - macOS 10.12'), + + newSaucelabsCapability('chrome', 'latest', 'OS X 10.11', 'TEST FOR latest chrome - OS X 10.11'), + newSaucelabsCapability('edge', 'latest', 'OS X 10.11', 'TEST FOR latest edge - OS X 10.11'), + newSaucelabsCapability('firefox', 'latest', 'OS X 10.11', 'TEST FOR latest firefox - OS X 10.11'), + newSaucelabsCapability('safari', 'latest', 'OS X 10.11', 'TEST FOR latest safari - OS X 10.11'), + + newSaucelabsCapability('chrome', 'latest', 'OS X 10.10', 'TEST FOR latest chrome - OS X 10.10'), + newSaucelabsCapability('edge', 'latest', 'OS X 10.10', 'TEST FOR latest edge - OS X 10.10'), + newSaucelabsCapability('firefox', 'latest', 'OS X 10.10', 'TEST FOR latest firefox - OS X 10.10'), + newSaucelabsCapability('safari', 'latest', 'OS X 10.10', 'TEST FOR latest safari - OS X 10.10') ], // Do not allow parallel test execution. Makes the test execution a lot // slower, but the setup simpler. @@ -29,12 +97,12 @@ exports.config = { } }; -function newSaucelabsCapability(browserName, version, platform) { +function newSaucelabsCapability(browserName, version, platform, name) { return { browserName, version, platform, - name: 'weasel e2e', + name, 'tunnel-identifier': 'github-action-tunnel', build: process.env.GITHUB_RUN_NUMBER };