From 31fff8239c85946496f453865397a8a0e988570b Mon Sep 17 00:00:00 2001 From: Zdenek Veleba Date: Thu, 30 Nov 2023 11:08:15 +0100 Subject: [PATCH] Update anaconda_webui plugin documentation --- doc/workflows/anaconda-webui.rst | 46 +++++++++++++++----------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/doc/workflows/anaconda-webui.rst b/doc/workflows/anaconda-webui.rst index 46d0600..c5dcc84 100644 --- a/doc/workflows/anaconda-webui.rst +++ b/doc/workflows/anaconda-webui.rst @@ -50,12 +50,12 @@ Examples can be found in `default settings file `. - 3. Change test class name in the test script to `MyNewTest` + 2. Create your test script in `anaconda-webui/test/my_new_test.py` 5. Run the new test case:: - PYTHONPATH=../tplib ./pipeline run_awebui_tc ../anaconda 'My new test' + PYTHONPATH=../tplib ./pipeline run_awebui_tc ../anaconda-webui 'My new test' .. note:: - This command makes sure your local anaconda repository is used as the source of the - test script. Usually Permian clones its own copy of the anaconda repository. + This command makes sure your local anaconda-webui repository is used as the source of the + test script. Usually Permian clones its own copy of the anaconda-webui repository. -Run test plan from Anaconda repo -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Run test plan from Anaconda-webui repo +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1. Follow the guide on page :ref:`Quick start` and get Permian running without an container. 2. By default your system will be used as :ref:`hypervisor`, so make sure libvirtd is running. -3. Clone Anaconda repository, we are going to use the testplan library from it:: +3. Clone Anaconda-webui repository, we are going to use the testplan library from it:: - git clone https://github.com/rhinstaller/anaconda.git + git clone https://github.com/rhinstaller/anaconda-webui.git .. note:: In this case the test scripts are going to be sourced separetly by the workflow. @@ -216,7 +214,7 @@ Run test plan from Anaconda repo is InstallationSource event structure.:: PYTHONPATH=../tplib ./pipeline run_event \ - -o "library.directPath=../anaconda/ui/webui/test/end2end/" \ + -o "library.directPath=../anaconda-webui/test/test_cases/" \ '{"type": "github.scheduled.preview", "InstallationSource": { "base_repo_id": "bootiso",