* {{> seeCurrentPathEquals }}
(path)
| 1764 | * {{> seeCurrentPathEquals }} |
| 1765 | */ |
| 1766 | async seeCurrentPathEquals(path) { |
| 1767 | const currentUrl = await this._getPageUrl() |
| 1768 | const baseUrl = this.options.url || 'http://localhost' |
| 1769 | const actualPath = new URL(currentUrl, baseUrl).pathname |
| 1770 | return equals('url path').assert(normalizePath(path), normalizePath(actualPath)) |
| 1771 | } |
| 1772 | |
| 1773 | /** |
| 1774 | * {{> dontSeeCurrentPathEquals }} |
no test coverage detected