Skip to content

Commit fae4b20

Browse files
sluFicodesSHENGXING LU
andauthored
Slu/tagging (#144)
* cypress tags * more tags * custom repo test --------- Co-authored-by: SHENGXING LU <slu@SHENGXINGs-MacBook-Air.local>
1 parent 15ae1a3 commit fae4b20

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/system-testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
echo "Parsing PR body for dependencies..."
3030
3131
# Parse PROXY dependency
32-
PROXY_LOCATION=$(echo '${{ github.event.pull_request.body }}' | grep '^PROXY:' | sed 's/PROXY: *//' | xargs)
32+
PROXY_LOCATION=$(echo '${{ github.event.pull_request.body }}' | grep '^PROXY:' | sed 's/PROXY: *//' | tr -d '\r' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//' | xargs)
3333
echo "Proxy location: $PROXY_LOCATION"
3434
3535
# Parse CHARGING dependency
36-
CHARGING_LOCATION=$(echo '${{ github.event.pull_request.body }}' | grep '^CHARGING:' | sed 's/CHARGING: *//' | xargs)
36+
CHARGING_LOCATION=$(echo '${{ github.event.pull_request.body }}' | grep '^CHARGING:' | sed 's/CHARGING: *//' | tr -d '\r' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//' | xargs)
3737
echo "Charging location: $CHARGING_LOCATION"
3838
3939
# Parse TM_VERSION

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ <h3 class="text-base dark:text-gray-200">
275275
{{orderToShow.id}}
276276
</h3>
277277
</div>
278-
<div class="flex flex-row gap-2 pb-2 text-gray-600">
278+
<div data-cy="globalState" class="flex flex-row gap-2 pb-2 text-gray-600">
279279
<p class="w-fit text-base font-bold shrink-0 dark:text-white">
280280
{{ 'PRODUCT_INVENTORY._state' | translate }}
281281
</p>
@@ -359,7 +359,7 @@ <h3 class="text-base dark:text-gray-200">
359359
</th>
360360
</tr>
361361
</thead>
362-
<tbody>
362+
<tbody data-cy="orderItems">
363363
@for (item of orderToShow.productOrderItems; track item.id; let idx = $index) {
364364
<tr class="border-b hover:bg-gray-200 dark:bg-secondary-300 dark:border-gray-700 dark:hover:bg-secondary-200">
365365
<td class="px-6 py-4 text-center align-middle flex justify-center items-center">

src/app/shared/price-plan-drawer/price-plan-drawer.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h5 class="text-wrap break-all text-base font-semibold text-primary-100 dark:tex
119119
<markdown class="text-gray-500 dark:text-gray-400 text-wrap break-all" [data]="tsAndCs.description"></markdown>
120120
</div>
121121
<div class="flex items-center">
122-
<input type="checkbox" id="tsAccepted" class="mr-2" formControlName="tsAccepted">
122+
<input type="checkbox" id="tsAccepted" data-cy="acceptTermsCheckbox" class="mr-2" formControlName="tsAccepted">
123123
<label for="tsAccepted" class="text-sm">I accept the terms and conditions</label>
124124
</div>
125125
</div>

0 commit comments

Comments
 (0)