From 9d61202dbb29a1543476219e98b6729c81cd54c4 Mon Sep 17 00:00:00 2001 From: Thiago Nogueira dos Santos Date: Mon, 12 Feb 2024 14:28:28 -0300 Subject: [PATCH] Workflow Dispatch --- .github/workflows/continuous-testing.yml | 8 +++++--- tests/trade.robot | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-testing.yml b/.github/workflows/continuous-testing.yml index 0efc195..de96062 100644 --- a/.github/workflows/continuous-testing.yml +++ b/.github/workflows/continuous-testing.yml @@ -6,6 +6,8 @@ on: pull_request: branches: [ main ] + workflow_dispatch: + jobs: e2e-tests: runs-on: ubuntu-22.04 @@ -26,7 +28,7 @@ jobs: - name: E2E Tests ✅ run: | - robot -d ./logs tests/ + robot -d ./logs tests/trade.robot - name: Upload Reports 📖 uses: actions/upload-artifact@v3 @@ -46,7 +48,7 @@ jobs: SLACK_COLOR: ${{ job.status }} SLACK_ICON: https://cdn-icons-png.flaticon.com/512/1642/1642322.png SLACK_TITLE: 'All tests passed successfully' - SLACK_MESSAGE: ':robot: Tests after Pull Request passed :robot:' + SLACK_MESSAGE: ':robot: Tests passed :robot:' SLACK_USERNAME: SUCCESS - name: Slack Notification - Failure @@ -58,5 +60,5 @@ jobs: SLACK_COLOR: ${{ job.status }} SLACK_ICON: https://www.novaconcursos.com.br/portal/wp-content/uploads/2013/12/erro-que-concurseiro-comente-300x3001.png SLACK_TITLE: 'Some tests failed' - SLACK_MESSAGE: ':fire: Tests after Pull Request failed :fire:' + SLACK_MESSAGE: ':fire: Tests failed :fire:' SLACK_USERNAME: FAILURE \ No newline at end of file diff --git a/tests/trade.robot b/tests/trade.robot index 624a813..c17858e 100644 --- a/tests/trade.robot +++ b/tests/trade.robot @@ -4,7 +4,7 @@ Documentation Trade Tests Resource ../resources/base.resource Test Setup Start Test -Test Teardown Finish Test +# Test Teardown Finish Test *** Test Cases *** Deve negociar a figurinha Neymar Legend