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

event emitters tests in action_bar component #2411

Merged
merged 4 commits into from
Jan 27, 2024

Conversation

Nishant-Nagururu
Copy link
Contributor

@Nishant-Nagururu Nishant-Nagururu commented Jan 26, 2024

Fixes

This PR helps fix issue #1717 which is an ongoing issue that requests more tests for components in altair-app.

Checks

Ran yarn test-build
Updated relevant documentations
Updated matching config options in altair-static

Changes proposed in this pull request:

I added tests for the event_emitters for the action_bar component to make sure they go off properly.

Copy link
Collaborator

@imolorhe imolorhe left a comment

Choose a reason for hiding this comment

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

The tests don't pass

@Nishant-Nagururu
Copy link
Contributor Author

I'm sorry @imolorhe that these did not work the first time. I am first time contributor. I looked closely at tests for other components and modeled mine after those. Please let me know if they still are incorrect.

Copy link
Collaborator

@imolorhe imolorhe left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks.

@Nishant-Nagururu
Copy link
Contributor Author

@imolorhe Is there anything else I need to do for this PR?

Copy link
Collaborator

@imolorhe imolorhe left a comment

Choose a reason for hiding this comment

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

@Nishant-Nagururu
Copy link
Contributor Author

@imolorhe sorry for the back and forth but the errors should be fixed now. I updated the snapshot to reflect the classes I added in the html and I moved a class that I accidentally put in an inaccurate spot. The two failing tests should be resolved now.

@imolorhe imolorhe added this pull request to the merge queue Jan 27, 2024
Merged via the queue into altair-graphql:master with commit e33bec3 Jan 27, 2024
7 of 11 checks passed
@Nishant-Nagururu Nishant-Nagururu deleted the action_bar_testcases branch January 28, 2024 15:06
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.

None yet

2 participants