Skip to content

Commit

Permalink
removing visual regression due to complexity of handliing for playwri…
Browse files Browse the repository at this point in the history
…ght vs checkly test
  • Loading branch information
modern-sapien committed Oct 16, 2024
1 parent 7b026fa commit 93cf44c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions next-webstore/tests/e2e/visit.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ test('does a simple visit and confirms the title and that it looks correct', asy

await page.waitForTimeout(1000);

if( defaults.projectEnv === 'staging' || 'production') {
await expect(page).toHaveScreenshot();

} else {
console.log('test complete')
}
// if (defaults.projectEnv == 'staging' || 'production') {
// await expect(page).toHaveScreenshot();
// } else {
// console.log('test complete');
// }
});

0 comments on commit 93cf44c

Please sign in to comment.