Skip to content

Commit 0d6076b

Browse files
committed
Added gauge spectacle docs
1 parent 53c0e05 commit 0d6076b

File tree

4 files changed

+67
-23
lines changed

4 files changed

+67
-23
lines changed

docs/html/data.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/html/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<article class='markdown-body'><meta charset="utf-8"><link rel="stylesheet" type="text/css" href="style.css"><script src="data.js"></script><center>
2-
<h1>Web-Cross-Browser-Automation-Demo</h1>
2+
<h1>Gauge-Selenium-Java-Web-Ui-Automation</h1>
33
<input type="text" class="tags" placeholder="Tag expression to Filter specs/scenarios. Example: 'login & product | !customer'" onkeypress="handle(event)"></input>
44
</center>
55
<div class="specs"></div>

docs/html/specs/Login.html

+14-20
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
1-
<article class='markdown-body'><meta charset="utf-8"><link rel="stylesheet" type="text/css" href="..\style.css"><h1>Login Specification</h1>
2-
<p>&lt;pre&gt;
3-
Date Created : 02/09/2018
4-
Version : 1.0.0
5-
Owner : Osanda Deshan
6-
Description : This is an executable specification file which covers the login scenarios.
7-
Run in dev env : mvn test-compile gauge:execute -DspecsDir=&quot;specs&quot; -Denv=&quot;dev&quot;
8-
Run With Tags : mvn test-compile gauge:execute -DspecsDir=&quot;specs&quot; -Denv=&quot;dev&quot; -Dtags=&quot;positive&quot;
9-
Run In Parallel : mvn test-compile gauge:execute -DspecsDir=&quot;specs&quot; -Denv=&quot;dev&quot; -DinParallel=true
10-
Re-run Failures : mvn test-compile gauge:execute -Dflags=&quot;--failed&quot;
11-
Format Specs : gauge format docs
12-
Convert Specs To HTML: gauge docs spectacle specs
13-
&lt;/pre&gt;</p>
14-
<p>table: ./src/test/resources/test data/test users.csv
15-
tags: login</p>
1+
<article class='markdown-body'><meta charset="utf-8"><link rel="stylesheet" type="text/css" href="../style.css"><h1>Login Specification</h1>
2+
<p>Project Name : gauge-java-web-ui-automation-demo
3+
Developer : Osanda Deshan
4+
Version : 1.0.0
5+
Date : 30/12/23
6+
Time : 11:40 AM
7+
Description : This is an executable specification file which covers the login scenarios.</p>
8+
<p>table: ./src/test/resources/test data/test users.csv</p>
9+
<p>tags: login</p>
1610
<h2>Login to the application using valid email and valid password</h2>
1711
<p>tags: positive</p>
1812
<ul>
19-
<li>Login using the email as &lt;Email&gt; and password as &lt;Password&gt;</li>
20-
<li>Signout</li>
13+
<li>Login using the username as &lt;Username&gt; and password as &lt;Password&gt;</li>
14+
<li>Logged-in username should be &lt;Username&gt;</li>
2115
</ul>
2216
<h2>Login to the application using invalid email and invalid password</h2>
2317
<p>tags: negative</p>
2418
<ul>
2519
<li>On login page</li>
26-
<li>Login to the application using the email as &quot;osa@<a href="http://mailinator.com" rel="nofollow">mailinator.com</a>&quot; and password as &quot;admin123&quot;</li>
27-
<li>Page title is &quot;Login - My Store&quot;</li>
20+
<li>Login to the application using the username as &quot;dev-test&quot; and password as &quot;admin123&quot;</li>
21+
<li>Wrong password error alert should be visible</li>
2822
</ul>
29-
<ul id="navigation"><center><li class="nav"><a href="..\index.html">=</a></li></center></article>
23+
<ul id="navigation"><center><li class="nav"><a href="../index.html">=</a></li><li class="nav"><a href="./navigation.html">></a></li></center></article>

docs/html/specs/navigation.html

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<article class='markdown-body'><meta charset="utf-8"><link rel="stylesheet" type="text/css" href="../style.css"><h1>Navigation Specification</h1>
2+
<p>Project Name : gauge-java-web-ui-automation-demo
3+
Developer : Osanda Deshan
4+
Version : 1.0.0
5+
Date : 30/12/23
6+
Time : 11:40 AM
7+
Description : This is an executable specification file which covers the navigation scenarios.</p>
8+
<p>tags: navigation</p>
9+
<h2>Navigation bar option routing</h2>
10+
<p>tags: positive</p>
11+
<ul>
12+
<li>
13+
<p>The navigation bar option should route to the following URLs</p>
14+
<table>
15+
<thead>
16+
<tr>
17+
<th>Navigation Bar Option</th>
18+
<th>Url</th>
19+
</tr>
20+
</thead>
21+
<tbody>
22+
<tr>
23+
<td>Home</td>
24+
<td>index.html</td>
25+
</tr>
26+
<tr>
27+
<td>Contact</td>
28+
<td>#</td>
29+
</tr>
30+
<tr>
31+
<td>About us</td>
32+
<td>#</td>
33+
</tr>
34+
<tr>
35+
<td>Cart</td>
36+
<td>cart.html</td>
37+
</tr>
38+
<tr>
39+
<td>Log in</td>
40+
<td>#</td>
41+
</tr>
42+
<tr>
43+
<td>Sign up</td>
44+
<td>#</td>
45+
</tr>
46+
</tbody>
47+
</table>
48+
</li>
49+
</ul>
50+
<ul id="navigation"><center><li class="nav"><a href="./login.html"><</a></li><li class="nav"><a href="../index.html">=</a></li></center></article>

0 commit comments

Comments
 (0)