Is it possible block one of parallel job if one of them executed?

I have pipeline with condition: test success or not:

  1. If test success it will enable “Deploy” manual job.
  2. If test not success manual job “Deploy” stay disable.

All 3 jobs are manual.

  stage: test
  script: exit 0
  when: manual
  allow_failure: false
  stage: test
  script: exit 1
  when: manual
  stage: deploy
  script: echo "deploy success"
  when: manual

Is it possible to disable one job of “test” stage if second executed?

For example QA pressed to “test_success” button on pipeline and in that moment “test_not_success” becomes blocked.