Skip to content

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

Merged
alisonailea merged 1 commit intoepic/7180-component-tokensfrom
astump/7180-combobox-test
Feb 22, 2024
Merged

test(combobox): update test to reduce complexity#8810
alisonailea merged 1 commit intoepic/7180-component-tokensfrom
astump/7180-combobox-test

Conversation

@alisonailea
Copy link
Copy Markdown
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
@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
Copy Markdown
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