diff --git a/src/pageObject.js b/src/pageObject.js index a29f95c7..068bb852 100644 --- a/src/pageObject.js +++ b/src/pageObject.js @@ -24,7 +24,7 @@ class ArticlePage extends PageObject { return 'Click on the [Publish comment] button'; }; assertPageOpened() { - return 'The ' + url + 'is opened'; + return `The ${this.url} is opened`; } };