Browser compatibility testing in automated unit tests for new angular framework codes

407 Views Asked by At

Is it possible to test the browser compatibility using automated JavaScript unit tests?

I have to test my angular 6 code for some dom test cases in different browser scenarios. This unit tests should run in CI build.

1

There are 1 best solutions below

0
Apokralipsa On

You can configure karma to run multiple browsers using launchers. For example you can add the firefox launcher or edge launcher to your karma.config.js file depending on what browsers you need and/or have on the CI agents.