forked from serenity-bdd/serenity-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possible fix for failing integration tests on Jenkins
- Loading branch information
Showing
5 changed files
with
195 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Sample web site</title> | ||
</head> | ||
<body> | ||
|
||
<h1>The Journey Demo</h1> | ||
|
||
<a href="profile.html" class="view-profile">View your profile</a> | ||
|
||
<div class="menu"> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |
20 changes: 20 additions & 0 deletions
20
src/test/resources/sample-web-site/profile-bank-balance.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>My Bank Balances</title> | ||
</head> | ||
<body> | ||
|
||
<table> | ||
<tr> | ||
<th>Current Account</th> | ||
<th>Savings Account</th> | ||
</tr> | ||
<tr> | ||
<td id="currentAccountBalance">£100.36</td> | ||
<td id="savingsAccountBalance">£1024.12</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>My Banking Profile Page</title> | ||
</head> | ||
<body> | ||
|
||
<div> | ||
Bank Account: | ||
<p>BSB: <input id="bsb"></p> | ||
<p>Account Name: <input id="accountName"></p> | ||
<p>Account Number: <input id="accountNumber"></p> | ||
</div> | ||
|
||
<div> | ||
<iframe src="profile-bank-balance.html" name="profile-bank-balance" width="100%" height="100%" frameBorder="0"></iframe> | ||
</div> | ||
|
||
|
||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>My Profile Page</title> | ||
|
||
<script type="text/javascript"> | ||
<!-- | ||
|
||
function initFields() { | ||
hide('name') | ||
displayFieldsAfterDelay(); | ||
} | ||
|
||
function hide(id) { | ||
var e = document.getElementById(id); | ||
e.style.display = 'none'; | ||
} | ||
|
||
function show(id) { | ||
var e = document.getElementById(id); | ||
e.style.display = 'block'; | ||
} | ||
|
||
function displayNamwField() { | ||
show('name') | ||
} | ||
|
||
function displayFieldsAfterDelay() { | ||
setTimeout("displayNamwField()", 500); | ||
} | ||
|
||
//--> | ||
</script> | ||
</head> | ||
<body onLoad="initFields()"> | ||
|
||
<h1>My profile</h1> | ||
|
||
<form> | ||
<div> | ||
Name: <input type="text" id="name" style="display:none;"> | ||
</div> | ||
<div> | ||
Date of birth <input type="text" id="dob"> | ||
</div> | ||
<div> | ||
Country: | ||
<select id="country"> | ||
<option value="UK">United Kingdom</option> | ||
<option value="FR">France</option> | ||
<option value="ES">Spain</option> | ||
</select> | ||
</div> | ||
<div> | ||
Favorite Color: | ||
<select id="color"> | ||
<option value="RED">Red</option> | ||
<option value="BLUE">Blue</option> | ||
<option value="GREEN">Green</option> | ||
</select> | ||
</div> | ||
|
||
<span id="invisible" style="display:none">Invisible text</span> | ||
<div> | ||
Contact Preferences: | ||
<select id="contactPreferances" multiple> | ||
<option selected value="EMAIL">Email</option> | ||
<option selected value="POST">Post</option> | ||
<option value="SMS">SMS Message</option> | ||
</select> | ||
</div> | ||
|
||
<div> | ||
<iframe src="profile-bank.html" name="profile-bank" height="200px" frameborder="0" scrolling="no"></iframe> | ||
</div> | ||
|
||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
|
||
<span id="button">A fake button</span> | ||
</form> | ||
</body> | ||
</html> |