test: 系统锁屏页面测试增加重新登陆代码

This commit is contained in:
Argo Zhang 2019-08-21 11:00:12 +08:00
parent 5036c60526
commit 394592bf48
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ namespace Bootstrap.Admin.Controllers.SqlServer
Assert.True(r.IsSuccessStatusCode); Assert.True(r.IsSuccessStatusCode);
var content = await r.Content.ReadAsStringAsync(); var content = await r.Content.ReadAsStringAsync();
Assert.Contains("系统锁屏", content); Assert.Contains("系统锁屏", content);
// relogin
await Client.LoginAsync();
} }
} }
} }