E2E fixes
gitea/salix/1838-searchbar_refactor This commit looks good Details

This commit is contained in:
Juan Ferrer 2019-11-14 15:24:08 +01:00
parent a47dd521a4
commit 4f5c1404d7
3 changed files with 53 additions and 55 deletions

View File

@ -472,7 +472,7 @@ export default {
zoneAutocomplete: 'vn-autocomplete[ng-model="$ctrl.zoneId"]',
nextStepButton: 'vn-step-control .buttons > section:last-child vn-button',
finalizeButton: 'vn-step-control .buttons > section:last-child button[type=submit]',
stepTwoTotalPriceDif: 'vn-ticket-basic-data-step-two > form > vn-card > vn-horizontal > table > tfoot > tr > td:nth-child(4)',
stepTwoTotalPriceDif: 'vn-ticket-basic-data-step-two vn-tfoot > vn-tr > :nth-child(6)',
chargesReasonAutocomplete: 'vn-autocomplete[ng-model="$ctrl.ticket.option"]',
},
ticketComponents: {

View File

@ -1,5 +1,4 @@
<div class="vn-w-md">
<vn-button-bar>
<vn-button-bar>
<vn-step-control
step-count="10"
steps="[
@ -9,6 +8,5 @@
on-step-change="$ctrl.onStepChange(state)"
on-step-end="$ctrl.onSubmit()">
</vn-step-control>
</vn-button-bar>
<ui-view></ui-view>
</div>
</vn-button-bar>
<ui-view></ui-view>

View File

@ -1,5 +1,4 @@
<form name="form">
<vn-card class="vn-w-lg vn-pa-lg">
<vn-card class="vn-w-lg">
<vn-table>
<vn-thead>
<vn-tr>
@ -29,12 +28,13 @@
</vn-tbody>
<vn-tfoot>
<vn-tr>
<vn-td colspan="3"></vn-td>
<vn-td></vn-td>
<vn-td></vn-td>
<vn-td></vn-td>
<vn-td number><strong>{{$ctrl.totalPrice | currency: 'EUR': 2}}</strong></vn-td>
<vn-td number><strong>{{$ctrl.totalNewPrice | currency: 'EUR': 2}}</strong></vn-td>
<vn-td number><strong>{{$ctrl.totalPriceDifference | currency: 'EUR': 2}}</strong></vn-td>
</vn-tr>
</vn-tfoot>
</vn-table>
</vn-card>
</form>
</vn-card>