Update to 0.9.71

Has the pretty severe bug #3480 which is worked around in tests
This commit is contained in:
Girish Ramakrishnan 2016-08-20 00:52:36 -07:00
parent 765bc6df20
commit b683cb6db8
2 changed files with 2 additions and 1 deletions

View file

@ -15,7 +15,7 @@ RUN passwd -d git
RUN mkdir -p /home/git/gogs
## TODO: use redis as well
RUN cd /home/git/gogs && \
curl -L https://github.com/gogits/gogs/releases/download/v0.9.48/linux_amd64.tar.gz | tar zxvf - --strip-components 1
curl -L https://github.com/gogits/gogs/releases/download/v0.9.71/linux_amd64.tar.gz | tar zxvf - --strip-components 1
# setup config paths
ADD app.ini.template /home/git/app.ini.template

View file

@ -119,6 +119,7 @@ describe('Application life cycle test', function () {
browser.findElement(by.xpath('//div[text()="Add Key"]')).click();
browser.findElement(by.id('title')).sendKeys('testkey');
browser.findElement(by.id('content')).sendKeys(publicKey);
browser.findElement(by.id('content')).sendKeys('\n'); // #3480
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(); });
});