-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest002-replay-webhook.html
More file actions
140 lines (112 loc) · 3.15 KB
/
test002-replay-webhook.html
File metadata and controls
140 lines (112 loc) · 3.15 KB
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
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="test.css">
<title>Test 002</title>
</head>
<body>
<header>
<div class="content">
<h1><a class="homelink" href="/">Postsai</a></h1>
<h2>The Commit Database</h2>
<a class="button" href="https://github.com/postsai/postsai">GitHub</a>
<a class="button" href="https://arianne-project.org/postsai/query.html?date=month">Demo</a>
<a class="button download" href="https://github.com/postsai/postsai/releases/download/v0.9.7/postsai-0.9.7.zip">Download</a>
</div>
</header>
<div class="content">
<section>
<table class="table table-bordered">
<tr class="th">
<th colspan="2"><h3>Test 002: replay-webhook</h3></th>
</tr>
<tr>
<th>Objective</th>
<td>Ensure it is possible to import an existing git repository.</td>
</tr>
<tr>
<th>Test Status</th>
<td>Stable</td>
</tr>
<tr>
<th>Prerequisite</th>
<td>A Postsai installation on a Debian/Ubuntu system.</td>
</tr>
</table>
</section>
<section>
<table class="table table-striped table-bordered table-hover">
<tr class="th">
<th>#</th>
<th>Action</th>
<th>User input</th>
<th>Expected result</th>
</tr>
<tr>
<td>1</td>
<td>Checkout replay-webhook</td>
<td><code>git clone https://github.com/postsai/replay-webhook.git</code></td>
<td>Completion without error</td>
</tr>
<tr>
<td>2</td>
<td>Change into replay-webhook directory</td>
<td><code>cd replay-webhook</code></td>
<td>Working directoy was changed</td>
</tr>
<tr>
<td>3</td>
<td>Display help</td>
<td><code>./replay.py -h</code></td>
<td>The command usage is displayed</td>
</tr>
<tr>
<td>4</td>
<td>Import the repository</td>
<td><code>./replay.py --home-url=https://github.com/postsai/replay-webhook --url=http://localhost/postsai/api.py --name=replay-webhook .</code></td>
<td>At least line which names the branch "master"</td>
</tr>
<tr>
<td>5</td>
<td>Verify Import</td>
<td>Open Postsai in you web browser and click on "Search"</td>
<td>The Postsai search form displayed.</td>
</tr>
<tr>
<td>6</td>
<td>Search for the recently imported repository</td>
<td>Repository: replay-webhook<br>
Date: Since the beginning of time<br>
Click on the "Search" button and remember the number of results.</td>
<td>A number of commits is displayed.</td>
</tr>
<tr>
<td>7</td>
<td>Import the repository again</td>
<td><code>./replay.py --home-url=https://github.com/postsai/replay-webhook --url=http://localhost/postsai/api.py --name=replay-webhook .</code></td>
<td>At least line which names the branch "master"</td>
</tr>
<tr>
<td>8</td>
<td>Verify Import</td>
<td>Open Postsai in you web browser and click on "Search"</td>
<td>The Postsai search form displayed.</td>
</tr>
<tr>
<td>9</td>
<td>Search for the recently imported repository</td>
<td>Repository: replay-webhook<br>
Date: Since the beginning of time<br>
Click on the "Search" button.</td>
<td>A number of commits is displayed and the number is equal to step 6.</td>
</tr>
</table>
</section>
<footer>
(C) Copyright 2016-2017 Postsai. Postsai is released as Free and Open Source Software under MIT license.
</footer>
</div>
</body>
</html>