Skip to content

Commit

Permalink
Debug UI test
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Oct 11, 2024
1 parent bcaae00 commit 9a1bb6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui-tests/tests/ui.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test.describe('UI Test', () => {
page.setViewportSize({ width: 1920, height: 1080 });
page.on('console', message => {
if (message.type() === 'error') {
console.log('ERROR', message.text);
errors += 1;
}
});
Expand Down Expand Up @@ -87,6 +88,7 @@ test.describe('UI Test', () => {
page.setViewportSize({ width: 1920, height: 1080 });
page.on('console', message => {
if (message.type() === 'error') {
console.log('ERROR', message.text);
errors += 1;
}
});
Expand Down

0 comments on commit 9a1bb6f

Please sign in to comment.