1 const assert = require('assert');
 
   3 describe('About Page', function () {
 
   6   before(async function () {
 
   7     page = await browser.newPage();
 
   8     await page.goto('http://localhost:9999/about.html');
 
  11   after(async function () {
 
  15   it('should contain Nominatim description', async function () {
 
  16     await page.waitForSelector('#about-help');
 
  17     let description = await page.$eval('#about-help', el => el.textContent);
 
  19     assert.ok(description.includes('Nominatim is a search engine'));