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

align table cell text helper to new UI #1614

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

labkey-chrisj
Copy link
Contributor

@labkey-chrisj labkey-chrisj commented Aug 23, 2023

Rationale

Recent changes to remove inline markup elements caused the finder for a non-dataregion table to fail because the locator looking for it expected its dataregion title element to be wrapped in a //div/h3/a/span, but is now in a //div/h3/span/span. I've taken the liberty to make the locator a little more robust to UI changes like this in the future

Related Pull Requests

n/a

Changes

  • Fixed locator

@labkey-chrisj
Copy link
Contributor Author

I'm not sure what's happening here or if someone rebased testAutomation somehow, but my feature branch with fixes somehow pull in changes I haven't made and result in a non-compiling build 🙄

@labkey-chrisj labkey-chrisj deleted the fb_betterLegacyGridLocator branch August 23, 2023 23:44
@labkey-chrisj labkey-chrisj restored the fb_betterLegacyGridLocator branch August 24, 2023 17:57
@labkey-chrisj
Copy link
Contributor Author

OK, attempting to manually revert the changes that weren't intentional

@labkey-chrisj labkey-chrisj reopened this Aug 24, 2023
Copy link
Member

@labkey-tchad labkey-tchad left a comment

Choose a reason for hiding this comment

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

Are you sure this wasn't an accidental product change? <a> -> <span> seems like it might have broken something.

@labkey-chrisj
Copy link
Contributor Author

labkey-chrisj commented Aug 29, 2023

Yes, I talked to @labkey-matthewb about it, he thought it would be right to update this helper. It was part of the work to remove inline markup, probably not surprising to see it not affecting everything else

@labkey-chrisj labkey-chrisj merged commit 30f2ad8 into develop Aug 29, 2023
2 checks passed
@labkey-chrisj labkey-chrisj deleted the fb_betterLegacyGridLocator branch August 29, 2023 18:18
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.

2 participants