Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Adds data-test-id to tableContribute row anchor #471

Merged
merged 1 commit into from
May 28, 2019

Conversation

jasonrsadler
Copy link
Contributor

Changes

Adds data-test-id to tableContribute row anchor to identify row links for testing

Test plan

Link / storybook path to visual changes

Integration

  • Does this contain changes to src/components or src/

    • Will you publish to npm immediately after this PR, or wait until sometime in the future?
    • Incompatible API change to something existing (major version increase)
    • Adding new backwards-compatible functionality? (minor version increase)
    • Fixing a bug backwards-compatibly? (patch version increase)
  • Does this contain changes to src/features for brave-core?

    • Are there non backwards-compatible changes required for brave-core? Do not merge until brave-core PR is approvable. Link to brave-core PR:
    • Will you create brave-core PR to update to this commit after it is merged?
    • Wants uplift to brave-core feature branch?
      • When uplift-approved, merge to brave-core-0.VV.x feature branch
      • Create additional brave-core PRs for each feature branch to update commit

@@ -95,7 +95,7 @@ export default class TableContribute extends React.PureComponent<Props, {}> {
content: [
{
content: (
<StyledLink href={row.url} target={'_blank'}>
<StyledLink href={row.url} target={'_blank'} data-test-id={row.profile.name}>
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe a little bit more unique, data-test-id={'ac_link_' + row.profile.name}?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@jasonrsadler jasonrsadler merged commit fcfff85 into master May 28, 2019
@jasonrsadler jasonrsadler deleted the contribute-table-datatestid branch May 28, 2019 14:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants