|
@@ -71,8 +71,8 @@ describe('Application life cycle test', function () {
|
|
|
}
|
|
|
|
|
|
function checkPermalink(done) {
|
|
|
- browser.get('https://' + app.fqdn + '/hello-cloudron');
|
|
|
- browser.findElement(by.xpath('//*[text()="Hello Cloudron!"]')).then(function () { done(); });
|
|
|
+ browser.get('https://' + app.fqdn + '/hello-world');
|
|
|
+ browser.findElement(by.xpath('//h1[text()="Hello Cloudron!"]')).then(function () { done(); });
|
|
|
}
|
|
|
|
|
|
function checkMedia(done) {
|
|
@@ -85,7 +85,7 @@ describe('Application life cycle test', function () {
|
|
|
|
|
|
function checkPost(done) {
|
|
|
browser.get('https://' + app.fqdn);
|
|
|
- browser.findElement(by.xpath('//*[text()="Hello Cloudron!"]')).then(function () { done(); });
|
|
|
+ browser.findElement(by.xpath('//h2/a[text()="Hello Cloudron!"]')).then(function () { done(); });
|
|
|
}
|
|
|
|
|
|
xit('build app', function () {
|