-
Notifications
You must be signed in to change notification settings - Fork 4
/
test-report.html
129 lines (128 loc) · 22.9 KB
/
test-report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<html><head><meta charset="utf-8"/><title>Test Report</title><style type="text/css">html, body {
font-family: Arial, Helvetica, sans-serif;
font-size: 1rem;
margin: 0;
padding: 0;
color: #333;
}
body {
padding: 1rem;
font-size: 0.85rem;
}
header {
display: flex;
align-items: center;
}
#title {
margin: 0;
flex-grow: 1;
}
#logo {
height: 4rem;
}
#timestamp {
font-weight: bold;
color: #666;
margin-bottom: 0.5rem;
}
#summary {
color: #999;
margin-bottom: 1rem;
}
.suite-info {
padding: 1rem;
background-color: #eee;
border-bottom: 2px solid #999;
color: #999;
display: flex;
align-items: center;
}
.suite-info .suite-path {
font-weight: bold;
word-break: break-all;
flex-grow: 1;
}
.suite-info .suite-time {
margin-left: 0.5rem;
padding: 0.2rem 0.3rem;
font-size: 0.75rem;
}
.suite-info .suite-time.warn {
background-color: #D8000C;
color: #fff;
}
.suite-table {
width: 100%;
font-size: 0.85rem;
margin-bottom: 1em;
}
.suite-table td {
padding: 0.5rem;
}
.suite-table tr.passed {
background-color: #DFF2BF;
color: #4F8A10;
}
.suite-table tr.pending {
background-color: #FEEFB3;
color: #9F6000;
}
.suite-table tr.failed {
background-color: #FFBABA;
color: #D8000C;
}
.suite-table td {
font-size: 0.85rem;
border-bottom: 1px solid #aaa;
vertical-align: top;
}
.suite-table td.suite {
font-weight: bold;
width: 20%;
}
.suite-table td.test {
font-style: italic;
width: 60%;
}
.suite-table td.test .failureMsg {
font-size: 1rem;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
.suite-table td.result {
width: 20%;
text-align: right;
}
/* CONSOLE LOGS */
.suite-consolelog {
margin-bottom: 2rem;
padding: 1rem;
background-color: #efefef;
}
.suite-consolelog-header {
font-weight: bold;
}
.suite-consolelog-item {
padding: 0.5rem;
}
.suite-consolelog-item pre {
margin: 0;
}
.suite-consolelog-item-origin {
color: #777;
font-weight: bold;
}
.suite-consolelog-item-message {
color: #000;
font-size: 1rem;
padding: 0 0.5rem;
}
</style></head><header><h1 id="title">Test Report</h1></header><div id="metadata-container"><div id="timestamp">Start: 2019-05-10 20:24:35</div><div id="summary">
104 tests --
104 passed /
0 failed /
0 pending
</div></div><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/store/modules/__tests__/auth.spec.js</div><div class="suite-time">2.374s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">auth store module > getters</td><td class="test">isAuthenticated logic works</td><td class="result">passed in 0.006s</td></tr><tr class="passed"><td class="suite">auth store module > getters</td><td class="test">can get token</td><td class="result">passed in 0.001s</td></tr><tr class="passed"><td class="suite">auth store module > getters</td><td class="test">can get auth user</td><td class="result">passed in 0.002s</td></tr><tr class="passed"><td class="suite">auth store module > mutations</td><td class="test">set is authenticated</td><td class="result">passed in 0s</td></tr><tr class="passed"><td class="suite">auth store module > mutations</td><td class="test">set token</td><td class="result">passed in 0.001s</td></tr><tr class="passed"><td class="suite">auth store module > mutations</td><td class="test">set authenticated user</td><td class="result">passed in 0s</td></tr><tr class="passed"><td class="suite">auth store module > actions</td><td class="test">login using a social account</td><td class="result">passed in 0.003s</td></tr><tr class="passed"><td class="suite">auth store module > actions</td><td class="test">can login using email</td><td class="result">passed in 0.002s</td></tr><tr class="passed"><td class="suite">auth store module > actions</td><td class="test">user can register using personal details</td><td class="result">passed in 0.002s</td></tr><tr class="passed"><td class="suite">auth store module > actions</td><td class="test">can logout authenticated users</td><td class="result">passed in 0.001s</td></tr><tr class="passed"><td class="suite">auth store module > actions</td><td class="test">user can send forget password email</td><td class="result">passed in 0s</td></tr><tr class="passed"><td class="suite">auth store module > actions</td><td class="test">user can reset password</td><td class="result">passed in 0s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/store/modules/__tests__/blog.spec.js</div><div class="suite-time">2.342s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">blog store module > getters</td><td class="test">get blogs</td><td class="result">passed in 0.007s</td></tr><tr class="passed"><td class="suite">blog store module > getters</td><td class="test">get blog</td><td class="result">passed in 0.001s</td></tr><tr class="passed"><td class="suite">blog store module > mutations</td><td class="test">set blogs</td><td class="result">passed in 0s</td></tr><tr class="passed"><td class="suite">blog store module > mutations</td><td class="test">set blog</td><td class="result">passed in 0.001s</td></tr><tr class="passed"><td class="suite">blog store module > actions</td><td class="test">a blog can be saved</td><td class="result">passed in 0.002s</td></tr><tr class="passed"><td class="suite">blog store module > actions</td><td class="test">a blog can be updated</td><td class="result">passed in 0.001s</td></tr><tr class="passed"><td class="suite">blog store module > actions</td><td class="test">a blog can be deleted</td><td class="result">passed in 0s</td></tr><tr class="passed"><td class="suite">blog store module > actions</td><td class="test">can get blogs</td><td class="result">passed in 0.002s</td></tr><tr class="passed"><td class="suite">blog store module > actions</td><td class="test">can get a blog</td><td class="result">passed in 0.001s</td></tr><tr class="passed"><td class="suite">blog store module > actions</td><td class="test">can get users blogs</td><td class="result">passed in 0.001s</td></tr><tr class="passed"><td class="suite">blog store module > actions</td><td class="test">can get a users blog</td><td class="result">passed in 0.001s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/blog/__tests__/BlogReader.spec.js</div><div class="suite-time">2.576s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">BlogReader</td><td class="test">sees blog creation date</td><td class="result">passed in 0.063s</td></tr><tr class="passed"><td class="suite">BlogReader</td><td class="test">renders blogs cover image</td><td class="result">passed in 0.011s</td></tr><tr class="passed"><td class="suite">BlogReader</td><td class="test">can navigate to users blogs page</td><td class="result">passed in 0.01s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/blog/__tests__/Blog.spec.js</div><div class="suite-time">2.677s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Blog</td><td class="test">component mounts without errors</td><td class="result">passed in 0.038s</td></tr><tr class="passed"><td class="suite">Blog</td><td class="test">should show blogs category in capital letters</td><td class="result">passed in 0.018s</td></tr><tr class="passed"><td class="suite">Blog</td><td class="test">should display title</td><td class="result">passed in 0.006s</td></tr><tr class="passed"><td class="suite">Blog</td><td class="test">should display time blog was created</td><td class="result">passed in 0.008s</td></tr><tr class="passed"><td class="suite">Blog</td><td class="test">should limit body of blog to 200 characters</td><td class="result">passed in 0.006s</td></tr><tr class="passed"><td class="suite">Blog</td><td class="test">should see blogs authors name</td><td class="result">passed in 0.006s</td></tr><tr class="passed"><td class="suite">Blog</td><td class="test">renders blogs cover image</td><td class="result">passed in 0.007s</td></tr><tr class="passed"><td class="suite">Blog</td><td class="test">can navigate to users blogs</td><td class="result">passed in 0.015s</td></tr><tr class="passed"><td class="suite">Blog</td><td class="test">should navigate to user's blog</td><td class="result">passed in 0.013s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/blog/__tests__/Blogs.spec.js</div><div class="suite-time">2.742s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Blogs</td><td class="test">should get all blogs</td><td class="result">passed in 0.065s</td></tr><tr class="passed"><td class="suite">Blogs</td><td class="test">can search for a blog</td><td class="result">passed in 0.015s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/pages/__tests__/SendPasswordResetLinkView.spec.js</div><div class="suite-time">2.85s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">SendResetPasswordLinkView > validate</td><td class="test">email is not a valid email</td><td class="result">passed in 0.09s</td></tr><tr class="passed"><td class="suite">SendResetPasswordLinkView</td><td class="test">can request for password reset link</td><td class="result">passed in 0.031s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/__tests__/SignUp.spec.js</div><div class="suite-time">2.849s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Sign Up</td><td class="test">component mounts without errors</td><td class="result">passed in 0.033s</td></tr><tr class="passed"><td class="suite">Sign Up</td><td class="test">should render login form</td><td class="result">passed in 0.015s</td></tr><tr class="passed"><td class="suite">Sign Up</td><td class="test">should be able to response to sign-in event</td><td class="result">passed in 0.013s</td></tr><tr class="passed"><td class="suite">Sign Up</td><td class="test">should be able to login using google social account</td><td class="result">passed in 0.016s</td></tr><tr class="passed"><td class="suite">Sign Up</td><td class="test">should be able to login using facebook social account</td><td class="result">passed in 0.009s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/__tests__/SignIn.spec.js</div><div class="suite-time">0.673s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Sign In</td><td class="test">component mounts without errors</td><td class="result">passed in 0.037s</td></tr><tr class="passed"><td class="suite">Sign In</td><td class="test">should render login form</td><td class="result">passed in 0.011s</td></tr><tr class="passed"><td class="suite">Sign In</td><td class="test">should be able to response to sign-in event</td><td class="result">passed in 0.011s</td></tr><tr class="passed"><td class="suite">Sign In</td><td class="test">should be able to login using google social account</td><td class="result">passed in 0.019s</td></tr><tr class="passed"><td class="suite">Sign In</td><td class="test">should be able to login using facebook social account</td><td class="result">passed in 0.01s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/store/modules/__tests__/category.spec.js</div><div class="suite-time">0.39s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">category store module > getters</td><td class="test">get categorys</td><td class="result">passed in 0.002s</td></tr><tr class="passed"><td class="suite">category store module > mutations</td><td class="test">set categories</td><td class="result">passed in 0.002s</td></tr><tr class="passed"><td class="suite">category store module > actions</td><td class="test">can get categories</td><td class="result">passed in 0.001s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/store/modules/__tests__/user.spec.js</div><div class="suite-time">0.359s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">user store module > actions</td><td class="test">can update user details</td><td class="result">passed in 0.003s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/__tests__/Login.spec.js</div><div class="suite-time">0.66s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Login > validate</td><td class="test">email is null</td><td class="result">passed in 0.097s</td></tr><tr class="passed"><td class="suite">Login</td><td class="test">can login user</td><td class="result">passed in 0.026s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/store/modules/__tests__/favourite.spec.js</div><div class="suite-time">0.372s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">favourite store module > actions</td><td class="test">can save favourite</td><td class="result">passed in 0.002s</td></tr><tr class="passed"><td class="suite">favourite store module > actions</td><td class="test">can delete favourite</td><td class="result">passed in 0s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/test/unit/sanity.spec.js</div><div class="suite-time">0.156s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Sanity test</td><td class="test">runs correctly</td><td class="result">passed in 0.002s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/pages/__tests__/ResetPasswordView.spec.js</div><div class="suite-time">3.374s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">ResetPasswordView > validate</td><td class="test">email is null</td><td class="result">passed in 0.139s</td></tr><tr class="passed"><td class="suite">ResetPasswordView > validate</td><td class="test">email is not a valid email</td><td class="result">passed in 0.055s</td></tr><tr class="passed"><td class="suite">ResetPasswordView > validate</td><td class="test">password is null</td><td class="result">passed in 0.114s</td></tr><tr class="passed"><td class="suite">ResetPasswordView > validate</td><td class="test">password has less than six characters</td><td class="result">passed in 0.034s</td></tr><tr class="passed"><td class="suite">ResetPasswordView > validate</td><td class="test">password is more than fifty characters</td><td class="result">passed in 0.052s</td></tr><tr class="passed"><td class="suite">ResetPasswordView > validate</td><td class="test">password confirmation is null</td><td class="result">passed in 0.053s</td></tr><tr class="passed"><td class="suite">ResetPasswordView > validate</td><td class="test">password and password confirmation are not the same</td><td class="result">passed in 0.062s</td></tr><tr class="passed"><td class="suite">ResetPasswordView</td><td class="test">can reset users password</td><td class="result">passed in 0.05s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/blog/__tests__/UserBlogs.spec.js</div><div class="suite-time">1.046s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">UserBlogs</td><td class="test">should get all blogs</td><td class="result">passed in 0.049s</td></tr><tr class="passed"><td class="suite">UserBlogs</td><td class="test">can search for a blog</td><td class="result">passed in 0.012s</td></tr><tr class="passed"><td class="suite">UserBlogs</td><td class="test">it can remove blog</td><td class="result">passed in 0.008s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/pages/__tests__/pages-sanity.spec.js</div><div class="suite-time">0.365s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Pages Sanity test</td><td class="test">pages test runs correctly</td><td class="result">passed in 0s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/comment/__tests__/Comments.spec.js</div><div class="suite-time">0.75s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Comments</td><td class="test">should get all comments</td><td class="result">passed in 0.024s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/blog/__tests__/UserBlog.spec.js</div><div class="suite-time">3.53s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">UserBlog</td><td class="test">should render users avatar image</td><td class="result">passed in 0.04s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">should display time blog was created</td><td class="result">passed in 0.014s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">should hide blog actions</td><td class="result">passed in 0.019s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">should hide blog actions if user is not authenticated</td><td class="result">passed in 0.008s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">can navigate to edit blogs if authenticated and authorized</td><td class="result">passed in 0.012s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">can delete blog if authenticated and authorized</td><td class="result">passed in 0.011s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">can navigate to users blog</td><td class="result">passed in 0.009s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">can go to users blog</td><td class="result">passed in 0.008s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">should see category name in capital letters</td><td class="result">passed in 0.008s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">should see favourite component</td><td class="result">passed in 0.009s</td></tr><tr class="passed"><td class="suite">UserBlog</td><td class="test">should see comment count</td><td class="result">passed in 0.009s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/blog/__tests__/BlogForm.spec.js</div><div class="suite-time">3.573s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">BlogForm</td><td class="test">can get all categories</td><td class="result">passed in 0.107s</td></tr><tr class="passed"><td class="suite">BlogForm > Validate</td><td class="test">title is null</td><td class="result">passed in 0.099s</td></tr><tr class="passed"><td class="suite">BlogForm > Validate</td><td class="test">title has less than three characters</td><td class="result">passed in 0.061s</td></tr><tr class="passed"><td class="suite">BlogForm > Validate</td><td class="test">body is null</td><td class="result">passed in 0.079s</td></tr><tr class="passed"><td class="suite">BlogForm > Validate</td><td class="test">body has less than three characters</td><td class="result">passed in 0.065s</td></tr><tr class="passed"><td class="suite">BlogForm > Validate</td><td class="test">category is null</td><td class="result">passed in 0.058s</td></tr><tr class="passed"><td class="suite">BlogForm > can save</td><td class="test">a new blog</td><td class="result">passed in 0.092s</td></tr><tr class="passed"><td class="suite">BlogForm > can update</td><td class="test">an existing blog</td><td class="result">passed in 0.08s</td></tr></table><div class="suite-info"><div class="suite-path">/Users/oseintow/Sites/laravel-vue-blog/resources/js/components/__tests__/Register.spec.js</div><div class="suite-time">3.791s</div></div><table class="suite-table" cellspacing="0" cellpadding="0"><tr class="passed"><td class="suite">Register > validate</td><td class="test">name is null</td><td class="result">passed in 0.119s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">name has less than three characters</td><td class="result">passed in 0.054s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">name is more than hundred characters</td><td class="result">passed in 0.084s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">nickname is null</td><td class="result">passed in 0.065s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">nickname has less than three characters</td><td class="result">passed in 0.053s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">nickname is more than fifty characters</td><td class="result">passed in 0.058s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">email is null</td><td class="result">passed in 0.079s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">email is not a valid email</td><td class="result">passed in 0.051s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">password is null</td><td class="result">passed in 0.062s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">password has less than six characters</td><td class="result">passed in 0.032s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">password is more than fifty characters</td><td class="result">passed in 0.032s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">password confirmation is null</td><td class="result">passed in 0.052s</td></tr><tr class="passed"><td class="suite">Register > validate</td><td class="test">password and password confirmation are not the same</td><td class="result">passed in 0.047s</td></tr><tr class="passed"><td class="suite">Register</td><td class="test">user can register</td><td class="result">passed in 0.084s</td></tr></table></html>