If your code affects Quickstart Playground, please manually verify these scenarios.
Please make sure to verify all of these scenarios. These apply to both Windows 10 and Windows 11.
- User receives Dev Home Azure Extension when Quickstart Playground is turned on
- Navigate to 'Settings -> Experimental features', and validate that Quickstart Playground is off by default. Then turn it on.
- Validate that the Dev Home Azure extension is brought down as part of turning on the feature. When the extension is ultimately installed, you should see a toast notification from the Store.
- User can set up dependencies and API key for Quickstart Playground
- Navigate to the machine configuration page and you should see a button for the Quickstart Playground feature. Click on that entry.
- Select the Dev Container with OpenAI extension from the ComboBox.
- You should see a ContentDialog with an Adaptive Card guiding you to install any missing dependencies (i.e., Visual Studio Code, Docker Desktop, Remote Containers extension)
- Use the download links to set up any missing dependencies, accepting all defaults.
- If Docker Desktop was installed, you'll need to reboot the system, manually re-launch Dev Home, and navigate back to the Quickstart Playground page.
- Once all of the application dependencies have been set up, you will see another Adaptive Card for entering in the OpenAI API key. Enter your key into the PasswordTextBox shown to you by the card.
- User does not see Dependency Checker in Quickstart Playground once all dependencies are configured
- Navigate away from the page and navigate back to validate that there are no additional Adaptive Cards displayed, thereby indicating that setup for the feature is complete.
- User can generate a project in Quickstart Playground using a sample prompt
- From the left-hand navigation menu in the application, click on the Machine configuration entry.
- Click on the "Quickstart Playground" entry in the list and choose the Dev Container with OpenAI extension.
- You will see a TextBox where you can enter in a prompt for a project that you’d like to create.
- Try clicking on a sample prompt. You should see the text entered in the TextBox.
- Click the Generate button. This will use a language model from OpenAI to generate the project.
- Once the operation is completed, you will see a list of files organized by directory that correspond to the sample project generated by the tool.
- You should be able to click on a file to view a lightweight preview of its contents.
- You can choose to save the project, launch it in Visual Studio Code, Cancel out of the flow, or start again with a new prompt.
- Launch the project in Visual Studio Code.
- Visual Studio Code will prompt you to confirm if you trust the folder, which you can click on- and then from there the remote containers extension will ask you if you would like to re-open the project in the container
- If you don't have Docker already running, Visual Studio Code will start it as part of opening the project, and you can click on 'Show logs' in the notification to see what Docker is doing.
- Try building and running the project once Visual Studio Code has finished opening it in the container.
- User can generate a project in Quickstart Playground using a custom prompt
- Enter in a new prompt into the TextBox and click Generate (e.g., "Create an environment for writing console apps in Rust").
- Validate that the project gets produced successfully and can be opened in Visual Studio Code (similar steps as in the sample prompt test case)
- User can locally save a project produced by Quickstart Playground
- Click the Save button in the Dev Home UI to validate that you can save a project to a location on the file system.
- User can submit feedback on a Quickstart Playground project using the Like / Dislike buttons
- User can click on the 'Generated based on example' link to view the project that was used a reference by Quickstart Playground.
- User can click on and view the Privacy policy and Terms of Use for the Quickstart extension they've selected.
- User can clear their API key
- Navigate to the settings for the Dev Home Azure Extension and click on the button to reset the API key.
- Verify that navigating back to the Quickstart Playground page prompts for the key to be re-entered.