MWPW-184874 Link checker remains spinning#5246
Conversation
|
This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR. |
|
This PR has not been updated recently and will be closed in 7 days if no action is taken. Please ensure all checks are passing, https://github.com/orgs/adobecom/discussions/997 provides instructions. If the PR is ready to be merged, please mark it with the "Ready for Stage" label. |
|
Closing this PR due to inactivity. |
SilviuLCF
left a comment
There was a problem hiding this comment.
Verified , testing details
https://jira.corp.adobe.com/browse/MWPW-184874
|
Skipped merging 5246: MWPW-184874 Link checker remains spinning due to failing or running checks |
1 similar comment
|
Skipped merging 5246: MWPW-184874 Link checker remains spinning due to failing or running checks |
|
Skipped merging 5246: MWPW-184874 Link checker remains spinning due to failing or running checks |
4 similar comments
|
Skipped merging 5246: MWPW-184874 Link checker remains spinning due to failing or running checks |
|
Skipped merging 5246: MWPW-184874 Link checker remains spinning due to failing or running checks |
|
Skipped merging 5246: MWPW-184874 Link checker remains spinning due to failing or running checks |
|
Skipped merging 5246: MWPW-184874 Link checker remains spinning due to failing or running checks |
… or the blockStatus is loaded loadVideo now resolves if the tag does not have data-video-source and source implemented the review fixed linting errors
3a01ebb to
229cb5d
Compare
* changed the waitForFooter function to now look if the footer is Ready or the blockStatus is loaded loadVideo now resolves if the tag does not have data-video-source and source implemented the review fixed linting errors * rebased from stage
Description
the problem was in the
waitForFooter()function… originally before we decided to call preflight indelayed.jsin order to be able to check the links in the footer we had to wait until theglobalFooterwould be loaded, hence we needed thewaitForFooter(). thats why the preflight was waiting endlessly for the FooterReady callback ( which was being dispatched before preflight even started listening ) hence the endless loop.I have also cahnged the loadvideo function to now resolve if a video has no
'data-video-source'and'soruce'tagthis is because in the https://main--cc--adobecom.aem.page/products/illustrator page if you open the preflight panel the Link and the Assets will never load and have an infinite spinning loading icon.
Resolves: MWPW-184874
Test URLs:
https://main--cc--adobecom.aem.page/products/illustrator
https://main--da-bacom--adobecom.aem.page/products/adobe-analytics
https://main--blog--adobecom.aem.page/en/topics/news
https://main--dc--adobecom.aem.page/acrobat
https://main--cc--adobecom.aem.page/products/illustrator?milolibs=LinkCheckerFix--milo--adobecom
https://main--da-bacom--adobecom.aem.page/products/adobe-analytics?milolibs=LinkCheckerFix--milo--adobecom
https://main--blog--adobecom.aem.page/en/topics/news?milolibs=LinkCheckerFix--milo--adobecom
https://main--dc--adobecom.aem.page/acrobat?milolibs=LinkCheckerFix--milo--adobecom