Skip to content

Commit

Permalink
Add Dusk selector to the component
Browse files Browse the repository at this point in the history
https://laravel.com/docs/5.7/dusk#dusk-selectors
This makes it much easier to run dusk tests on these elements
  • Loading branch information
lucidlogic authored Mar 20, 2020
1 parent 05a03c9 commit 17ad67d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/components/NovaButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:class="buttonClasses"
:style="{'min-width': buttonWidth}"
:title="field.title"
:dusk="field.attribute"
></span>
</span>
</template>
Expand Down

0 comments on commit 17ad67d

Please sign in to comment.