|
3 | 3 | import pytest |
4 | 4 |
|
5 | 5 | from cfme import test_requirements |
| 6 | +from cfme.utils.appliance import ViaREST |
| 7 | +from cfme.utils.appliance import ViaUI |
6 | 8 |
|
7 | 9 |
|
8 | 10 | @pytest.mark.manual |
@@ -413,3 +415,56 @@ def test_report_new_tags(): |
413 | 415 | 1504155 |
414 | 416 | """ |
415 | 417 | pass |
| 418 | + |
| 419 | + |
| 420 | +@pytest.mark.manual |
| 421 | +@test_requirements.report |
| 422 | +@test_requirements.multi_region |
| 423 | +@pytest.mark.tier(2) |
| 424 | +@pytest.mark.parametrize('context', [ViaREST, ViaUI]) |
| 425 | +def test_reports_create_in_global_region(context): |
| 426 | + """ |
| 427 | + This test case tests report creation and rendering from global region |
| 428 | + based on data from remote regions. |
| 429 | +
|
| 430 | + Polarion: |
| 431 | + assignee: izapolsk |
| 432 | + casecomponent: Reporting |
| 433 | + caseimportance: medium |
| 434 | + initialEstimate: 1/2h |
| 435 | + testSteps: |
| 436 | + 1. Set up Multi-Region deployment |
| 437 | + 2. Add provider to remote appliance |
| 438 | + 3. Create and render report in global region |
| 439 | + expectedResults: |
| 440 | + 1. Report should be created and rendered successfully. |
| 441 | +
|
| 442 | + """ |
| 443 | + pass |
| 444 | + |
| 445 | + |
| 446 | +@pytest.mark.manual |
| 447 | +@test_requirements.report |
| 448 | +@test_requirements.multi_region |
| 449 | +@pytest.mark.tier(2) |
| 450 | +@pytest.mark.parametrize('context', [ViaREST, ViaUI]) |
| 451 | +def test_reports_use_remote_in_global_region(context): |
| 452 | + """ |
| 453 | + This test case tests report creation in remote region and rendering it in global region |
| 454 | + based on data from remote regions. |
| 455 | +
|
| 456 | + Polarion: |
| 457 | + assignee: izapolsk |
| 458 | + casecomponent: Reporting |
| 459 | + caseimportance: medium |
| 460 | + initialEstimate: 1/2h |
| 461 | + testSteps: |
| 462 | + 1. Set up Multi-Region deployment |
| 463 | + 2. Add provider to remote appliance |
| 464 | + 3. Create report in remote region |
| 465 | + 4. Render report in global region |
| 466 | + expectedResults: |
| 467 | + 1. Report should be created and rendered successfully. |
| 468 | +
|
| 469 | + """ |
| 470 | + pass |
0 commit comments