]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - test/reverse.js
update a test after openstreetmap data changed
[nominatim-ui.git] / test / reverse.js
index 09e9f36792773e44977bef9fa076471e10eba1e7..8685668c63142a9138d21faecc226a3b36db3bed 100644 (file)
@@ -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');
     });
   });