Created
September 12, 2013 07:48
-
-
Save EnidYin/6534143 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、在3001服务器下包含“用户注册”、“登录”页面以及“welcome”页面 | |
2、“用户注册”页面包含用户名输入框,密码输入框和一个【register】按钮,密码输入框中的内容不明文显示 | |
3、“用户登录”页面包含用户名输入框,密码输入框和一个【login】按钮,密码输入框中的内容不明文显示 | |
4、“Welcome”页面显示成功注册/登录的用户的用户名,如:Welcome, Mike! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、在3000服务器下包含“login”页面,“welcome”页面,“gate”页面 | |
2、“login”页面包含用户名输入框,密码输入框和一个【login】按钮,密码输入框中的文字不明文显示 | |
3、“gate”页面上仅有一个输入框 | |
4、“welcome”页面显示成功登录的用户的用户名,如:Welcome, Mike! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、在localhost:3001下的“用户注册”页面中,当用户名输入框或密码输入框为空时,点击【register】按钮,在输入框下方位置红字提示:用户名不能为空或密码不能为空,页面不跳转 | |
2、当正确输入内容后,点击【register】按钮,进入3001服务器下的“welcome”页面 | |
3、“welcome”页面显示注册成功的用户名,如:Welcome, Mike! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、在localhost:3000下的“login”页面中,进行登录操作,通过访问localhost:3001来验证登录信息是否正确,登录是否成功。 | |
2、当用户名输入框或密码输入框为空时,点击【login】按钮,在输入框下方位置红字提示:用户名不能为空或密码不能为空 | |
3、当输入的用户名和密码不符时,点击【login】按钮,在输入框下方位置红字提示:密码错误 | |
4、当用户名不存在时,点击【login】按钮,在输入框下方位置红字提示:用户名不存在, | |
5、当正确输入内容后,点击【login】按钮,“login”页面上显示“登录成功”,页面不跳转 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、首先,在FireFox浏览器下进入localhost:3000下的“gate”页面,输入用户名 | |
2、然后,在Chrome浏览器下进入localhost:3000下的“login”页面,进行登录操作,localhost:3000通过访问localhost:3001来判断用户信息填写是否正确(是否存在这个用户以及用户名密码信息是否匹配) | |
3、登录成功后,当“login”页面输入的用户名与“gate”页面中输入的用户名一致时,“gate”页面自动跳转到localhost:3000下的“welcome”页面 | |
4、“welcome”页面显示这个用户名,如:Welcome, Mike! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment