[go: nahoru, domu]

Skip to content

Commit

Permalink
ui: update tests
Browse files Browse the repository at this point in the history
This commit update tests, because vuetify was updated in this commit 0e121fc.

Signed-off-by: Leonardo R.S. Joao <leonardo.joao@ossystems.com.br>
  • Loading branch information
leonardojoao authored and gustavosbarreto committed Jan 31, 2022
1 parent 2234a56 commit 36bb619
Show file tree
Hide file tree
Showing 33 changed files with 146 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`BillingCancel Button operator Renders the component 1`] = `
<div><button type="button" disabled="disabled" class="v-btn v-btn--disabled v-btn--outlined theme--light v-size--default" data-test="cancel-btn"><span class="v-btn__content">
Cancel
</span></button></div><span class="v-tooltip v-tooltip--bottom"><!----></span>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -16,7 +16,7 @@ exports[`BillingCancel Button owner Renders the component 1`] = `
<div><button type="button" class="v-btn v-btn--outlined theme--light v-size--default red--text text--darken-1" data-test="cancel-btn"><span class="v-btn__content">
Cancel
</span></button></div><span class="v-tooltip v-tooltip--bottom"><!----></span>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -27,7 +27,7 @@ exports[`BillingCancel Dialog operator Renders the component 1`] = `
<div><button type="button" disabled="disabled" class="v-btn v-btn--disabled v-btn--outlined theme--light v-size--default" data-test="cancel-btn"><span class="v-btn__content">
Cancel
</span></button></div><span class="v-tooltip v-tooltip--bottom"><!----></span>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;

Expand All @@ -36,6 +36,6 @@ exports[`BillingCancel Dialog owner Renders the component 1`] = `
<div><button type="button" class="v-btn v-btn--outlined theme--light v-size--default red--text text--darken-1" data-test="cancel-btn"><span class="v-btn__content">
Cancel
</span></button></div><span class="v-tooltip v-tooltip--bottom"><!----></span>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`BillingDialogPaymentMethod Button Renders the component 1`] = `
<fragment-stub><button type="button" class="primary v-btn v-btn--is-elevated v-btn--has-bg theme--light v-size--default" data-test="show-btn"><span class="v-btn__content">
subscribe
</span></button>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -14,14 +14,14 @@ exports[`BillingDialogPaymentMethod Dialog Subscription Renders the component 1`
<fragment-stub><button type="button" class="primary v-btn v-btn--is-elevated v-btn--has-bg theme--light v-size--default" data-test="show-btn"><span class="v-btn__content">
subscribe
</span></button>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;

exports[`BillingDialogPaymentMethod Dialog Update Renders the component 1`] = `
<fragment-stub><button type="button" class="primary v-btn v-btn--is-elevated v-btn--has-bg theme--light v-size--default" data-test="show-btn"><span class="v-btn__content">
add card
</span></button>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`BillingInvoiceList Renders the component 1`] = `
<fragment-stub invoices="[object Object],[object Object]">
<div class="5">
<v-data-table-stub mobilebreakpoint="600" items="[object Object],[object Object]" options="[object Object]" sortby="" sortdesc="" customsort="[Function]" page="1" itemsperpage="10" groupby="" groupdesc="" customgroup="[Function]" locale="en-US" customfilter="[Function]" serveritemslength="-1" itemkey="id" value="" expanded="" noresultstext="$vuetify.dataIterator.noResultsText" nodatatext="$vuetify.noDataText" loadingtext="$vuetify.dataIterator.loadingText" footerprops="[object Object]" selectablekey="isSelectable" loaderheight="4" headers="[object Object],[object Object],[object Object],[object Object],[object Object]" expandicon="$expand" itemclass="" data-test="dataTable-field" class="elevation-0"></v-data-table-stub>
<v-data-table-stub mobilebreakpoint="600" items="[object Object],[object Object]" options="[object Object]" customsort="[Function]" page="1" itemsperpage="10" groupby="" groupdesc="" customgroup="[Function]" locale="en-US" customfilter="[Function]" serveritemslength="-1" itemkey="id" value="" expanded="" noresultstext="$vuetify.dataIterator.noResultsText" nodatatext="$vuetify.noDataText" loadingtext="$vuetify.dataIterator.loadingText" footerprops="[object Object]" selectablekey="isSelectable" loaderheight="4" headers="[object Object],[object Object],[object Object],[object Object],[object Object]" expandicon="$expand" itemclass="" data-test="dataTable-field" class="elevation-0"></v-data-table-stub>
</div>
</fragment-stub>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`BillingPaymentList Renders the component 1`] = `
<fragment-stub>
<div class="mt-5">
<v-data-table-stub mobilebreakpoint="600" items="[object Object],[object Object],[object Object]" options="[object Object]" sortby="" sortdesc="" customsort="[Function]" page="1" itemsperpage="10" groupby="" groupdesc="" customgroup="[Function]" locale="en-US" customfilter="[Function]" serveritemslength="-1" itemkey="id" value="" expanded="" noresultstext="$vuetify.dataIterator.noResultsText" nodatatext="$vuetify.noDataText" loadingtext="$vuetify.dataIterator.loadingText" hidedefaultfooter="true" selectablekey="isSelectable" loaderheight="4" headers="[object Object],[object Object],[object Object],[object Object]" expandicon="$expand" itemclass="" data-test="dataTable-field" class="elevation-0"></v-data-table-stub>
<v-data-table-stub mobilebreakpoint="600" items="[object Object],[object Object],[object Object]" options="[object Object]" customsort="[Function]" page="1" itemsperpage="10" groupby="" groupdesc="" customgroup="[Function]" locale="en-US" customfilter="[Function]" serveritemslength="-1" itemkey="id" value="" expanded="" noresultstext="$vuetify.dataIterator.noResultsText" nodatatext="$vuetify.noDataText" loadingtext="$vuetify.dataIterator.loadingText" hidedefaultfooter="true" selectablekey="isSelectable" loaderheight="4" headers="[object Object],[object Object],[object Object],[object Object]" expandicon="$expand" itemclass="" data-test="dataTable-field" class="elevation-0"></v-data-table-stub>
</div>
</fragment-stub>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

