X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c0d1fb859fee050373df1fa77d03cb2c1a8cde91..c5280eaadf70172943d72088c03f4dc508e3452e:/test/reverse.js?ds=sidebyside diff --git a/test/reverse.js b/test/reverse.js index 09e9f36..8685668 100644 --- a/test/reverse.js +++ b/test/reverse.js @@ -64,10 +64,9 @@ describe('Reverse Page', function () { let results = await page.$$('#searchresults .result a'); await results[0].click(); - await page.waitForNavigation(); + await page.waitForSelector('table#address'); current_url = new URL(await page.url()); - assert.deepStrictEqual(current_url.pathname, '/details.html'); }); });