mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-21 23:50:59 +00:00
Update to 0.9.71
Has the pretty severe bug #3480 which is worked around in tests
This commit is contained in:
parent
765bc6df20
commit
b683cb6db8
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ RUN passwd -d git
|
||||||
RUN mkdir -p /home/git/gogs
|
RUN mkdir -p /home/git/gogs
|
||||||
## TODO: use redis as well
|
## TODO: use redis as well
|
||||||
RUN cd /home/git/gogs && \
|
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
|
# setup config paths
|
||||||
ADD app.ini.template /home/git/app.ini.template
|
ADD app.ini.template /home/git/app.ini.template
|
||||||
|
|
|
@ -119,6 +119,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);
|
||||||
|
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