exports[`BillingWarning 3 devices, no subscription Renders the component 1`] = `
<fragment-stub>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;

exports[`BillingWarning 3 devices, with subscription Renders the component 1`] = `
<fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
`;

exports[`BillingWarning Less than 3 devices, no subscription Renders the component 1`] = `
<fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand Down
2 changes: 1 addition & 1 deletion ui/tests/unit/components/device/DeviceList.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('DeviceList', () => {
mustSort: false,
page: 1,
sortBy: [],
sortDesc: [],
sortDesc: [false],
};

const headers = [
Expand Down
2 changes: 1 addition & 1 deletion ui/tests/unit/components/device/DeviceListChoose.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('DeviceListChoose', () => {
mustSort: false,
page: 1,
sortBy: [],
sortDesc: [],
sortDesc: [false],
};

const headers = [
Expand Down
2 changes: 1 addition & 1 deletion ui/tests/unit/components/device/DevicePendingList.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('DevicePendingList', () => {
mustSort: false,
page: 1,
sortBy: [],
sortDesc: [],
sortDesc: [false],
};

const headers = [
Expand Down
2 changes: 1 addition & 1 deletion ui/tests/unit/components/device/DeviceRejectedList.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('DeviceRejectedList', () => {
mustSort: false,
page: 1,
sortBy: [],
sortDesc: [],
sortDesc: [false],
};

const headers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`DeviceActionButton Create button in the list observer Renders the compo
<fragment-stub><span><div data-test="action-item" class="v-list-item__title">
Accept
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="action-icon" class="v-icon notranslate v-icon--disabled v-icon--left mdi mdi-check theme--light"></i></span> </fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -16,7 +16,7 @@ exports[`DeviceActionButton Create button in the list owner Renders the componen
<fragment-stub><span><div data-test="action-item" class="v-list-item__title">
Accept
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="action-icon" class="v-icon notranslate v-icon--left mdi mdi-check theme--light"></i></span> </fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -27,7 +27,7 @@ exports[`DeviceActionButton Create button in the notification observer Renders t
<fragment-stub><button type="button" class="v-btn v-btn--is-elevated v-btn--has-bg theme--light v-size--x-small primary" data-test="notification-btn"><span class="v-btn__content">
Accept
</span></button></fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -38,7 +38,7 @@ exports[`DeviceActionButton Create button in the notification owner Renders the
<fragment-stub><button type="button" class="v-btn v-btn--is-elevated v-btn--has-bg theme--light v-size--x-small primary" data-test="notification-btn"><span class="v-btn__content">
Accept
</span></button></fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -49,7 +49,7 @@ exports[`DeviceActionButton Dialog observer Renders the component 1`] = `
<fragment-stub><span><div data-test="action-item" class="v-list-item__title">
Accept
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="action-icon" class="v-icon notranslate v-icon--disabled v-icon--left mdi mdi-check theme--light"></i></span> </fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -60,7 +60,7 @@ exports[`DeviceActionButton Dialog owner Renders the component 1`] = `
<fragment-stub><span><div data-test="action-item" class="v-list-item__title">
Accept
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="action-icon" class="v-icon notranslate v-icon--left mdi mdi-check theme--light"></i></span> </fragment-stub>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;

Expand All @@ -69,7 +69,7 @@ exports[`DeviceActionButton Reject button in the list observer Renders the compo
<fragment-stub><span><div data-test="action-item" class="v-list-item__title">
Reject
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="action-icon" class="v-icon notranslate v-icon--disabled v-icon--left material-icons theme--light">close</i></span> </fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -80,7 +80,7 @@ exports[`DeviceActionButton Reject button in the list owner Renders the componen
<fragment-stub><span><div data-test="action-item" class="v-list-item__title">
Reject
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="action-icon" class="v-icon notranslate v-icon--left material-icons theme--light">close</i></span> </fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -91,7 +91,7 @@ exports[`DeviceActionButton Remove button in the list observer Renders the compo
<fragment-stub><span><div data-test="action-item" class="v-list-item__title">
Remove
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="action-icon" class="v-icon notranslate v-icon--disabled v-icon--left material-icons theme--light">delete</i></span> </fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -102,7 +102,7 @@ exports[`DeviceActionButton Remove button in the list owner Renders the componen
<fragment-stub><span><div data-test="action-item" class="v-list-item__title">
Remove
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="action-icon" class="v-icon notranslate v-icon--left material-icons theme--light">delete</i></span> </fragment-stub>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`DeviceAdd Button observer Renders the component 1`] = `
<div><button type="button" disabled="disabled" class="mr-2 v-btn v-btn--disabled v-btn--has-bg theme--light v-size--default" data-test="add-btn"><span class="v-btn__content">
Add Device
</span></button></div><span class="v-tooltip v-tooltip--bottom"><!----></span>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -16,7 +16,7 @@ exports[`DeviceAdd Button owner Renders the component 1`] = `
<div><button type="button" class="mr-2 v-btn v-btn--is-elevated v-btn--has-bg theme--light v-size--default primary" data-test="add-btn"><span class="v-btn__content">
Add Device
</span></button></div><span class="v-tooltip v-tooltip--bottom"><!----></span>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -27,7 +27,7 @@ exports[`DeviceAdd Dialog observer Renders the component 1`] = `
<div><button type="button" disabled="disabled" class="mr-2 v-btn v-btn--disabled v-btn--has-bg theme--light v-size--small" data-test="add-btn"><span class="v-btn__content">
Add Device
</span></button></div><span class="v-tooltip v-tooltip--bottom"><!----></span>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;

Expand All @@ -36,6 +36,6 @@ exports[`DeviceAdd Dialog owner Renders the component 1`] = `
<div><button type="button" class="mr-2 v-btn v-btn--is-elevated v-btn--has-bg theme--light v-size--small primary" data-test="add-btn"><span class="v-btn__content">
Add Device
</span></button></div><span class="v-tooltip v-tooltip--bottom"><!----></span>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`DeviceChooser Dialog is closes administrator Renders the component 1`] = `""`;

exports[`DeviceChooser Dialog is closes owner Renders the component 1`] = `
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`DeviceDelete Dialog with redirect operator Renders the component 1`] =
<fragment-stub><span><div data-test="close-item" class="v-list-item__title">
Remove
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="remove-icon" class="v-icon notranslate v-icon--disabled v-icon--left material-icons theme--light">delete</i></span>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -14,15 +14,15 @@ exports[`DeviceDelete Dialog with redirect owner Renders the component 1`] = `
<fragment-stub><span><div data-test="close-item" class="v-list-item__title">
Remove
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="remove-icon" class="v-icon notranslate v-icon--left material-icons theme--light">delete</i></span>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;

exports[`DeviceDelete Dialog without redirect operator Renders the component 1`] = `
<fragment-stub><span><div data-test="close-item" class="v-list-item__title">
Remove
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="remove-icon" class="v-icon notranslate v-icon--disabled v-icon--left material-icons theme--light">delete</i></span>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -32,15 +32,15 @@ exports[`DeviceDelete Dialog without redirect owner Renders the component 1`] =
<fragment-stub><span><div data-test="close-item" class="v-list-item__title">
Remove
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="remove-icon" class="v-icon notranslate v-icon--left material-icons theme--light">delete</i></span>
<div role="dialog" class="v-dialog__container"></div>
<div class="v-dialog__container"></div>
</fragment-stub>
`;

exports[`DeviceDelete Icon operator Renders the component 1`] = `
<fragment-stub><span><div data-test="close-item" class="v-list-item__title">
Remove
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="remove-icon" class="v-icon notranslate v-icon--disabled v-icon--left material-icons theme--light">delete</i></span>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand All @@ -50,7 +50,7 @@ exports[`DeviceDelete Icon owner Renders the component 1`] = `
<fragment-stub><span><div data-test="close-item" class="v-list-item__title">
Remove
</div></span><span class="v-tooltip v-tooltip--bottom"><!----></span><span><i aria-hidden="true" data-test="remove-icon" class="v-icon notranslate v-icon--left material-icons theme--light">delete</i></span>
<div role="dialog" class="v-dialog__container">
<div class="v-dialog__container">
<!---->
</div>
</fragment-stub>
Expand Down
Loading

0 comments on commit 36bb619

Please sign in to comment.