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

feat: add component tests for filterdropdown component #41

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adityak714
Copy link

@adityak714 adityak714 commented Mar 2, 2024

@adityak714 adityak714 changed the title feat #39: add component tests for filterdropdown component feat: add component tests for filterdropdown component Mar 2, 2024
// Testing whether the button is visible
browser.expect(filterDropdownButton).to.be.visible;
// Testing whether the button is clickable
browser.element('button[aria-label="Customize options"]').click();
Copy link
Member

Choose a reason for hiding this comment

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

Along with "All test" text assertion, after selecting another option, assert the text.

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