Skip to content

Commit

Permalink
Commented out manually mock the camera script
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-dynamsoft committed Sep 19, 2024
1 parent 3f10767 commit dd09ac8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/test-MRZScanner.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ test.describe("Verify the VIN Scanner Page title and veirfy user can select diff

test.beforeEach(async ({ mrzScannerPage }) => {

// Mock the camera
await mrzScannerPage.grantCameraPermission();
// // Mock the camera
// await mrzScannerPage.grantCameraPermission();

// Navigate to the VIN Scanner page
await mrzScannerPage.navigateTo();
Expand Down
2 changes: 1 addition & 1 deletion tests/pages/MRZScannerPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class MRZScannerPage {
}

async navigateTo() {
await this.grantCameraPermission();
// await this.grantCameraPermission();
await this.page.goto(URL);
await this.closeDialogIfPresent();
}
Expand Down

0 comments on commit dd09ac8

Please sign in to comment.