Search code examples
seleniumwebdriver-iocodeceptjs

Is expected that tests that works on chrome, fails on firefox?


I have a test that pass on chrome, but fails on firefox.

Here the test:

Scenario.only('Test', (I) => {

    I.see('token')
    I.click('.fa-edit')
    I.wait(1)
    I.fillField('input.EditableTitle__input','enkot')

    I.see('enkot'); fails here
});

The input has the value 'token' already. Using pause(), i saw that the field is not been filled in firefox, it just erase the actual value after losing focus. In chrome it works normally

  • Codeceptjs 1.4.3
  • webdriverio 4.13.2
  • selenium 6.15.3
  • firefox 62.0.3

Solution

  • There is a issue about your problem at CodeceptJs as a fillFilled work on chrome, not on firefox. It looks like it is a Firefox issue and it works well on selenium 3.4.0 and geckodriver 0.18.0