| Conditions | 1 |
| Paths | 1 |
| Total Lines | 31 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | describe('Abe', function() { |
||
| 3 | describe('slug', function() { |
||
| 4 | |||
| 5 | before(function(client, done) { |
||
| 6 | done(); |
||
| 7 | }); |
||
| 8 | |||
| 9 | after(function(client, done) { |
||
| 10 | client.end(function() { |
||
| 11 | done(); |
||
| 12 | }); |
||
| 13 | }); |
||
| 14 | |||
| 15 | afterEach(function(client, done) { |
||
| 16 | done(); |
||
| 17 | }); |
||
| 18 | |||
| 19 | beforeEach(function(client, done) { |
||
| 20 | done(); |
||
| 21 | }); |
||
| 22 | |||
| 23 | it('Create a slug template post', function(client) { |
||
| 24 | client |
||
| 25 | .useXpath() |
||
| 26 | .url('http://localhost:3003/abe/editor') |
||
| 27 | .click('//*[@id="selectTemplate"]/option[11]') |
||
| 28 | .pause(1000) |
||
| 29 | .elements('xpath',"//div[@data-precontrib-templates='slug']", function (result) { |
||
| 30 | client.assert.equal(result.value.length, 2); |
||
| 31 | }); |
||
| 32 | }); |
||
| 33 | }); |
||
| 34 | }); |