This commit is contained in:
+8
-8
@@ -35,7 +35,7 @@
|
||||
<a href="#"><span class="badge badge-primary">Zenful</span></a>
|
||||
</li>
|
||||
<li class="m-r-10">
|
||||
<a href="#"><span class="badge badge-primary">Oct 4, 2024 03:29:39 AM</span></a>
|
||||
<a href="#"><span class="badge badge-primary">Oct 6, 2024 04:59:42 PM</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -74,14 +74,14 @@
|
||||
</ul>
|
||||
</div> <div class="test-list-wrapper scrollable">
|
||||
<ul class="test-list-item">
|
||||
<li class="test-item" status="pass" test-id="1"
|
||||
<li class="test-item" status="pass" test-id="2"
|
||||
author=""
|
||||
tag=""
|
||||
device="">
|
||||
<div class="test-detail">
|
||||
<p class="name">Test msg</p>
|
||||
<p class="text-sm">
|
||||
<span>3:29:42 AM</span> / <span>00:00:00:000</span>
|
||||
<span>4:59:49 PM</span> / <span>00:00:00:000</span>
|
||||
<span class="badge pass-bg log float-right">Pass</span>
|
||||
</p>
|
||||
</div>
|
||||
@@ -90,10 +90,10 @@
|
||||
<div class="p-v-10">
|
||||
<div class="info">
|
||||
<h5 class="test-status text-pass">Test msg</h5>
|
||||
<span class='badge badge-success'>10.04.2024 3:29:42 AM</span>
|
||||
<span class='badge badge-danger'>10.04.2024 3:29:42 AM</span>
|
||||
<span class='badge badge-success'>10.06.2024 4:59:49 PM</span>
|
||||
<span class='badge badge-danger'>10.06.2024 4:59:49 PM</span>
|
||||
<span class='badge badge-default'>00:00:00:000</span>
|
||||
· <span class='uri-anchor badge badge-default'>#test-id=1</span>
|
||||
· <span class='uri-anchor badge badge-default'>#test-id=2</span>
|
||||
<span title='Skip to the next failed step' class='badge badge-danger pointer float-right ne ml-1'><i class="fa fa-fast-forward"></i></span>
|
||||
<span title='Collapse all nodes' class='badge badge-default pointer float-right ct ml-1'><i class="fa fa-compress"></i></span>
|
||||
<span title='Expand all nodes' class='badge badge-default pointer float-right et'><i class="fa fa-expand"></i></span>
|
||||
@@ -115,13 +115,13 @@
|
||||
<div class="col-md-3">
|
||||
<div class="card"><div class="card-body">
|
||||
<p class="m-b-0">Started</p>
|
||||
<h3>Oct 4, 2024 03:29:39 AM</h3>
|
||||
<h3>Oct 6, 2024 04:59:42 PM</h3>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="card"><div class="card-body">
|
||||
<p class="m-b-0">Ended</p>
|
||||
<h3>Oct 4, 2024 03:29:42 AM</h3>
|
||||
<h3>Oct 6, 2024 04:59:50 PM</h3>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
|
||||
@@ -10,26 +10,29 @@ import java.io.IOException;
|
||||
|
||||
public class StepDefinition extends Initialization {
|
||||
|
||||
@Given("Initialize the remote webdriver Firefox")
|
||||
public void initializeTheRemoteWebdriverFirefox() {
|
||||
BrowserInit("firefox");
|
||||
}
|
||||
// Write code here that turns the phrase above into concrete actions
|
||||
@Given("Initialize the remote webdriver Firefox")
|
||||
public void initializeTheRemoteWebdriverFirefox() {
|
||||
BrowserInit("firefox");
|
||||
}
|
||||
|
||||
@Given("navigate to {string}")
|
||||
public void navigate_to(String url) {
|
||||
// Write code here that turns the phrase above into concrete actions
|
||||
driver.get(url);
|
||||
}
|
||||
@When("User type text into the text box and hit click")
|
||||
public void user_type_text_into_the_text_box_and_hit_click() throws IOException, InterruptedException {
|
||||
// Write code here that turns the phrase above into concrete actions
|
||||
HomePage hp = new HomePage();
|
||||
hp.insertText();
|
||||
}
|
||||
@Then("Text is displayed {string}")
|
||||
public void text_is_displayed(String string) {
|
||||
// Write code here that turns the phrase above into concrete actions
|
||||
HomePage hp = new HomePage();
|
||||
hp.textConfirmation();
|
||||
}
|
||||
@Given("navigate to {string}")
|
||||
public void navigate_to(String url) {
|
||||
// Write code here that turns the phrase above into concrete actions
|
||||
driver.get(url);
|
||||
}
|
||||
|
||||
@When("User type text into the text box and hit click")
|
||||
public void user_type_text_into_the_text_box_and_hit_click() throws IOException, InterruptedException {
|
||||
// Write code here that turns the phrase above into concrete actions
|
||||
HomePage hp = new HomePage();
|
||||
hp.insertText();
|
||||
}
|
||||
|
||||
@Then("Text is displayed {string}")
|
||||
public void text_is_displayed(String string) {
|
||||
// Write code here that turns the phrase above into concrete actions
|
||||
HomePage hp = new HomePage();
|
||||
hp.textConfirmation();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user