浏览代码

h2 became h3 (in a patch release!)

Girish Ramakrishnan 8 年之前
父节点
当前提交
5daa7780b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/test.js

+ 1 - 1
test/test.js

@@ -85,7 +85,7 @@ describe('Application life cycle test', function () {
 
     function checkPost(done) {
         browser.get('https://' + app.fqdn);
-        browser.wait(until.elementLocated(by.xpath('//h2/a[text()="Hello Cloudron!"]')), TIMEOUT).then(function () { done(); });
+        browser.wait(until.elementLocated(by.xpath('//h3/a[text()="Hello Cloudron!"]')), TIMEOUT).then(function () { done(); });
     }
 
     xit('build app', function () {