text: const puppeteer = require('puppeteer');
  const VisualDiff = require('@brightspace-ui/visual-diff');
  
  describe('d2l-quick-eval-search-results-summary-container', function() {
  
  	const visualDiff = new VisualDiff('search-results-summary-container', __dirname);
  
  	let browser, page;
  
  	before(async() => {
  		browser = await puppeteer.launch();
  		page = await visualDiff.createPage(browser);
  		await page.goto(`${visualDiff.getBaseUrl()}/test/d2l-quick-eval/perceptual/d2l-quick-eval-search-results-summary-container.visual-diff.html`, { waitUntil: ['networkidle0', 'load'] });
  		await page.bringToFront();
  	});
  
  	after(() => browser.close());
  
  	[
  		'zero-no-more',
  		'zero-more',
  		'one-no-more',
  		'one-more',
  		'many-no-more',
  		'many-more',
  		'rtl'
  	].forEach((name) => {
  		it(name, async function() {
  			const rect = await visualDiff.getRect(page, `#${name}`);
  			await visualDiff.screenshotAndCompare(page, this.test.fullTitle(), { clip: rect });
  		});
  	});
  
  });
  