Skip to content

Commit f8d4413

Browse files
author
SETHULAKSHMI-PM
committed
safari, 9.0, OS X 10.11 - in LCP
1 parent c38eca3 commit f8d4413

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

protractor.saucelabs.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ exports.config = {
99
// See https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/
1010
multiCapabilities: [
1111
// newSaucelabsCapability('internet explorer', '11.103', 'Windows 10'),
12-
newSaucelabsCapability('MicrosoftEdge', '14.14393', 'Windows 10'),
13-
// newSaucelabsCapability('safari', '9.0', 'OS X 10.11'),
12+
// newSaucelabsCapability('MicrosoftEdge', '14.14393', 'Windows 10'),
13+
newSaucelabsCapability('safari', '9.0', 'OS X 10.11'),
1414
// newSaucelabsCapability('safari', '10.1', 'macOS 10.12'),
1515
// newSaucelabsCapability('safari', '11.0', 'macOS 10.12'),
1616
// newSaucelabsCapability('safari', '11.1', 'macOS 10.13'),
@@ -33,7 +33,7 @@ function newSaucelabsCapability(browserName, version, platform) {
3333
browserName,
3434
version,
3535
platform,
36-
name: 'MicrosoftEdge, 14.14393, Windows 10 - in INP',
36+
name: 'safari, 9.0, OS X 10.11 - in LCP',
3737
'tunnel-identifier': 'github-action-tunnel',
3838
build: process.env.GITHUB_RUN_NUMBER
3939
};

test/e2e/12_webvitalsAsCustomEvent/webvitalsAsCustomEvent.spec.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,20 @@ describe('12_webvitalsAsCustomEvent', () => {
3838
cexpect(beacon.ty).to.equal('pl');
3939
});
4040

41+
expectOneMatching(beacons, beacon => {
42+
cexpect(beacon.ty).to.equal('cus');
43+
cexpect(beacon.ts).to.be.a('string');
44+
cexpect(parseFloat(beacon.d)).to.be.above(3000);
45+
cexpect(beacon.n).to.equal('instana-webvitals-LCP');
46+
cexpect(beacon.l).to.be.a('string');
47+
cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
48+
cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
49+
});
50+
4151
// expectOneMatching(beacons, beacon => {
4252
// cexpect(beacon.ty).to.equal('cus');
4353
// cexpect(beacon.ts).to.be.a('string');
44-
// cexpect(parseFloat(beacon.d)).to.be.above(3000);
45-
// cexpect(beacon.n).to.equal('instana-webvitals-LCP');
54+
// cexpect(beacon.n).to.equal('instana-webvitals-FID');
4655
// cexpect(beacon.l).to.be.a('string');
4756
// cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
4857
// cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
@@ -51,7 +60,7 @@ describe('12_webvitalsAsCustomEvent', () => {
5160
// expectOneMatching(beacons, beacon => {
5261
// cexpect(beacon.ty).to.equal('cus');
5362
// cexpect(beacon.ts).to.be.a('string');
54-
// cexpect(beacon.n).to.equal('instana-webvitals-FID');
63+
// cexpect(beacon.n).to.equal('instana-webvitals-CLS');
5564
// cexpect(beacon.l).to.be.a('string');
5665
// cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
5766
// cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
@@ -60,20 +69,11 @@ describe('12_webvitalsAsCustomEvent', () => {
6069
// expectOneMatching(beacons, beacon => {
6170
// cexpect(beacon.ty).to.equal('cus');
6271
// cexpect(beacon.ts).to.be.a('string');
63-
// cexpect(beacon.n).to.equal('instana-webvitals-CLS');
72+
// cexpect(beacon.n).to.equal('instana-webvitals-INP');
6473
// cexpect(beacon.l).to.be.a('string');
6574
// cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
6675
// cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
6776
// });
68-
69-
expectOneMatching(beacons, beacon => {
70-
cexpect(beacon.ty).to.equal('cus');
71-
cexpect(beacon.ts).to.be.a('string');
72-
cexpect(beacon.n).to.equal('instana-webvitals-INP');
73-
cexpect(beacon.l).to.be.a('string');
74-
cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
75-
cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
76-
});
7777
});
7878
});
7979
});

0 commit comments

Comments
 (0)