Getting error: Error while waiting for Protractor to sync with the page: {}

后端 未结 5 2210
独厮守ぢ
独厮守ぢ 2020-12-15 11:22

My e2e.conf.coffee file is:

exports.config =
  baseUrl: \'http://localhost:9001\'
  specs: [
    \'e2e/**/*.coffee\'
  ]

  framework: \'jasmine         


        
5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 12:14

    I got this issue a couple of days back on my CT. My tests were running fine until 3 days back, but then this protractor sync error showed up and just won't go away with any of the solutions/hacks provided here and at https://github.com/angular/protractor/issues/2643.

    I checked that this issue only occurred in Firefox headless and worked fine with Chrome headless. Upgrading from Firefox v69 to the latest(v72 currently) fixed the issue. I do not know why the issue started manifesting itself and how it got fixed with the upgrade, but for what it is worth I thought this information might come in handy for someone else.

提交回复
热议问题