X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/0aa28e47e87fc78e152de7f1750e97ccf260c595..e5d576d1130e6efb2ac384497b11e023df473f64:/test/details.js diff --git a/test/details.js b/test/details.js index e543496..513dcba 100644 --- a/test/details.js +++ b/test/details.js @@ -1,4 +1,4 @@ -const assert = require('assert'); +import assert from 'assert'; const reverse_only = !!process.env.REVERSE_ONLY; @@ -83,7 +83,7 @@ describe('Details Page', function () { assert.deepStrictEqual(display_headers, ['Name Keywords', 'Address Keywords']); let page_content = await page.$eval('body', el => el.textContent); - assert.ok(page_content.includes('qwaansshe')); // one of the name keywords + assert.ok(page_content.includes('vadouz')); // one of the name keywords }); }