浏览代码

Migrating Project Manager workflows to sig repo (#82)

* Migrating Project Manager workflows to sig repo

Signed-off-by: robhaco <[email protected]>

* Updates to gem workflow based on feedback

Signed-off-by: robhaco <[email protected]>

* Updated wording on remote projects workflow

Signed-off-by: robhaco <[email protected]>

Signed-off-by: robhaco <[email protected]>
robhaco 2 年之前
父节点
当前提交
b20428a83b

+ 20 - 0
testing-guidance/workflow-tests/create-a-gem/create-a-gem-workflow-tests.md

@@ -0,0 +1,20 @@
+# Create A Gem
+
+These workflows center around testing the basic functionality of the Project Manager gem creation tools.
+
+## Common Issues
+
+*   Dialogs do not open or progress as expected
+*   Created gems do not immediately refresh in gem catalog list
+
+## Workflows
+
+| Workflow                               | Steps                                                                                                                                                                                                          | Expectations                                                                                                                                                                                                                                                                               |
+|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Launch Create a Gem experience         | 1.  Enter the Gem Catalog<br>2.  Select the hamburger menu in the top right corner<br>3.  Select "Create a New Gem"                                                                                            | Dialog changes to Create a New Gem step 1 "Gem Setup"                                                                                                                                                                                                                                      |
+| Step 1 - Gem Setup Options             | 1.  Launch the Create a Gem experience<br>2.  Observe the options in Step 1                                                                                                                                    | Dialog displays options for:<br><br>*   Prebuilt Gem<br>*   GemRepo<br>*   Asset Gem<br>*   Default Gem<br>*   C++ Tool Gem<br>*   Python Tool Gem<br>*   Choose existing template                                                                                                         |
+| Step 2 - Gem Details                   | 1.  Launch the Create a Gem experience<br>2.  Select a gem type/template<br>3.  Left click Next                                                                                                                | All fields can be edited<br>    *   Gem System Name<br>   *   Gem Display Name<br>    *   Gem Summary<br>    *   Requirements<br>    *   License<br>    *   License URL<br>    *   User-defined Gem Tags<br>    *   Gem Location<br>    *   Gem Icon Path<br>    *   Documentation URL<br> |
+| Step 2 - Required Fields not satisfied | 1.  Launch the Create a Gem experience<br>2.  Select a gem type/template<br>3.  Left click Next<br>4.  On step 2 page, click next without entering information into some of the required fields (marked by \*) | *   User is unable to progress without required fields and a visual indicator suggests what is missing<br>   Required Fields:<br>    *   Gem Display Name<br>    *   Gem System Name<br>    *   License<br>   *   Gem Location<br>                                                         |
+| Step 3 - Creator Details               | 1.  Launch the Create a Gem experience<br>2.  Select a Gem Type/Template<br>3.  Left Click Next<br>4.  Enter Details for Gem<br>5.  Left Click Next                                                            | *   User is unable to progress without required fields and a visual indicator suggests what is missing<br>   Required Fields:<br>    *   Creator Name<br>                                                                                                                                  |
+| Gem name matches existing gem          | 1.  Create two gems with the same name, but different values for description, etc.                                                                                                                             | *   No issues in using both gems together                                                                                                                                                                                                                                                  |
+| Created Gem displays in Gem Catalog    | 1.  All steps completed (1-3) for creating a new gem<br>2.  Go to Gem Catalog if not already there after creating                                                                                              | *   Gem can be found in the gem catalog and enabled/disabled                                                                                                                                                                                                                               |

+ 30 - 0
testing-guidance/workflow-tests/remote-projects/remote-projects-workflow-tests.md

@@ -0,0 +1,30 @@
+# Remote Projects
+
+These workflows center around testing the basic functionality of the Project Manager remote project acquisition tools.
+
+## Prerequisites
+
+*   Locally installed tools for the remote source being used (git installed with credentials for GitHub, for example)
+
+## Common Issues
+
+*   Project does not download successfully
+*   Project doesn't build automatically, if that option is selected
+
+## Workflows
+
+| Workflow                                                               | Steps                                                                                                                                                                                                                                                                                            | Expectations                                                                                                                                                                                          |
+|------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Add remote project from fresh Project Manager (no projects registered) | 1.  Make sure no projects are registered (if there are already projects registered, they can be removed from the o3de\_manifest.json)<br>2.  Launch Project Manager (o3de.exe)<br>3.  Select "Add a remote project"                                                                              | Dialog opens with entry point for repo url and related options                                                                                                                                        |
+| Add remote project as new project (other projects already registered)  | 1.  From the Project Manager projects list, select New Project... > Add a remote project                                                                                                                                                                                                         | Dialog opens with entry point for repo url and related options                                                                                                                                        |
+| Valid URL                                                              | 1.  Add a valid url to the Repository Path field                                                                                                                                                                                                                                                 | Relevant information related to the repo populates in the dialog<br><br>*   requirements<br>*   license<br>*   download size                                                                          |
+| Invalid URL                                                            | 1.  Add an invalid url to the Repository Path field                                                                                                                                                                                                                                              | A warning/clarification states that the url does not contain valid O3DE objects                                                                                                                       |
+| Project/Repo requirements                                              | 1.  Valid url added to the Repository Path field                                                                                                                                                                                                                                                 | Project requirements populate in the dialog with information relevant to the entered url's project(s)                                                                                                 |
+| Project/Repo License information                                       | 1.  Valid url added to the Repository Path field                                                                                                                                                                                                                                                 | License information populates in the dialog with a link for further information                                                                                                                       |
+| Change download location                                               | 1.  Valid url added to the Repository Path field<br>2.  Choose the folder icon in the Install Location field<br>3.  Navigate to a new location on disk<br>4.  Check the acknowledgement field<br>5.  Click download or download and build (depending on option selected for the automatic build) | The project is downloaded into the newly defined location on disk, rather than the default                                                                                                            |
+| Download with Automatic Build                                          | 1.  Valid url added to the Repository Path field<br>2.  Check the acknowledgement field<br>3.  Click Download & Build                                                                                                                                                                            | Project downloads and successfully builds upon download completion                                                                                                                                    |
+| Download without Automatic Build                                       | 1.  Valid url added to the Repository Path field<br>2.  Check the acknowledgement field<br>3.  Click Download                                                                                                                                                                                    | Project downloads and is listed in Project Manager, but notifies user that it needs to be built                                                                                                       |
+| User has not checked acknowledgement of requirements/license           | 1.  Valid url added to the Repository Path field<br>2.  Click Download                                                                                                                                                                                                                           | *   Notification that the acknowledgement wasn't checked<br>*   Dialog doesn't close<br>*   Download doesn't occur                                                                                    |
+| Remove remote project (remove registration)                            | 1.  From project screen, select the hamburger menu for the given project<br>2.  Select "Remove Project"                                                                                                                                                                                          | Project remains on disk, but no longer displays in Project Manager                                                                                                                                    |
+| Delete remote project                                                  | 1.  From project screen, select the hamburger menu for the given project<br>2.  Select "Delete Project"                                                                                                                                                                                          | Project is no longer on disk, but a download option is available in Project Manager                                                                                                                   |
+| Remove repo registration                                               | 1.  Go to Engine > Remote Sources<br>2.  Remove the entry corresponding to the project                                                                                                                                                                                                           | *   If project is downloaded, it remains in the project manager but cannot be downloaded again if deleted<br>*   If the project was not already downloaded, it no longer displays in the project list |

+ 25 - 0
testing-guidance/workflow-tests/remote-templates/remote-templates-workflow-tests.md

@@ -0,0 +1,25 @@
+# Remote Templates
+
+These workflows center around testing the basic functionality of the Project Manager remote template acquisition tools.
+
+## Prerequisites
+
+*   Locally installed tools for the remote source being used (git installed with credentials for GitHub, for example)
+
+## Common Issues
+
+*   Template does not download properly
+*   User attempts to use a template without downloading
+*   Create project screen doesn't refresh to show the registered remote source
+
+## Workflows
+
+| Workflow                                       | Steps                                                                                                                                                                                          | Expectations                                                                                                                                                                        |
+|------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Register a remote template URL                 | 1.  Begin creating a new project<br>2.  Select Add a Remote Template<br>3.  Enter a valid URL for the project template                                                                         | *   All templates present in the entered URL display in the template list as options for installing<br>*   Cloud icon displays for newly registered templates that can be installed |
+| Install a remote template                      | 1.  Register a remote template URL<br>2.  Select the desired template from the template list (in project creation)<br>3.  Install the template                                                 | *   Template downloads<br>*   Cloud icon is removed from template list                                                                                                              |
+| Install remote template in custom directory    | 1.  Register a remote template URL<br>2.  Select the desired template from the template list (in project creation)<br>3.  Enter a directory other than the default<br>4.  Install the template | *   Template downloads to desired location on disk<br>*   Cloud icon is removed from template list                                                                                  |
+| New project can be built using remote template | 1.  Register and install a remote template<br>2.  From the project creation screen, select the installed template<br>3.  Finish creating the project<br>4.  Build the created project          | Project successfully builds and can be launched from Project Manager                                                                                                                |
+| Uninstall a template                           | 1.  Add remote template(s)<br>2.  Install one of the registered templates<br>3.  Uninstall the installed template                                                                              | *   Template displays with the cloud icon again, showing it can be installed<br>*   Template no longer exists on disk in the install location                                       |
+| Remove/Unregister a template                   | 1.  Go to the remote sources tab<br>2.  Select the template URL and remove it                                                                                                                  | Uninstalled and unregistered templates no longer display in project creation                                                                                                        |
+| Invalid URL                                    | 1.  Begin creating a new project<br>2.  Select Add a Remote Template<br>3.  Enter an invalid URL for the project template                                                                      | Clear error message displays explaining the issue                                                                                                                                   |