Skip to content

Commit b3598fe

Browse files
sluFicodesSHENGXING LU
andauthored
testing deployment (#135)
Co-authored-by: SHENGXING LU <slu@SHENGXINGs-MacBook-Air.local>
1 parent bfc8a09 commit b3598fe

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/app/offerings/featured/featured.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h5 class="text-xl font-semibold line-clamp-2 tracking-tight text-primary-100 da
1616

1717
<div class="flex sticky top-[100vh] items-center justify-center align-items-bottom rounded-lg mt-4">
1818

19-
<button type="button" (click)="searchByCategory(cat)" class="flex items-center align-items-bottom text-white bg-primary-100 hover:bg-primary-50 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-100 dark:hover:bg-primary-50 dark:focus:ring-primary-100 mr-1">
19+
<button data-cy="viewService" type="button" (click)="searchByCategory(cat)" class="flex items-center align-items-bottom text-white bg-primary-100 hover:bg-primary-50 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-100 dark:hover:bg-primary-50 dark:focus:ring-primary-100 mr-1">
2020
<svg class="w-[18px] h-[18px] text-white mr-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 14">
2121
<g stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
2222
<path d="M10 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"/>

src/app/pages/dashboard/dashboard.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h1 class="mb-4 text-left text-4xl font-extrabold tracking-tight md:text-5xl lg:
8080
}
8181

8282
<!--<app-how-it-works></app-how-it-works>-->
83-
<bae-off-featured></bae-off-featured>
83+
<bae-off-featured data-cy="offFeatured"></bae-off-featured>
8484
<!--<bae-off-gallery *ngIf="currentTheme?.dashboard?.showFeaturedOfferings">
8585
</bae-off-gallery>-->
8686
<app-platform-benefits *ngIf="currentTheme?.dashboard?.showPlatformBenefits"></app-platform-benefits>

src/app/pages/product-inventory/inventory-items/inventory-products/inventory-products.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h6 class="mb-3 text-sm font-medium text-gray-900 dark:text-white">
9797
} @else {
9898
<div class="grid grid-cols-1 place-items-center sm:grid-cols-2 lg:grid-cols-3 gap-4">
9999
@for (inv of inventory; track inv.id; let idx = $index) {
100-
<div class="w-full h-full bg-secondary-50 dark:bg-secondary-100 dark:border-secondary-100 rounded-lg border-secondary-50 border ">
100+
<div data-cy="productInventory" class="w-full h-full bg-secondary-50 dark:bg-secondary-100 dark:border-secondary-100 rounded-lg border-secondary-50 border ">
101101

102102
<div (click)="selectProduct(inv)" class="rounded overflow-hidden cursor-pointer">
103103
<div class="relative h-48 flex justify-center items-center">

src/app/pages/product-orders/product-orders.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1 class="mb-8 mt-4 text-4xl font-extrabold leading-none tracking-tight text-gr
3636
<button (click)="goToOrders()" aria-current="true" id="order-button" class="block w-full px-4 py-2 border-b border-gray-200 cursor-pointer hover:bg-gray-100 hover:text-secondary-400 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white">
3737
{{ 'PRODUCT_ORDERS._orders' | translate }}
3838
</button>
39-
<button (click)="goToInvoices()" id="bill-button" class="block w-full px-4 py-2 border-b border-gray-200 cursor-pointer hover:bg-gray-100 hover:text-secondary-400 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white">
39+
<button data-cy="invoices" (click)="goToInvoices()" id="bill-button" class="block w-full px-4 py-2 border-b border-gray-200 cursor-pointer hover:bg-gray-100 hover:text-secondary-400 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white">
4040
{{ 'PRODUCT_ORDERS._invoices' | translate }}
4141
</button>
4242

src/app/pages/product-orders/sections/invoices-info/invoices-info.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</thead>
6060
<tbody>
6161
@for (invoice of invoices; track invoice.id; let idx = $index) {
62-
<tr class="border-b bg-gray-100 hover:bg-gray-200 dark:bg-secondary-300 dark:border-gray-700 dark:hover:bg-secondary-200">
62+
<tr data-cy="invoiceRow" class="border-b bg-gray-100 hover:bg-gray-200 dark:bg-secondary-300 dark:border-gray-700 dark:hover:bg-secondary-200">
6363
<td class="px-6 py-4 text-center align-middle">
6464
{{invoice?.billDate | date:'EEEE, dd/MM/yy, HH:mm'}}
6565
</td>
@@ -136,7 +136,7 @@
136136
<!-- INVOICE DETAILS modal-->
137137
@if (showInvoiceDetails){
138138
<div id="invoice-details-modal" [ngClass]="showInvoiceDetails ? 'backdrop-blur-sm': ''" tabindex="-1" aria-hidden="true" class="flex justify-center overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%)] max-h-full shadow-2xl">
139-
<div class="w-full md:w-3/4 lg:w-1/2 relative bg-secondary-50 dark:bg-secondary-100 border border-secondary-50 dark:border-gray-800 rounded-lg shadow bg-cover bg-right-bottom" (click)="$event.stopPropagation();">
139+
<div data-cy="invoiceDetail" class="w-full md:w-3/4 lg:w-1/2 relative bg-secondary-50 dark:bg-secondary-100 border border-secondary-50 dark:border-gray-800 rounded-lg shadow bg-cover bg-right-bottom" (click)="$event.stopPropagation();">
140140
<!-- Modal header -->
141141
<div class="flex items-center justify-between p-2 rounded-t dark:border-gray-600 shadow-lg">
142142
<h2 class="md:text-3xl lg:text-4xl font-bold text-primary-100 ml-4 dark:text-white m-4">{{ 'INVOICES._applied_billing_rates' | translate }}</h2>

0 commit comments

Comments
 (0)