-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WORLDSERVICE-649 Rename cypress test file #12600
Conversation
cypress/e2e/specialFeatures/liteSiteWeight/helpers/getTotalPageSize.js
Outdated
Show resolved
Hide resolved
// eslint-disable-next-line cypress/unsafe-to-chain-command | ||
return cy | ||
.wrap(requests) | ||
.each(({ url, contentLength }) => { | ||
if (contentLength) { | ||
requestSizes.push({ url, size: contentLength }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weirdly not seeing the ATI requests listed in the output (I was getting them locally when we first did the curl / content-length stuff...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeaaa , it might be a timing thing? as those are fired off after the page load, so maybe they're not getting fired off fast enough to be captured in the requests sometimes - think maube this is fine as they're not technically part of the inital data a user has to download?
Resolves JIRA: WORLDSERVICE-649
Summary
rename test file
ws-nextjs-app/cypress/e2e/specialFeatures/liteSiteWeight/index.js -> ws-nextjs-app/cypress/e2e/specialFeatures/liteSiteWeight/index.cy.ts
so it can runalso adds some new logging for the cypress test
Code changes
Developer Checklist
Testing
Ready-For-Test, Local
)Ready-For-Test, Test
)Ready-For-Test, Preview
)Ready-For-Test, Live
)Additional Testing Steps
Useful Links