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

e2e(datahub): wait more precisely for favorite to be registered #847

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

jahow
Copy link
Collaborator

@jahow jahow commented Apr 9, 2024

Before that the filtering on favorites was sometimes done too early

Before that the filtering on favorites was sometimes done too early
Copy link
Contributor

github-actions bot commented Apr 9, 2024

Affected libs: feature-search, feature-router, feature-map, feature-dataviz, feature-record,
Affected apps: metadata-editor, datahub, demo, webcomponents, search, map-viewer,

  • 🚀 Build and deploy storybook and demo on GitHub Pages
  • 📦 Build and push affected docker images

@coveralls
Copy link

Coverage Status

coverage: 86.035% (+1.7%) from 84.332%
when pulling 2c1d78d on fix-dh-favorite-e2e-test
into da2c1f8 on main.

Copy link
Contributor

github-actions bot commented Apr 9, 2024

📷 Screenshots are here!

Copy link
Collaborator

@tkohr tkohr left a comment

Choose a reason for hiding this comment

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

Thanks, @jahow, looks like a promising solution!

@@ -1,6 +1,7 @@
<div class="flex flex-row items-center">
<span
class="align-text-top mr-1.5 favorite-count"
class="align-text-top mr-1.5"
data-test="favorite-count"
Copy link
Collaborator

Choose a reason for hiding this comment

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

We are already using data-cy in other locations. Maybe it's worth to name it the same. Then again I see it's also used in the UTs, so I let you judge :-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

exactly, it used in the UT so I gave priority to data-test :)

@jahow
Copy link
Collaborator Author

jahow commented Apr 9, 2024

Thanks for the quick review!!

@jahow jahow merged commit 4fbb164 into main Apr 9, 2024
9 checks passed
@jahow jahow deleted the fix-dh-favorite-e2e-test branch April 9, 2024 15:27
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.

3 participants