Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions .github/workflows/system-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,13 @@ jobs:

# Trigger E2E tests in E2E-DOME-BAE repository
echo "Triggering E2E tests..."
curl -X POST \
HTTP_STATUS=$(curl -X POST \
-H "Authorization: token ${{ secrets.ADMIN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
-w "%{http_code}" \
-o /dev/null \
-s \
-d "{
\"event_type\": \"cross-repo-test\",
\"client_payload\": {
Expand All @@ -107,6 +110,18 @@ jobs:
\"pull_request_url\": \"${{ github.event.pull_request.html_url }}\"
}
}" \
https://api.github.com/repos/sluFicodes/E2E-DOME-BAE/dispatches
https://api.github.com/repos/sluFicodes/E2E-DOME-BAE/dispatches)

echo "E2E tests triggered successfully!"
echo "HTTP Status: $HTTP_STATUS"

if [ "$HTTP_STATUS" -eq 204 ] || [ "$HTTP_STATUS" -eq 200 ]; then
echo "E2E tests triggered successfully!"
else
echo "Failed to trigger E2E tests. HTTP Status: $HTTP_STATUS"
if [ "$HTTP_STATUS" -eq 401 ]; then
echo "Error: Unauthorized. Check if the ADMIN token has the correct permissions."
elif [ "$HTTP_STATUS" -eq 404 ]; then
echo "Error: Repository not found or token doesn't have access."
fi
exit 1
fi
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ <h3 class="text-base dark:text-gray-200">
<path d="M200.3 81.5C210.9 61.5 231.9 48 256 48s45.1 13.5 55.7 33.5L321 99.1l19-5.8c21.6-6.6 46.1-1.4 63.1 15.7s22.3 41.5 15.7 63.1l-5.8 19 17.5 9.3c20 10.6 33.5 31.6 33.5 55.7s-13.5 45.1-33.5 55.7L412.9 321l5.8 19c6.6 21.6 1.4 46.1-15.7 63.1s-41.5 22.3-63.1 15.7l-19-5.8-9.3 17.5c-10.6 20-31.6 33.5-55.7 33.5s-45.1-13.5-55.7-33.5L191 412.9l-19 5.8c-21.6 6.6-46.1 1.4-63.1-15.7S86.6 361.6 93.2 340l5.8-19-17.5-9.3C61.5 301.1 48 280.1 48 256s13.5-45.1 33.5-55.7L99.1 191l-5.8-19c-6.6-21.6-1.4-46.1 15.7-63.1S150.4 86.6 172 93.2l19 5.8 9.3-17.5zM256 0c-35.9 0-67.8 17-88.1 43.4c-33-4.3-67.6 6.2-93 31.6s-35.9 60-31.6 93C17 188.2 0 220.1 0 256s17 67.8 43.4 88.1c-4.3 33 6.2 67.6 31.6 93s60 35.9 93 31.6C188.2 495 220.1 512 256 512s67.8-17 88.1-43.4c33 4.3 67.6-6.2 93-31.6s35.9-60 31.6-93C495 323.8 512 291.9 512 256s-17-67.8-43.4-88.1c4.3-33-6.2-67.6-31.6-93s-60-35.9-93-31.6C323.8 17 291.9 0 256 0zM369 209l17-17L352 158.1l-17 17-111 111-47-47-17-17L126.1 256l17 17 64 64 17 17 17-17L369 209z"/>
</svg>
</button>
<button type="button" title="Order Completely Failed"
<button data-cy="failOrder" type="button" title="Order Completely Failed"
class="text-red-950 bg-red-500 hover:bg-red-600 focus:ring-4 focus:outline-none focus:ring-red-300 font-medium rounded-full text-sm p-2.5 text-center inline-flex items-center me-2"
(click)="openModal('failed', item)">
<svg class="w-[18px] h-[18px] text-white stroke-white fill-white stroke-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
Expand Down
Loading