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

Upgrade button-group to v2.11.0 #230

Merged
merged 5 commits into from
Oct 24, 2018
Merged

Upgrade button-group to v2.11.0 #230

merged 5 commits into from
Oct 24, 2018

Conversation

tomnez
Copy link
Contributor

@tomnez tomnez commented Oct 24, 2018

Diff here

Finishes #229

@tomnez tomnez self-assigned this Oct 24, 2018
Copy link
Member

@vladucu vladucu left a comment

Choose a reason for hiding this comment

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

Looks great Tom, just a minor test simplification suggestion.

PS: you're killin it, so close 🔥

this.render(hbs`{{polaris-button-group fullWidth=fullWidth}}`);

const buttonGroup = find(buttonGroupSelector);
assert.ok(
Copy link
Member

Choose a reason for hiding this comment

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

why not something simpler
assert.dom(buttonGroupSelector).hasClass('Polaris-ButtonGroup--fullWidth', 'fullWidth=false - does not add the fullWidth class');

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doh! Forgot to codemod this file..

@tomnez
Copy link
Contributor Author

tomnez commented Oct 24, 2018

@vladucu updated

Copy link
Member

@vladucu vladucu left a comment

Choose a reason for hiding this comment

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

One more thing: migrate from using ember-native-dom-helpers provided test selectors 😇

@tomnez
Copy link
Contributor Author

tomnez commented Oct 24, 2018

lol @vladucu updated again.

Copy link
Member

@vladucu vladucu left a comment

Choose a reason for hiding this comment

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

🚀 🎸

@tomnez tomnez merged commit 8112ce6 into dev Oct 24, 2018
@delete-merged-branch delete-merged-branch bot deleted the upgrade-v2.11.0-button-group branch October 24, 2018 17:54
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