Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 1|回復: 0

Copy the three sets of tests successfully

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 2023-12-21 19:16:03 | 顯示全部樓層 |閱讀模式
Does the user receive a warning when trying to submit an empty form? This test is very similar to the previous test. It will start from the login page and submit the login form. The only difference is that the form should be empty and the error message should contain text. Add the following test to verify that the expected error message is displayed Copy Note In this test the function is accessed through a property. This is done purely to eliminate warnings that appear when the variable is not used. Running the end-to-end test should now show a third set of successful tests. . Verify that the user is directed to the homepage after creating .

a new account. The tests you have wr photo editing servies itten so far assume that the user is not logged in or cannot log in. In this test you will verify that the user is redirected to the home page after successfully creating a new account through the registration form. Adding a new test to your suite The first thing you need to do to introduce and replicate the test is to fill out the registration form with your unique user credentials. This fixture has data specific to this test so you will use these values. Add the following code snippet to fill out the registration form and submit it.



Copy At this point the test will fill in the registration form and click on the register button. When this happens the browser should be redirected to the homepage and the user details should be available in local storage under a key named. Add the following to verify that the redirection occurs and that the user data is available in local storage. Replication If everything runs smoothly you should see a fourth set of successful tests. Replication. Four sets of tests are successful. Note: Remember the test account you created during testing. Will be cleared after the test is completed. To verify this try turning on query login and run the test again to see the clean query. Verify that the user is .


回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|GameHost抗攻擊論壇

GMT+8, 2025-4-16 18:36 , Processed in 1.033508 second(s), 18 queries .

抗攻擊 by GameHost X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |