Skip to content

Commit

Permalink
chore: add e2e smoke test (binary-com#5703)
Browse files Browse the repository at this point in the history
  • Loading branch information
habib-deriv authored and meenu-deriv committed Oct 4, 2023
1 parent 0c2367e commit e4e1d5b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/generate-preview-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,17 @@ jobs:
number: ${{steps.pr_information.outputs.issue_number}}
message: ${{steps.generate_preview_url.outputs.comment || steps.generate_failure_comment.outputs.comment }}
recreate: true

- name: E2E Smoke Test
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.e2e-deriv-com }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
"https://api.github.com/repos/deriv-com/e2e-deriv-com/dispatches" \
-d '{
"event_type": "run-e2e-tests",
"client_payload": {
"baseurl": "${{steps.publish-to-pages.outputs.preview_url}}"
}
}'
4 changes: 2 additions & 2 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@
"274438767": "The order amount is locked in escrow until both parties confirm that the transaction has been completed from their end.",
"275116637": "Deriv X",
"275316510": "Impersonators ask you to send confidential information over an unsecure platform, for example via SMS, WhatsApp, email, etc.",
"276089446": "All spreads are indicative. To view real-time spreads, please refer to your terminal.",
"276341434": "As part of our rebranding exercise, your affiliate login URL will change.",
"276482397": "No, you can't.",
"278499050": "Use your local currency to make deposits into and withdrawals from your Deriv account.",
Expand Down Expand Up @@ -3128,7 +3129,6 @@
"-1638607416": "Download now >",
"-1981735781": "One broker, countless trading opportunities",
"-1722031734": "Check trading specs",
"-61718257": "Speculate on the price movements of popular exchange-traded funds (ETFs). Diversify your portfolio with assets that track bonds, commodities, and indices, without the high cost of owning the underlying assets.",
"-777850431": "View all >",
"-1384760133": "Bid price",
"-1882694284": "Ask price",
Expand Down Expand Up @@ -4565,4 +4565,4 @@
"-1165835520": "employees",
"-651384976": "nationalities",
"-1033881248": "See our open positions"
}
}

0 comments on commit e4e1d5b

Please sign in to comment.