---
suite:
  name: Webapp
  system: docker-compose.yml
  task_service: tests

tests:
- name: webapp_fails
  before_startup: [hello_world]
  spec:
  - wait: [webapp_is_available]
  - assert: [webapp_is_available]
  - stop: [webapp]
  - fail: [webapp_is_available]

- name: webapp_fails_again
  before_startup: [hello_world]
  spec:
  - wait: [webapp_is_available]
  - assert: [webapp_is_available]
  - stop: [webapp]
  - fail: [webapp_is_available]

tasks:
- name: webapp_is_available
  command: /tasks/webapp_is_available.sh
- name: hello_world
  command: echo hello world

---
suite:
  name: Webapp
  system: docker-compose.yml
  task_service: tests

tests:
- name: webapp_fails
  before_startup: [hello_world]
  spec:
  - wait: [webapp_is_available]
  - assert: [webapp_is_available]
  - stop: [webapp]
  - fail: [webapp_is_available]

tasks:
- name: webapp_is_available
  command: /tasks/webapp_is_available.sh
- name: hello_world
  command: echo hello world

Remove duplicate test in webapp example
Remove duplicate test in webapp example
