Skip to content

Commit 3f90374

Browse files
committed
update Testing-Instructions.md
1 parent 9a076c4 commit 3f90374

1 file changed

Lines changed: 32 additions & 34 deletions

File tree

SampleApps/WebView2APISample/documentation/Testing-Instructions.md

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -475,16 +475,16 @@ _It is disabled by default._
475475
2. Go to `Settings -> Toggle Client Certificate Requested`
476476
3. Expected: Message Box that says `Custom client certificate selection has been enabled.`
477477
4. Click `OK` inside the popup dialog.
478-
5. Navigate to <https://client.badssl.com>.
478+
5. Navigate to https://client.badssl.com.
479479
6. Expected: Server responds with 400 Bad Request (No required SSL Certificate was sent) if client certificate is not installed on the user's machine.
480480
7. Close the sample app.
481-
8. Navigate to <https://badssl.com/download> from a browser to download client certificate required to access <https://client.badssl.com> site.\
482-
![Download-Client-Certificate](screenshots/download-client-certificate.png)
481+
8. Navigate to https://badssl.com/download from a browser to download client certificate requried to access https://client.badssl.com site.\
482+
![Download-Client-Certificate](screenshots/Download-Client-Certificate.png)
483483
9. Click badssl.com-client.p12 from the list and confirm download has begun.
484484
10. Go to the badssl.com-client certificate from the downloads.
485485
11. Double click on the above downloaded badssl.com-client.p12 certificate.
486486
12. Expected: Windows popup with title Certificate Import Wizard.\
487-
![Install-Client-Certificate](screenshots/install-client-certificate.png)
487+
![Install-Client-Certificate](screenshots/Install-Client-Certificate.png)
488488
13. Select `Current User` from the store location in the popup and click `Next`.
489489
14. Browse for the above downloaded client certificate location if not selected by default.
490490
15. Click `Next`.
@@ -494,7 +494,7 @@ _It is disabled by default._
494494
19. Click `Ok`.
495495
20. Repeat steps 1-5 above.
496496
21. Expected: Server authenticates the user and displays as below.\
497-
![Success-Client-Certificate](screenshots/success-client-certificate.png)
497+
![Success-Client-Certificate](screenshots/Success-Client-Certificate.png)
498498
499499
#### Toggle Block images
500500
@@ -587,27 +587,27 @@ Test that enables/disables general autofill
587587
_General autofill is enabled by default._
588588
589589
1. Launch the sample app.
590-
1. Navigate to <https://rsolomakhin.github.io/autofill/> (Use this third party site to verify).
591-
1. Enter in any test information into the Profile Autofill section and click `Submit`.
592-
1. Repeat step 2.
593-
1. Click on the Name field.
594-
1. Expected: A drop down box with the saved profile information is shown.
595-
1. Click on the box.
596-
1. Expected: The profile information is autofilled.
597-
1. Go to `Settings -> Toggle General Autofill`
598-
1. Expected: Message Box that says `General autofill will be disabled after the next navigation.`
599-
1. Click `OK` inside the popup dialog and click `Reload`.
600-
1. Repeat step 5.
601-
1. Expected: No drop down box appears.
602-
1. Repeat steps 3-5.
603-
1. Expected: No drop down box appears.
604-
1. Go to `Settings -> Toggle General Autofill`
605-
1. Expected: Message Box that says `General autofill will be enabled after the next navigation.`
606-
1. Click `OK` inside the popup dialog and click `Reload`.
607-
1. Repeat step 5.
608-
1. Expected: A drop down box with the original saved profile information from step 3 is shown.
609-
1. Click on the box.
610-
1. Expected: The profile information is autofilled.
590+
2. Navigate to <https://rsolomakhin.github.io/autofill/> (Use this third party site to verify).
591+
3. Enter in any test information into the Profile Autofill section and click `Submit`.
592+
4. Repeat step 2.
593+
5. Click on the Name field.
594+
6. Expected: A drop down box with the saved profile information is shown.
595+
7. Click on the box.
596+
8. Expected: The profile information is autofilled.
597+
9. Go to `Settings -> Toggle General Autofill`
598+
10. Expected: Message Box that says `General autofill will be disabled after the next navigation.`
599+
11. Click `OK` inside the popup dialog and click `Reload`.
600+
12. Repeat step 5.
601+
13. Expected: No drop down box appears.
602+
14. Repeat steps 3-5.
603+
15. Expected: No drop down box appears.
604+
14. Go to `Settings -> Toggle General Autofill`
605+
15. Expected: Message Box that says `General autofill will be enabled after the next navigation.`
606+
16. Click `OK` inside the popup dialog and click `Reload`.
607+
17. Repeat step 5.
608+
18. Expected: A drop down box with the original saved profile information from step 3 is shown.
609+
19. Click on the box.
610+
20. Expected: The profile information is autofilled.
611611
612612
### Toggle password autosave enabled
613613
@@ -1002,26 +1002,24 @@ Test that demonstrates cookie management related APIs usage such as `GetCookies`
10021002
3. Follow the instructions on the page
10031003
10041004
#### NavigateWithWebResourceRequest
1005-
10061005
1. Launch sample app.
10071006
2. Go to **Scenario** > **NavigateWithWebResourceRequest**
10081007
3. On the opened dialog box enter `test` as post data and click OK.
10091008
4. Verify WebView2 navigated to `https://www.w3schools.com/action_page.php` and
10101009
`input=test` is displayed in the text box under `Your input was received as:`.
10111010
10121011
#### ClientCertificateRequested
1013-
10141012
1. Close sample app if it is open and re-launch.
1015-
2. Go to `Scenario -> Client Certificate Requested -> Use Deferred Custom Client Certificate Selection Dialog`.
1013+
2. Go to `Scenario -> Client Certificate Requested -> Use Deferred Custom Client Certificate Selection Dialog.
10161014
3. Expected: Message Box that says `Custom Client Certificate selection dialog will be used next when WebView2 is making a request to an HTTP server that needs a client certificate.`
10171015
4. Follow steps 8-19 from [Toggle Client Certificate Requested](#Toggle-Client-Certificate-Requested) if client certificate is not installed, otherwise skip this.
1018-
5. Navigate to <https://client.badssl.com>.
1016+
5. Navigate to https://client.badssl.com.
10191017
6. Expected: A custom dialog box with title `Select a certificate for authentication` and certificate/s in the list box.
10201018
7. Select a certificate from the list.
10211019
8. Expected: Certificate details (Subject, ValidFrom, ValidTo and Certificate Kind) are displayed towards right side of the list box.
10221020
9. Click `OK`.
10231021
10. Expected: Server authenticates the user and displays as below.\
1024-
![Success-Client-Certificate](screenshots/success-client-certificate.png)
1022+
![Success-Client-Certificate](screenshots/Success-Client-Certificate.png)
10251023
11. Close sample app and re-launch.
10261024
12. Repeat steps 2-6 above.
10271025
13. Click `Cancel` in the dialog box.
@@ -1075,9 +1073,9 @@ Verify that language and conflicting configuration works
10751073
Verify that we don't offer saving password.
10761074
10771075
1. Launch the sample app.
1078-
2. Load <https://www.w3schools.com/Tags/tryit.asp?filename=tryhtml5_input_type_password>, ignore any iframe navigation failure messages during the test.
1076+
2. Load https://www.w3schools.com/Tags/tryit.asp?filename=tryhtml5_input_type_password, ignore any iframe navigation failure messages during the test.
10791077
3. Type in some test email and password, like test@example.com and 12345678 in Email and Password field on the right part of the page.
1080-
4. Click `Submit` button, the page should show the inputted values.
1078+
4. Click `Submit` button, the page should show the inputed values.
10811079
5. Make sure that there is no browser prompt for saving password with strings like `Microsoft Edge will save and fill your password for this site next time`.
10821080
6. Reload the page, ignore any iframe navigation failure messages during the test.
10831081
7. Ensure that the fields are not auto filled.
@@ -1089,7 +1087,7 @@ Verify that we don't offer saving password.
10891087
Verify that the `NewWindowRequested` event is fired when opening a link in new window from PDF.
10901088
10911089
1. Launch the sample app.
1092-
2. Load <https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf>.
1090+
2. Load https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf.
10931091
3. Go to `Scenario -> Event Monitor` to begin tracking events.
10941092
4. Scroll to the second page of the PDF and right click on the first link to open the context menu.
10951093
5. Click on 'Open link in new window'.

0 commit comments

Comments
 (0)