forked from cloudron-apps/gitea-app
remove newline, not add it
This commit is contained in:
parent
5ab6a87a76
commit
2ac37367ce
1 changed files with 1 additions and 2 deletions
|
@ -118,8 +118,7 @@ describe('Application life cycle test', function () {
|
||||||
|
|
||||||
browser.findElement(by.xpath('//div[text()="Add Key"]')).click();
|
browser.findElement(by.xpath('//div[text()="Add Key"]')).click();
|
||||||
browser.findElement(by.id('title')).sendKeys('testkey');
|
browser.findElement(by.id('title')).sendKeys('testkey');
|
||||||
browser.findElement(by.id('content')).sendKeys(publicKey);
|
browser.findElement(by.id('content')).sendKeys(publicKey.trim()); // #3480
|
||||||
browser.findElement(by.id('content')).sendKeys('\n'); // #3480
|
|
||||||
browser.findElement(by.xpath('//button[contains(text(), "Add Key")]')).click();
|
browser.findElement(by.xpath('//button[contains(text(), "Add Key")]')).click();
|
||||||
browser.wait(until.elementLocated(by.xpath('//p[contains(text(), "added successfully!")]')), TIMEOUT).then(function () { done(); });
|
browser.wait(until.elementLocated(by.xpath('//p[contains(text(), "added successfully!")]')), TIMEOUT).then(function () { done(); });
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue