Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit f03f0e6

Browse files
authored
Merge pull request #668 from massimobonanni/ISSUE654-LAB09-FunctionalTests
LAB09 - Clear some instructions and fix Issue #654
2 parents 9f5aaca + 9218ecb commit f03f0e6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Instructions/Labs/AZ400_M03_L09_Set_Up_and_Run_Functional_Tests.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ In this task, you will add the YAML build definition that will be used to implem
7272
Let's start by importing the CI pipeline named [eshoponweb-ci.yml](https://github.com/MicrosoftLearning/eShopOnWeb/blob/main/.ado/eshoponweb-ci.yml).
7373

7474
1. Go to **Pipelines > Pipelines**.
75-
1. Click on **New Pipeline** button.
75+
1. Click on **New Pipeline** button (or **Create Pipeline** if you haven't any pipeline).
7676
1. Select **Azure Repos Git (YAML)**.
7777
1. Select the **eShopOnWeb** repository.
7878
1. Select **Existing Azure Pipelines YAML File**.
@@ -85,7 +85,7 @@ Let's start by importing the CI pipeline named [eshoponweb-ci.yml](https://githu
8585
- **DotNet Publish**: Publishes the application and its dependencies to a folder for deployment to a hosting system. In this case, it's **Build.ArtifactStagingDirectory**.
8686
- **Publish Artifact - Website**: Publish the app artifact (created in the previous step) and make it available as a pipeline artifact.
8787
- **Publish Artifact - Bicep**: Publish the infrastructure artifact (Bicep file) and make it available as a pipeline artifact.
88-
1. Click the **Save** button (not **Save and run**) to save the pipeline definition.
88+
1. Click the **Save** button (not **Save and run**) on the top-right part of the page to save the pipeline definition. You can find the **Save** button by clicking on the arrow to the right of the **Save and Run** (or **Run**) button.
8989

9090
#### Task 2: Add tests to the CI pipeline
9191

@@ -95,6 +95,7 @@ You can notice that the Unit Tests task is already part of the pipeline.
9595

9696
- **Unit Tests** test a single part of your application's logic. One can further describe it by listing some of the things that it isn't. A unit test doesn't test how your code works with dependencies or infrastructure – that's what integration tests are for.
9797

98+
1. Edit the pipeline you created in the previous task pressing the **Edit** button.
9899
1. Now you need to add the Integration Tests task after the Unit Tests task:
99100

100101
```YAML
@@ -119,7 +120,7 @@ You can notice that the Unit Tests task is already part of the pipeline.
119120
120121
> **Functional Tests** are written from the perspective of the user, and verify the correctness of the system based on its requirements. Unlike integration tests that are written from the perspective of the developer, to verify that some components of the system work correctly together.
121122
122-
1. Click **Save**, on the **Save** pane, click **Save** again to commit the changes directly into the main branch.
123+
1. Click **Validate and Save** button, and if validation is successful, click **Save** again to commit the changes directly into the main branch.
123124
124125
#### Task 3: Check the tests summary
125126

0 commit comments

Comments
 (0)