Status: Pass 5 Failure 1
| Test Group/Test case | Count | Pass | Fail | Error | Skip | View | |
| watcher_dashboard.test.integration.test_playwright_audit_template_scope_format.AuditTemplateScopeFormatTests | 3 | 2 | 1 | 0 | 0 | Detail | |
test_create_audit_template_with_json_scope |
pass
pt1.1: watcher_dashboard.test.integration.test_playwright_audit_template_scope_format.AuditTemplateScopeFormatTests.test_create_audit_template_with_json_scope
|
||||||
test_create_audit_template_with_yaml_scope |
pass
pt1.2: watcher_dashboard.test.integration.test_playwright_audit_template_scope_format.AuditTemplateScopeFormatTests.test_create_audit_template_with_yaml_scope
|
||||||
test_audit_template_scope_invalid_input |
fail
ft1.3: watcher_dashboard.test.integration.test_playwright_audit_template_scope_format.AuditTemplateScopeFormatTests.test_audit_template_scope_invalid_inputtesttools.testresult.real._StringException: Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/watcher-dashboard/watcher_dashboard/test/integration/test_playwright_audit_template_scope_format.py", line 156, in test_audit_template_scope_invalid_input
self.expect(modal_header).to_be_visible()
File "/home/zuul/src/opendev.org/openstack/watcher-dashboard/.tox/integration-playwright/lib/python3.11/site-packages/playwright/sync_api/_generated.py", line 22743, in to_be_visible
self._sync(
File "/home/zuul/src/opendev.org/openstack/watcher-dashboard/.tox/integration-playwright/lib/python3.11/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync
return task.result()
^^^^^^^^^^^^^
File "/home/zuul/src/opendev.org/openstack/watcher-dashboard/.tox/integration-playwright/lib/python3.11/site-packages/playwright/_impl/_assertions.py", line 838, in to_be_visible
await self._expect_impl(
File "/home/zuul/src/opendev.org/openstack/watcher-dashboard/.tox/integration-playwright/lib/python3.11/site-packages/playwright/_impl/_assertions.py", line 123, in _expect_impl
_record_soft_or_raise(
File "/home/zuul/src/opendev.org/openstack/watcher-dashboard/.tox/integration-playwright/lib/python3.11/site-packages/playwright/_impl/_assertions.py", line 60, in _record_soft_or_raise
raise error
AssertionError: Locator expected to be visible
Actual value: - navigation:
- link "OpenStack Dashboard":
- /url: /dashboard/home/
- img "OpenStack Dashboard"
- list:
- listitem
- listitem
- listitem:
- button " demo "
- list:
- listitem
- listitem:
- button " admin "
- link "":
- /url: "#"
- paragraph:
- strong: "Error:"
- text: Failed to create audit template.
- link "Details":
- /url: "#message_details"
- paragraph
- navigation:
- list:
- listitem: Project
- listitem:
- text: Admin
- list:
- link "Overview":
- /url: /dashboard/admin/
- listitem: Compute
- listitem: Volume
- listitem: Network
- listitem: System
- listitem:
- text: Optimization
- link "Goals":
- /url: /dashboard/admin/goals/
- link "Strategies":
- /url: /dashboard/admin/strategies/
- link "Audit Templates":
- /url: /dashboard/admin/audit_templates/
- link "Audits":
- /url: /dashboard/admin/audits/
- link "Action Plans":
- /url: /dashboard/admin/action_plans/
- link "Actions":
- /url: /dashboard/admin/actions/
- listitem: Identity
- list:
- listitem: Admin
- listitem: / Optimization
- listitem: / Audit Templates
- heading "Audit Templates" [level=1]
- table "Goal = Filter Create Template Launch Audits Archive Templates":
- caption:
- button "Goal = "
- textbox
- button "Filter"
- link "Create Template":
- /url: /dashboard/admin/audit_templates/create/
- button "Launch Audits"
- button " Archive Templates"
- rowgroup:
- row "Displaying 1 item":
- cell "Displaying 1 item"
- row " Name Goal Strategy Actions":
- columnheader ""
- columnheader "Name"
- columnheader "Goal"
- columnheader "Strategy"
- columnheader "Actions"
- rowgroup:
- row " test_template_e5e10180 dummy dummy Launch Audit ":
- cell ""
- cell "test_template_e5e10180":
- link "test_template_e5e10180":
- /url: /dashboard/admin/audit_templates/51f27c1b-2ff5-4f06-8252-fb847268ef92/detail
- cell "dummy"
- cell "dummy"
- cell "Launch Audit ":
- button "Launch Audit"
- link "":
- /url: "#"
- rowgroup:
- row "Displaying 1 item":
- cell "Displaying 1 item"
Error: element(s) not found
Call log:
- Expect "to_be_visible" with timeout 5000ms
- waiting for get_by_role("heading", name="Create Audit Template")
- waiting for navigation to finish...
- navigated to "http://localhost/dashboard/admin/audit_templates/"
|
||||||
| watcher_dashboard.test.integration.test_playwright_audit_workflow.AuditWorkflowTests | 3 | 3 | 0 | 0 | 0 | Detail | |
test_audit_template_form_validation |
pass
pt2.1: watcher_dashboard.test.integration.test_playwright_audit_workflow.AuditWorkflowTests.test_audit_template_form_validation
|
||||||
test_create_audit_template |
pass
pt2.2: watcher_dashboard.test.integration.test_playwright_audit_workflow.AuditWorkflowTests.test_create_audit_template
|
||||||
test_launch_audit_and_verify_action_plan |
pass
pt2.3: watcher_dashboard.test.integration.test_playwright_audit_workflow.AuditWorkflowTests.test_launch_audit_and_verify_action_plan
|
||||||
| Total | 6 | 5 | 1 | 0 | 0 | ||