-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: modifying cwv handler for accommodating forms
- Loading branch information
Rahul Kumar Singh
committed
Nov 18, 2024
1 parent
a2f6293
commit c47d650
Showing
6 changed files
with
509 additions
and
391 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
"@adobe/spacecat-shared-data-access": "1.53.1", | ||
"@adobe/spacecat-shared-google-client": "1.2.22", | ||
"@adobe/spacecat-shared-http-utils": "1.7.0", | ||
"@adobe/spacecat-shared-rum-api-client": "2.9.10", | ||
"@adobe/spacecat-shared-rum-api-client": "2.10.0", | ||
"@adobe/spacecat-shared-rum-api-client-v1": "npm:@adobe/[email protected]", | ||
"@aws-sdk/client-s3": "3.693.0", | ||
"@aws-sdk/client-lambda": "3.693.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
/* | ||
* Copyright 2024 Adobe. All rights reserved. | ||
* This file is licensed to you under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. You may obtain a copy | ||
* of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under | ||
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
* OF ANY KIND, either express or implied. See the License for the specific language | ||
* governing permissions and limitations under the License. | ||
*/ | ||
export const expectedCWVData = { | ||
auditResult: { | ||
cwv: [ | ||
{ | ||
url: 'https://www.aem.live/home', | ||
lcp: 2099.699999988079, | ||
lcpCount: 9, | ||
cls: 0.020660136604802475, | ||
clsCount: 7, | ||
inp: 12, | ||
inpCount: 3, | ||
ttfb: 520.4500000476837, | ||
ttfbCount: 18, | ||
pageviews: 9620, | ||
hasForm: true, | ||
}, | ||
{ | ||
url: 'https://www.aem.live/developer/block-collection', | ||
lcp: 512.1249999403954, | ||
lcpCount: 4, | ||
cls: 0.0005409526209424976, | ||
clsCount: 4, | ||
inp: 20, | ||
inpCount: 2, | ||
ttfb: 122.90000003576279, | ||
ttfbCount: 4, | ||
pageviews: 8000, | ||
hasForm: true, | ||
}, | ||
{ | ||
url: 'https://www.aem.live/docs/', | ||
lcp: 711.3499999996275, | ||
lcpCount: 15, | ||
cls: 0.011139588793585503, | ||
clsCount: 10, | ||
inp: 36, | ||
inpCount: 8, | ||
ttfb: 96.97500000149012, | ||
ttfbCount: 16, | ||
pageviews: 7910, | ||
hasForm: true, | ||
}, | ||
{ | ||
url: 'https://www.aem.live/tools/rum/explorer.html', | ||
lcp: 1111.8000000715256, | ||
lcpCount: 9, | ||
cls: 0.000996222305285266, | ||
clsCount: 7, | ||
inp: 184, | ||
inpCount: 5, | ||
ttfb: 312.69999980926514, | ||
ttfbCount: 9, | ||
pageviews: 7600, | ||
hasForm: false, | ||
}, | ||
], | ||
auditContext: { | ||
interval: 7, | ||
}, | ||
}, | ||
fullAuditRef: 'www.spacecat.com', | ||
}; |
Oops, something went wrong.