Skip to content
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

partial footer unit tests #1

Closed
wants to merge 2 commits into from
Closed

partial footer unit tests #1

wants to merge 2 commits into from

Conversation

robert-bogos
Copy link
Owner

No description provided.

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 16, 2023

Hello, I'm the AEM Code Sync Bot and I will run some test suites that validate the page speed.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-run PSI Checks

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 16, 2023

Page Scores Audits Google
/drafts/rbogos/test PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 19, 2023

Page Scores Audits Google
/drafts/rbogos/test PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

robert-bogos pushed a commit that referenced this pull request Feb 3, 2025
…obecom#3549)

* fixed the flaky test for logWebVitalsUtils.test.js (#1)

* fixed the flaky test

* move performance mock to beforeEach/afterEach for isolation, simplify lcpElType check

* removed unused code

* fixed the same issue in logWebVitals.test.js and reverted unnecessary changes

* Update fstab.yaml

* Update fstab.yaml

* Update fstab.yaml

* Update fstab.yaml

* Update fstab.yaml

* removed dependency on gist.github.com by mocking script request

* replaced setTimeout to prevent flakiness

* Replaced Promise.resolve().then() with setTimeout()

* earlier return for if statement

* Improve callback matching in script mock

* improve event loop handling

* Replaced IIFE with async
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant