MitocGroup/adtechmedia-website

Add multi browser support for e2e tests

Opened this issue · 5 comments

  • Add Chrome,Firefox browsers in recink.yml config
  • Remove beforeEach windowResize function for large resolution to fix fails for Chrome and Firefox
  • Uncomment e2e execution part from travis.yml to run tests in Travis

There is an issue when running tests with Firefox browser and it is related to TestCafe framework which we are using for e2e tests.
I have reported the issue to TestCafe team and will come back with updates
DevExpress/testcafe#1684

At this time we have stable e2e execution on Nightmare browser in Travis CI

The issue is quite random and sometimes everything is passed, but taking into consideration that failed tests block us to merge the code I would propose to continue using Nightmare in Travis (as stable solution) and the rest of browsers like (Chrome, Firefox, Safari) only on my local machine until everything is resolved.

Will keep you posted.

I have added some details here and pending the following fix
DevExpress/testcafe#1684 (comment)

List of required browsers and display resolution will be updated
#345
#344

There are two use cases for multi browser support for e2e library:

Use case 1:

  • Safari browser is not supported in Travis CI
    I am looking for solutions and will come back with updates

Use case 2:

@avozicov It looks like the Test Cafe issue is fixed. Could you please update the status for this task?