From b683cb6db88b0591b13a34237038226e5693e096 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 20 Aug 2016 00:52:36 -0700 Subject: [PATCH] Update to 0.9.71 Has the pretty severe bug #3480 which is worked around in tests --- Dockerfile | 2 +- test/test.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dd11205..aedbc95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/test/test.js b/test/test.js index 7246e98..ee126ef 100755 --- a/test/test.js +++ b/test/test.js @@ -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(); }); });