import { browser } from 'protractor' ; /**
 * Compare the screenshots to detect visual changes.
 *
 * We can only compare on a Linux environment, otherwise font rendering
 * is different and we will always have variations causing tests to fail.
 */ export async function imageCompare ( name ) { return await browser . imageComparison . checkScreen ( name ) ; } /**
 * Compare the full page screenshots to detect visual changes.
 *
 * We can only compare on a Linux environment, otherwise font rendering
 * is different and we will always have variations causing tests to fail.
 */ export async function imageCompareFullPageScreen ( name ) { return await browser . imageComparison . checkFullPageScreen ( name ) ; }