1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-09-14 17:09:09 +00:00

Version 1.2.0

This commit is contained in:
Dennis Schwerdel
2017-11-29 21:21:25 +01:00
parent 0249f20656
commit c137f79e9b
5 changed files with 8 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ return done();
}).then(function () {
return browser.findElement(by.xpath('//button[contains(text(), "Commit Changes")]')).click();
}).then(function () {
waitForUrl('https://' + app.fqdn + '/' + username + '/' + reponame + '/src/master/newfile', done);
waitForUrl('https://' + app.fqdn + '/' + username + '/' + reponame + '/src/branch/master/newfile', done);
});
}
@@ -300,7 +300,7 @@ return done();
it('file exists in repo', function () { expect(fs.existsSync(repodir + '/newfile')).to.be(true); });
it('move to different location', function () {
browser.manage().deleteAllCookies();
//browser.manage().deleteAllCookies(); // commented because of error "'Network.deleteCookie' wasn't found"
execSync('cloudron configure --wait --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];