File tree Expand file tree Collapse file tree
app/shop/orders/[id]/confirmation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,9 +115,8 @@ jobs:
115115 - name : 📢 Send Slack notification
116116 uses : slackapi/slack-github-action@v1
117117 continue-on-error : true
118- env :
119- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
120118 with :
119+ webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
121120 payload : |
122121 {
123122 "text": "❌ E2E Tests Failed",
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ if ($OutputJson) {
9898 Write-Host " Untested Routes: $ ( $results.UntestedRoutes ) " - ForegroundColor Red
9999 Write-Host " Coverage: $ ( $results.CoveragePercent ) %" - ForegroundColor $ (if ($results.CoveragePercent -ge 100 ) { " Green" } else { " Yellow" })
100100
101- if ($results.UntestedRoutes -gt 0 ) {
101+ if ($null -ne $results .UntestedRoutes -and $ results.UntestedRoutes -gt 0 ) {
102102 Write-TestHeader " Routes Missing Tests"
103103 $results.RouteDetails | Where-Object { -not $_.HasTest } | ForEach-Object {
104104 Write-TestWarning " $ ( $_.Route ) ($ ( $_.FilePath ) )"
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export default async function OrderConfirmationPage({ params }: OrderConfirmatio
123123 < Flex direction = "column" gap = "4" >
124124 { order . items . map ( ( item ) => (
125125 < Flex key = { item . id } align = "center" gap = "4" style = { { paddingBottom : '16px' , borderBottom : '1px solid var(--gray-6)' } } >
126- < div className = "w-16 h-16 bg-gray-200 rounded-md flex- shrink-0 relative" >
126+ < div className = "w-16 h-16 bg-gray-200 rounded-md shrink-0 relative" >
127127 { ( item . product ?. images as string [ ] | null ) ?. [ 0 ] ? (
128128 < Image
129129 src = { ( item . product ! . images as string [ ] ) [ 0 ] }
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ export function ConsentBanner({
221221 size = "icon"
222222 onClick = { handleDismiss }
223223 aria-label = "Dismiss newsletter banner"
224- className = "flex- shrink-0 text-primary-foreground hover:bg-primary-foreground/10"
224+ className = "shrink-0 text-primary-foreground hover:bg-primary-foreground/10"
225225 >
226226 < X className = "h-5 w-5" />
227227 </ Button >
You can’t perform that action at this time.
0 commit comments