You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/agent-scenarios/README.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,3 +72,27 @@ The workflow will:
72
72
Creates a basic Aspire starter application.
73
73
74
74
**Prompt:** Create an aspire application starting by downloading the Aspire CLI and creating a starter app.
75
+
76
+
### smoke-test-dotnet
77
+
78
+
Performs a comprehensive smoke test of an Aspire PR build by installing the Aspire CLI, creating a .NET Blazor-based starter application, and verifying its functionality including the Dashboard, API service, and frontend.
79
+
80
+
**Key features:**
81
+
- Tests the native AOT build of the Aspire CLI
82
+
- Creates and runs an Aspire starter app with Blazor frontend
83
+
- Verifies Dashboard functionality and telemetry collection
84
+
- Tests SDK install feature flag (`dotNetSdkInstallationEnabled`)
85
+
- Captures screenshots for verification
86
+
87
+
### smoke-test-python
88
+
89
+
Performs a comprehensive smoke test of an Aspire PR build by installing the Aspire CLI, creating a Python starter application with Vite/React frontend, and verifying its functionality.
90
+
91
+
**Key features:**
92
+
- Tests the native AOT build of the Aspire CLI
93
+
- Creates and runs an Aspire Python starter app (`aspire-py-starter`)
94
+
- Tests Python backend API service and Vite/React frontend
95
+
- Verifies Dashboard functionality and telemetry collection
96
+
- Tests SDK install feature flag (`dotNetSdkInstallationEnabled`)
Copy file name to clipboardExpand all lines: tests/agent-scenarios/smoke-test-dotnet/prompt.md
+31-10Lines changed: 31 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,26 @@ aspire --version
37
37
38
38
Expected output should show the version matching the PR build.
39
39
40
+
### 1.1 Enable SDK Install Feature Flag
41
+
42
+
Before proceeding, enable the `dotNetSdkInstallationEnabled` feature flag to force SDK installation for testing purposes. This ensures the Aspire CLI's SDK installation functionality is properly exercised.
43
+
44
+
Set the configuration value:
45
+
46
+
```bash
47
+
aspire config set --global features.dotNetSdkInstallationEnabled true
48
+
```
49
+
50
+
Verify the configuration was set:
51
+
52
+
```bash
53
+
aspire config get --global features.dotNetSdkInstallationEnabled
54
+
```
55
+
56
+
Expected output: `true`
57
+
58
+
**Note**: This feature flag forces the Aspire CLI to install the .NET SDK even if a compatible version is already available on the system. This is specifically for testing the SDK installation feature.
59
+
40
60
## Step 2: Create a New Aspire Starter Application
41
61
42
62
Create a new Aspire application using the Blazor-based starter template. The application will be created in the current git workspace so it becomes part of the PR when the scenario completes.
@@ -106,33 +126,34 @@ The `aspire run` command will:
106
126
**What to observe:**
107
127
- The command should start the Aspire AppHost
108
128
- You should see console output indicating:
109
-
- Dashboard starting (typically on http://localhost:18888)
129
+
- Dashboard starting with a randomly assigned port and access token
110
130
- Resources being initialized
111
131
- Services starting up
112
132
- No critical errors in the startup logs
113
133
114
134
### 3.2 Wait for Startup
115
135
116
136
Allow 30-60 seconds for the application to fully start. Monitor the console output for:
- "Dashboard running at: http://localhost:XXXXX" message with the access token
118
138
- "Application started" or similar success messages
119
139
- All resources showing as "Running" status
120
140
121
-
**Tip:** The dashboard URL will be displayed in the console. Note this URL for later steps.
141
+
**Tip:** The dashboard URL with access token will be displayed in the console output from `aspire run`. Note this complete URL (including the token parameter) for later steps. The port is randomly selected each time a new project is created.
122
142
123
143
## Step 4: Verify the Aspire Dashboard
124
144
125
145
The Aspire Dashboard is the central monitoring interface. Let's verify it's accessible and functional.
126
146
127
147
### 4.1 Access the Dashboard
128
148
129
-
Open the dashboard URL in a browser (typically http://localhost:18888).
149
+
The dashboard URL with access token is displayed in the output from `aspire run`. Use this URL to access the dashboard.
130
150
131
151
**Use browser automation tools to access and capture screenshots:**
0 commit comments