From 1e96cf63701573b47d42952fc2be8ec3952908d4 Mon Sep 17 00:00:00 2001 From: khushboo-rancher Date: Mon, 5 Aug 2024 18:13:30 +0000 Subject: [PATCH] Update testing docs Signed-off-by: khushboo-rancher --- backend/integrations/test_4_vm_backup_restore.html | 14 ++++++++++++++ index.html | 2 +- integration/modules/skel_skel_spec.html | 6 +++--- ...es_VM_settings_cloud_config_templates_spec.html | 2 +- .../testcases_VM_settings_ssh_keys_spec.html | 4 ++-- .../modules/testcases_networks_network_spec.html | 8 ++++---- ...cases_virtualmachines_virtual_machine_spec.html | 4 ++-- 7 files changed, 27 insertions(+), 13 deletions(-) diff --git a/backend/integrations/test_4_vm_backup_restore.html b/backend/integrations/test_4_vm_backup_restore.html index 5243151eb..0714f49ba 100644 --- a/backend/integrations/test_4_vm_backup_restore.html +++ b/backend/integrations/test_4_vm_backup_restore.html @@ -185,6 +185,8 @@

Classes

spec = api_client.backups.RestoreSpec.for_new(restored_vm_name) code, data = api_client.backups.restore(unique_vm_name, spec) assert 201 == code, (code, data) + vm_getable, (code, data) = vm_checker.wait_getable(restored_vm_name) + assert vm_getable, (code, data) # Check VM Started then get IPs (vm and host) vm_got_ips, (code, data) = vm_checker.wait_ip_addresses(restored_vm_name, ['default']) @@ -267,6 +269,8 @@

Classes

spec = api_client.backups.RestoreSpec.for_existing(delete_volumes=True) code, data = api_client.backups.restore(unique_vm_name, spec) assert 201 == code, f'Failed to restore backup with current VM replaced, {data}' + vm_getable, (code, data) = vm_checker.wait_getable(unique_vm_name) + assert vm_getable, (code, data) # Check VM Started then get IPs (vm and host) vm_got_ips, (code, data) = vm_checker.wait_ip_addresses(unique_vm_name, ['default']) @@ -385,6 +389,8 @@

Classes

spec = api_client.backups.RestoreSpec.for_existing(delete_volumes=True) code, data = api_client.backups.restore(unique_vm_name, spec) assert 201 == code, f'Failed to restore backup with current VM replaced, {data}' + vm_getable, (code, data) = vm_checker.wait_getable(unique_vm_name) + assert vm_getable, (code, data) # Check VM Started then get IPs (vm and host) vm_got_ips, (code, data) = vm_checker.wait_ip_addresses(unique_vm_name, ['default']) @@ -552,6 +558,8 @@

Methods

spec = api_client.backups.RestoreSpec.for_existing() code, data = api_client.backups.restore(unique_vm_name, spec) assert 201 == code, f'Failed to restore backup with current VM replaced, {data}' + vm_getable, (code, data) = vm_checker.wait_getable(unique_vm_name) + assert vm_getable, (code, data) # Check VM Started vm_got_ips, (code, data) = vm_checker.wait_ip_addresses(unique_vm_name, ['default']) @@ -755,6 +763,8 @@

Methods

spec = api_client.backups.RestoreSpec.for_existing(delete_volumes=True) code, data = api_client.backups.restore(latest_backup, spec) assert 201 == code, f'Failed to restore backup with current VM replaced, {data}' + vm_getable, (code, data) = vm_checker.wait_getable(unique_vm_name) + assert vm_getable, (code, data) # Check VM Started then get IPs (vm and host) vm_got_ips, (code, data) = vm_checker.wait_ip_addresses(unique_vm_name, ['default']) @@ -849,6 +859,8 @@

Methods

spec = api_client.backups.RestoreSpec.for_existing(delete_volumes=True) code, data = api_client.backups.restore(latest_backup, spec) assert 201 == code, f'Failed to restore backup with current VM replaced, {data}' + vm_getable, (code, data) = vm_checker.wait_getable(unique_vm_name) + assert vm_getable, (code, data) # Check VM Started then get IPs (vm and host) vm_got_ips, (code, data) = vm_checker.wait_ip_addresses(unique_vm_name, ['default']) @@ -943,6 +955,8 @@

Methods

spec = api_client.backups.RestoreSpec.for_existing(delete_volumes=True) code, data = api_client.backups.restore(latest_backup, spec) assert 201 == code, f'Failed to restore backup with current VM replaced, {data}' + vm_getable, (code, data) = vm_checker.wait_getable(unique_vm_name) + assert vm_getable, (code, data) # Check VM Started then get IPs (vm and host) vm_got_ips, (code, data) = vm_checker.wait_ip_addresses(unique_vm_name, ['default']) diff --git a/index.html b/index.html index d455b8c52..993b0f045 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - + Harvester manual test cases diff --git a/integration/modules/skel_skel_spec.html b/integration/modules/skel_skel_spec.html index e9721ffbb..c2fa444be 100644 --- a/integration/modules/skel_skel_spec.html +++ b/integration/modules/skel_skel_spec.html @@ -1,11 +1,11 @@ -<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>skel/skel.spec | Cypress Integration Tests for Harvester
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • changePassword(): void