X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/0aa28e47e87fc78e152de7f1750e97ccf260c595..24da90317a8ef77e6eded05331c3a555da8ae199:/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 }); }