* {{> seeCurrentPathEquals }}
(path)
| 1865 | * {{> seeCurrentPathEquals }} |
| 1866 | */ |
| 1867 | async seeCurrentPathEquals(path) { |
| 1868 | const currentUrl = await this.browser.getUrl() |
| 1869 | const baseUrl = this.options.url || 'http://localhost' |
| 1870 | const actualPath = new URL(currentUrl, baseUrl).pathname |
| 1871 | return equals('url path').assert(normalizePath(path), normalizePath(actualPath)) |
| 1872 | } |
| 1873 | |
| 1874 | /** |
| 1875 | * {{> dontSeeCurrentPathEquals }} |
nothing calls this directly
no test coverage detected