-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.js
More file actions
31 lines (25 loc) · 726 Bytes
/
Copy pathtest.js
File metadata and controls
31 lines (25 loc) · 726 Bytes
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
const assert = chai.assert;
describe("Browser Tests", function () {
it('Verify Page Title is "Mocha Tests"', function () {
assert.equal(
'Mocha Tests',
$('title').html()
);
});
it('Verify h1 tag is "Search"', function () {
// @TODO
assert.equal(true, false);
});
it('Verify Search input placeholder attribute is "Search Query"', function () {
// @TODO
assert.equal(true, false);
});
it('Verify Search input is empty', function () {
// @TODO
assert.equal(true, false);
});
it('Change search query to "Test", click Search button, and verify message "You successfully searched for Test"', function () {
// @TODO
assert.equal(true, false);
});
});