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

test(combobox): update test to reduce complexity #8810

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

alisonailea
Copy link
Contributor

Related Issue: #7180

Summary

I don’t know why but adding three items always resulted in an overflow on my machine. I don’t think this change alters the actual intent of the test but it does allow it to pass locally.

I don’t know why but adding three items always resulted in an overflow on my machine. I don’t think this change alters the actual intent of the test.
@alisonailea alisonailea added the testing Issues related to automated or manual testing. label Feb 22, 2024
@alisonailea alisonailea requested a review from a team as a code owner February 22, 2024 16:35
@alisonailea alisonailea merged commit d8d2bdd into epic/7180-component-tokens Feb 22, 2024
4 checks passed
@alisonailea alisonailea deleted the astump/7180-combobox-test branch February 22, 2024 17:18

await element.click();
await element.press("Backspace");
expect((await element.getProperty("selectedItems")).length).toBe(2);
await element.press("Delete");
Copy link
Member

Choose a reason for hiding this comment

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

Sidebar: @eriklharper Could you look at this test suite and update the names to match the test. According to #8603, this and similar tests should test both Delete and Backspace keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issues related to automated or manual testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants