From 41488a11d73238fe768ff27e72055c664b7f0041 Mon Sep 17 00:00:00 2001 From: habib-binary Date: Wed, 27 Sep 2023 15:29:23 +0600 Subject: [PATCH] chore: add e2e smoke test --- .github/workflows/generate-preview-link.yml | 14 ++++++++++++++ crowdin/messages.json | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-preview-link.yml b/.github/workflows/generate-preview-link.yml index e8a1c1434e4..51138a374f1 100644 --- a/.github/workflows/generate-preview-link.yml +++ b/.github/workflows/generate-preview-link.yml @@ -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}}" + } + }' + diff --git a/crowdin/messages.json b/crowdin/messages.json index f846340f1d7..2bc32dca982 100644 --- a/crowdin/messages.json +++ b/crowdin/messages.json @@ -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.", @@ -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", @@ -4565,4 +4565,4 @@ "-1165835520": "employees", "-651384976": "nationalities", "-1033881248": "See our open positions" -} +} \ No newline at end of file