Skip to content

Commit

Permalink
firefox, 58.0, Windows 11 - in FID
Browse files Browse the repository at this point in the history
  • Loading branch information
SETHULAKSHMI-PM committed Jun 13, 2024
1 parent 612fa3a commit 60124c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion protractor.saucelabs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function newSaucelabsCapability(browserName, version, platform) {
browserName,
version,
platform,
name: 'firefox, 58.0, Windows 11 - in LCP',
name: 'firefox, 58.0, Windows 11 - in FID',
'tunnel-identifier': 'github-action-tunnel',
build: process.env.GITHUB_RUN_NUMBER
};
Expand Down
22 changes: 11 additions & 11 deletions test/e2e/12_webvitalsAsCustomEvent/webvitalsAsCustomEvent.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,25 @@ describe('12_webvitalsAsCustomEvent', () => {
cexpect(beacon.ty).to.equal('pl');
});

expectOneMatching(beacons, beacon => {
cexpect(beacon.ty).to.equal('cus');
cexpect(beacon.ts).to.be.a('string');
cexpect(parseFloat(beacon.d)).to.be.above(3000);
cexpect(beacon.n).to.equal('instana-webvitals-LCP');
cexpect(beacon.l).to.be.a('string');
cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
});

// expectOneMatching(beacons, beacon => {
// cexpect(beacon.ty).to.equal('cus');
// cexpect(beacon.ts).to.be.a('string');
// cexpect(beacon.n).to.equal('instana-webvitals-FID');
// cexpect(parseFloat(beacon.d)).to.be.above(3000);
// cexpect(beacon.n).to.equal('instana-webvitals-LCP');
// cexpect(beacon.l).to.be.a('string');
// cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
// cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
// });

expectOneMatching(beacons, beacon => {
cexpect(beacon.ty).to.equal('cus');
cexpect(beacon.ts).to.be.a('string');
cexpect(beacon.n).to.equal('instana-webvitals-FID');
cexpect(beacon.l).to.be.a('string');
cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
});

// expectOneMatching(beacons, beacon => {
// cexpect(beacon.ty).to.equal('cus');
// cexpect(beacon.ts).to.be.a('string');
Expand Down

0 comments on commit 60124c1

Please sign in to comment.