diff --git a/test/test.js b/test/test.js index 028dace..da34fda 100755 --- a/test/test.js +++ b/test/test.js @@ -87,7 +87,7 @@ describe('Application life cycle test', function () { const avatarSrc = await browser.findElement(By.xpath('//div[@id="profile-avatar"]/a/img')).getAttribute('src'); const response = await superagent.get(avatarSrc); - assert.strictEqual(response.statusCode, 200); + assert.strictEqual(response.status, 200); } async function login(username, password) {