Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding playwright test to the project #13

Closed
wants to merge 145 commits into from
Closed

Conversation

eugene-dynamsoft
Copy link
Contributor

Merged in the playwright yml github action file and clean up the code a bit.

eugene-dynamsoft and others added 30 commits July 16, 2024 16:14
… will run test on on the vanilla js helloworld demo to check the title and get the cameraEnhancer class object to test out the getResolution() methods.

    The 'ui-test.spec.ts' script will run a test on felix's DBR/DLR integration to verify the title and make sure use can select all 3 different scan mode (text+barcode, text only, barcode only).
…ed install and test script to package.json file.
…s and index page. Chrome should have all tests working properly now. Firefox having an issue of getting all available camera resolutions. Could be related to using fake camera permission, will need to look further into this.
… will run test on on the vanilla js helloworld demo to check the title and get the cameraEnhancer class object to test out the getResolution() methods.

    The 'ui-test.spec.ts' script will run a test on felix's DBR/DLR integration to verify the title and make sure use can select all 3 different scan mode (text+barcode, text only, barcode only).
…ed install and test script to package.json file.
…s and index page. Chrome should have all tests working properly now. Firefox having an issue of getting all available camera resolutions. Could be related to using fake camera permission, will need to look further into this.
eugene-dynamsoft and others added 19 commits September 5, 2024 14:51
…age.goto path to local file since baseURL is defined in the playwright config setting already.
…operly in windows. Minor fix on cameraEnhancer copmarison in minimumElement test.
…e. Setting up non parallel test for test-VinScanner to avoid validation errro for selecting different scan mode buttons.
…est to be serial instead of parallel to prevent test failed
…ait to validate whether the button container exists prior to clicking on the scan mode buttons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants