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

[Maps Plugin] Fix disable check in Maps new home integ tests #1708

Merged

Conversation

q-andy
Copy link
Contributor

@q-andy q-andy commented Feb 12, 2025

Description

Fix overly strict disable check in flaky integ test added in #1587

When an element is disabled, the disabled property is not always set to disabled='disabled'. Sometimes it is set with disabled='' or as a property without a value, disabled. In those cases, the test would not be skipped and the integ test fails since the switch is still disabled.

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Andy Qin <qinandy@amazon.com>
@q-andy q-andy changed the title Fix disable check in Maps new home integ tests [Maps Plugin] Fix disable check in Maps new home integ tests Feb 12, 2025
Copy link
Contributor

@heemin32 heemin32 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@peterzhuamazon peterzhuamazon merged commit cc59ede into opensearch-project:main Feb 12, 2025
37 of 39 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 12, 2025
Signed-off-by: Andy Qin <qinandy@amazon.com>
(cherry picked from commit cc59ede)
peterzhuamazon pushed a commit that referenced this pull request Feb 12, 2025
Signed-off-by: Andy Qin <qinandy@amazon.com>
(cherry picked from commit cc59ede)

Co-authored-by: Andy <andyqin17@gmail.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 12, 2025
Signed-off-by: Andy Qin <qinandy@amazon.com>
(cherry picked from commit cc59ede)
@peterzhuamazon
Copy link
Member

Requested by @q-andy to backport to 2.17.

peterzhuamazon pushed a commit that referenced this pull request Feb 12, 2025
Signed-off-by: Andy Qin <qinandy@amazon.com>
(cherry picked from commit cc59ede)

Co-authored-by: Andy <andyqin17@gmail.com>
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.

5 participants