Skip to content

Commit

Permalink
Adding polarion TC IDs for graphing. (#182)
Browse files Browse the repository at this point in the history
* Adding polarion TC IDs for graphing.

Co-authored-by: Marihan Girgis <[email protected]>
Co-authored-by: Emma Foley <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent a2e0b3f commit e50f597
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 7 additions & 3 deletions roles/telemetry_graphing/tasks/cypress_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
chdir: "{{ cypress_tests_dir }}"
changed_when: false

- name: "UI-2 Run Cypress tests to validate dashboards exist"
- name: |
TEST Run Cypress tests
RHOSO-13627
ansible.builtin.shell: |
Xvfb :99 -ac &
export DISPLAY=:99
Expand All @@ -80,7 +82,9 @@
ansible.builtin.debug:
var: cypress_run.stdout_lines

- name: "UI-3 Check if all Cypress tests passed"
- name: |
TEST Check if all tests passed
RHOSO-13628
ansible.builtin.fail:
msg: "Some Cypress tests failed."
when: cypress_run.rc != 0
when: cypress_run.rc != 0
4 changes: 3 additions & 1 deletion roles/telemetry_graphing/tasks/verify_url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
ansible.builtin.set_fact:
openshift_console_url: "https://{{ console_url.stdout }}"

- name: "UI-1 Check OpenShift Console URL is accessible"
- name: |
TEST Check OpenShift Console is accessible
RHOSO-13626
ansible.builtin.shell:
cmd: |
curl -o /dev/null -s -w "%{http_code}" -k {{ openshift_console_url }}
Expand Down

0 comments on commit e50f597

Please sign in to comment.