| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | describe('Abe', function() { |
||
| 23 | it('Create a single article', function(client) { |
||
| 24 | client |
||
| 25 | .url('http://localhost:3003/abe/editor') |
||
| 26 | .waitForElementVisible('body') |
||
| 27 | .assert.title('Abe') |
||
| 28 | .click('select[id="level-1"] option:nth-child(2)') |
||
| 29 | .click('select[name="selectTemplate"] option[value="single"]') |
||
| 30 | .waitForElementVisible('div[data-precontrib-templates=single]', 1000) |
||
| 31 | .setValue('div[data-precontrib-templates=single] > div > input', 'ftest') |
||
| 32 | .click('button[type="submit"]') |
||
| 33 | .waitForElementVisible('form[id="abeForm"]', 2000) |
||
| 34 | .assert.urlEquals("http://localhost:3003/abe/editor/articles/ftest.html", "Clicked URL Matches with URL of the New Window") |
||
| 35 | .end(); |
||
| 36 | }); |
||
| 37 | |||
| 47 | }); |