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

Added Dusk Selector(s) to FormTab & DetailTabs #155

Merged
merged 2 commits into from
Jul 11, 2021

Conversation

swatty007
Copy link
Contributor

Added dusks selector property to the FormTab component to make Tabs easier test-able with Laravel Dusk to avoid that changing CSS selectors cause broken tests.

The selector uses a slug of the tab name suffixed with the "-tab" string to avoid name conflicts with other components.

@RVxLab
Copy link
Collaborator

RVxLab commented Jul 10, 2021

Hey, thanks for the PR! Do you reckon you could add it to DetailTabs.Vue as well?

@swatty007
Copy link
Contributor Author

Actually didn't thought about it, but it would make sense indeed 😁

I can add it as well, if you like 👌

@RVxLab
Copy link
Collaborator

RVxLab commented Jul 10, 2021

That’d be great!

@swatty007 swatty007 changed the title Added Dusk Selector to FormTab Added Dusk Selector(s) to FormTab & DetailTabs Jul 10, 2021
@swatty007
Copy link
Contributor Author

Yeah & makes much more sense than the halfway implementation😉
Just didn't think that far for the minor change at that moment 🙄 so good catch.

I updated the PR accordingly.

@RVxLab RVxLab merged commit 2f8f548 into eminiarts:master Jul 11, 2021
@RVxLab
Copy link
Collaborator

RVxLab commented Jul 11, 2021

Thanks again! 👍🏻

@swatty007
Copy link
Contributor Author

I have to thank you for the package 😎

@RVxLab
Copy link
Collaborator

RVxLab commented Jul 11, 2021

It's actually not my package, I just help maintain it. 👍🏻

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