-
Notifications
You must be signed in to change notification settings - Fork 4
/
example html report.html
63 lines (63 loc) · 2.82 KB
/
example html 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
<section class="suite">
<h1>Smoke suite</h1>
<dl>
<section class="suite">
<h1>Sanity check</h1>
<dl>
<dt>EPAM carreer page should open, with a visible logo on the page</dt>
<dd>
<pre><code>return expect(epamLogo.isDisplayed()).to.eventually.be.true;</code></pre>
</dd>
</dl>
</section>
<section class="suite">
<h1>All the main elements should be visible on Carreer page</h1>
<dl>
<dt>The "Keyword or job ID" input field should be visible</dt>
<dd>
<pre><code>return expect(keyWordOrIDInput.isDisplayed()).to.eventually.be.true;</code></pre>
</dd>
<dt>The "Location" dropdown should be visible</dt>
<dd>
<pre><code>return expect(locationDropdown.isDisplayed()).to.eventually.be.true;</code></pre>
</dd>
<dt>The "Skills" selector should be visible</dt>
<dd>
<pre><code>return expect(skillsSelector.isDisplayed()).to.eventually.be.true;</code></pre>
</dd>
<dt>The "Find" button should be visible</dt>
<dd>
<pre><code>return expect(findButton.isDisplayed()).to.eventually.be.true;</code></pre>
</dd>
</dl>
</section>
<section class="suite">
<h1>Checking a search result list</h1>
<dl>
<dt>When the "Test Automation engineer" keyword is typed into the search field</dt>
<dd>
<pre><code>return keyWordOrIDInput.sendKeys(keyWord);</code></pre>
</dd>
[8784:9996:0318/181244.173:ERROR:service_manager.cc(157)] Connection InterfaceProviderSpec prevented service: content_renderer
from binding interface: blink::mojom::ReportingServiceProxy exposed by: content_browser
<dt>And the "Find" button is clicked</dt>
<dd>
<pre><code>findButton.click();
driver.sleep(6000);
return driver.wait(function () {
return driver.findElement(by.css(searchResultHeadingLocator)).isDisplayed();
});</code></pre>
</dd>
<dt>Then the search result list heading should contain the searched searchterm</dt>
<dd>
<pre><code>return expect(driver.findElement(by.css(searchResultHeadingLocator)).getText()).to.eventually.include(keyWord.toUpperCase());</code></pre>
</dd>
</dl>
</section>
<section class="suite">
<h1>Homework</h1>
<dl>
</dl>
</section>
</dl>
</section>