File tree Expand file tree Collapse file tree
pages/product-orders/sections/order-info Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ">
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments