Hey there, Yes, Lighthouse is primarily designed for Chrome. You can also try LambdaTest Performance Metics, to view the performance metrics (Lighthouse Audits) on its online cloud based Selenium Grid. To know more: www.lambdatest.com/support/docs/view-lighthouse-performance-metrics/
Hey Kaushiki, Accessibility means designing products, devices, services, vehicles, or environments so that they’re accessible to specially-abled people. Automating Accessibility tests allows testers to save time and effort and ship products with quality and confidence. Among all the automation testing frameworks available, Cypress automation framework reduces complexity by offering an all-inclusive testing platform (FrontEnd, BackEnd, Accessibility, Performance Testing) rather than requiring you to select and piece together individual libraries for end-to-end testing.
Hi , I have the 2 test files in cypress e2etest1 and e2e test2 I ran the cypress command npx cypress run --browser chrome and I am able to see only 1 test file lighthouse report. How can I see the 2 lighthouse reports for 2 test files by running the command npx cypress run --browser chrome
Hi Naveen, To generate separate Lighthouse reports for both test files, you can run each test file individually using npx cypress run --spec "path/to/test1" --browser chrome and npx cypress run --spec "path/to/test2" --browser chrome.
Hi Naveen, To generate separate Lighthouse reports for each test file when running your Cypress tests in parallel, you need to ensure that each test file execution produces its own Lighthouse report. The issue arises because by default, Lighthouse generates a single report when tests are run in parallel.
Awesome
I have learned something new today. Thanks for sharing 🤗
Thanks Douglas. Glad you liked it!
Every day, I learn new things from your videos. Awaiting more videos on Cypress testing 🤩
Hi Mansi, Glad you liked it. You can keep following this playlist for more videos on Cypress Testing
Pretty nice video 🥰 It helped me! Thanks for the explanation.
Thanks Bhavya, Glad it was helpful!
Looks good. I've recently tried lighthouse but I'll end up ruling it out because it only works with chrome
Hey there,
Yes, Lighthouse is primarily designed for Chrome.
You can also try LambdaTest Performance Metics, to view the performance metrics (Lighthouse Audits) on its online cloud based Selenium Grid.
To know more:
www.lambdatest.com/support/docs/view-lighthouse-performance-metrics/
thanks a lot
Great video 🤩 I have a question. Do you also have a video explaining how to install a Cypress plugin in the first place?
Thanks Kinza. Yes, we do have a video to install Cypress plugging: ruclips.net/video/seGZwAty61c/видео.html
Amazing video 🤗 But may I know the purpose of accessibility testing with Cypress?
Hey Kaushiki, Accessibility means designing products, devices, services, vehicles, or environments so that they’re accessible to specially-abled people. Automating Accessibility tests allows testers to save time and effort and ship products with quality and confidence. Among all the automation testing frameworks available, Cypress automation framework reduces complexity by offering an all-inclusive testing platform (FrontEnd, BackEnd, Accessibility, Performance Testing) rather than requiring you to select and piece together individual libraries for end-to-end testing.
Hi , I have the 2 test files in cypress e2etest1 and e2e test2 I ran the cypress command npx cypress run --browser chrome and I am able to see only 1 test file lighthouse report. How can I see the 2 lighthouse reports for 2 test files by running the command npx cypress run --browser chrome
Hi Naveen,
To generate separate Lighthouse reports for both test files, you can run each test file individually using npx cypress run --spec "path/to/test1" --browser chrome and npx cypress run --spec "path/to/test2" --browser chrome.
@@LambdaTest I am running my scripts my parallely by using the concurrently dependency, so in that case I am not getting
Hi Naveen,
To generate separate Lighthouse reports for each test file when running your Cypress tests in parallel, you need to ensure that each test file execution produces its own Lighthouse report. The issue arises because by default, Lighthouse generates a single report when tests are run in parallel.
thanks a lot
You are most welcome