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

Add 'data-amp-auto-lightbox-disable' attribute to HTML tag instead of body tag to disable auto-lightbox #7097

Merged
merged 4 commits into from
May 12, 2022

Conversation

dhaval-parekh
Copy link
Collaborator

Summary

Fixes #7057

Checklist

  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@dhaval-parekh dhaval-parekh self-assigned this May 11, 2022
@dhaval-parekh dhaval-parekh marked this pull request as ready for review May 11, 2022 19:20
@github-actions
Copy link
Contributor

github-actions bot commented May 11, 2022

Plugin builds for 3d45623 are ready 🛎️!

@westonruter westonruter added this to the v2.3 milestone May 11, 2022
@@ -35,6 +35,8 @@ describe( 'Featured Image Notice', () => {

// This should not suggest cropping.
await expect( page ).not.toMatch( cropImageText );

await clickButton( 'Featured image' );
Copy link
Member

Choose a reason for hiding this comment

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

Was the E2E test failure a fluke? It doesn't seem that adding this click here should do anything since it is done in beforeEach anyway and there are no expectations in this test.

@westonruter westonruter merged commit 7728024 into develop May 12, 2022
@westonruter westonruter deleted the bug/7057-auto-lightbox branch May 12, 2022 17:03
@westonruter westonruter added the Changelogged Whether the issue/PR has been added to release notes. label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelogged Whether the issue/PR has been added to release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update sanitizer for auto-lightbox disabling to target root element instead of body
2 participants