|
@@ -70,7 +70,7 @@ describe('Application life cycle test SSO', function () {
|
|
function userStoryExists(callback) {
|
|
function userStoryExists(callback) {
|
|
browser.get('https://' + app.fqdn + '/project/' + process.env.USERNAME + '-' + PROJECT_NAME + '/us/1');
|
|
browser.get('https://' + app.fqdn + '/project/' + process.env.USERNAME + '-' + PROJECT_NAME + '/us/1');
|
|
|
|
|
|
- waitForElement(by.xpath('//div[text()[contains(., "' + USER_STORY_SUBJECT + '")]]'), callback);
|
|
|
|
|
|
+ waitForElement(by.xpath('//span[text()="' + USER_STORY_SUBJECT + '"]'), callback);
|
|
}
|
|
}
|
|
|
|
|
|
xit('build app', function () {
|
|
xit('build app', function () {
|
|
@@ -140,7 +140,7 @@ describe('Application life cycle test SSO', function () {
|
|
it('user story exists', userStoryExists);
|
|
it('user story exists', userStoryExists);
|
|
|
|
|
|
it('backup app', function () {
|
|
it('backup app', function () {
|
|
- execSync('cloudron backup --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
|
|
|
|
|
+ execSync('cloudron backup create --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
|
});
|
|
});
|
|
|
|
|
|
it('restore app', function () {
|
|
it('restore app', function () {
|