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

[MWPW-163381] : Removed lorem ipsum text check from preflight modal #3417

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

sharmeeatadobe
Copy link
Contributor

@sharmeeatadobe sharmeeatadobe commented Jan 3, 2025

The preflight dialog is added to the body of the actual page. And currently the lorem ipsum text is checked inside the entire innerHTML (thus including the preflight dialog). So once the preflight dialog opens for the first time it introduces the "Lorem Ipsum" text in the body and hence for all consecutive checks, it incorrectly fails even if the page does not have the "Lorem Ipsum" text.
Handled it by eliminating the preflight dialog content and checking in the actual body of the page instead.

Resolves: MWPW-163381

Test URLs:

@sharmeeatadobe sharmeeatadobe requested a review from a team January 3, 2025 06:12
Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.47%. Comparing base (29d77a6) to head (6ff89c5).
Report is 28 commits behind head on stage.

Additional details and impacted files
@@           Coverage Diff           @@
##            stage    #3417   +/-   ##
=======================================
  Coverage   96.47%   96.47%           
=======================================
  Files         255      255           
  Lines       59253    59253           
=======================================
  Hits        57163    57163           
  Misses       2090     2090           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

aem-code-sync bot commented Jan 3, 2025

@sharmeeatadobe sharmeeatadobe changed the title [MWPW-163381] : Removed lorem ipsum text check from preflight div [MWPW-163381] : Removed lorem ipsum text check from preflight modal Jan 3, 2025
@sharmeeatadobe sharmeeatadobe requested a review from a team January 9, 2025 04:38
@narcis-radu narcis-radu self-requested a review January 10, 2025 14:28
Copy link
Contributor

Reminder to set the Ready for Stage label - to queue this to get merged to stage & production.

@SilviuLCF SilviuLCF self-requested a review January 13, 2025 09:56
Copy link

@SilviuLCF SilviuLCF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready for STAGE
Testing details
https://jira.corp.adobe.com/browse/MWPW-163381

@milo-pr-merge milo-pr-merge bot merged commit 746f58e into adobecom:stage Jan 13, 2025
20 checks passed
@milo-pr-merge milo-pr-merge bot mentioned this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants