LoginSignup
2
0

More than 3 years have passed since last update.

CircleCIで動かしていたCypressのテストで`cy.screenshot() timed out waiting '30000ms' to complete.`が出まくるって死ぬ

Last updated at Posted at 2019-12-17

原因が分からずハマり倒したので、同じ事で困っている人の助けになれば!

いつものようにCircleCIでご機嫌にCypress走らせていたら、テストが下記のエラー吐きながら落ちまくるように
cy.screenshot() timed out waiting '30000ms' to complete.

コードも設定も1mmも変えていないのになんで!!?
と思っていたんですが、原因は常に最新のchromeを取ってくるようにしていたんですが、chromeのバージョンが上がったようで、そのせいで落ちいてました。

なので.circleci/config.yml

https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

https://confuzer.cloud/mirror/dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_78.0.3904.108-1_amd64.deb

にしてバージョンを78にしてあげると戻りました。

古いバージョンどからDLするのか迷ったんですが、下記からイケる感じでした
https://confuzer.cloud/mirror/dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0