レガシーに半身浴しているような、ふだんなかなか触らないけれど現役のレポジトリに潜んでいた亡霊を退治!!! Poltergeist + PhantomJS を消し去り、 Selenium + Headless Chromium に置き換えた。 このレポジトリは Rails による API バックエンドと SPA フロントエンド両方を管理しているもので、以下の2箇所で PhantomJS に依存していた。 Capybara による feature spec。PhantomJS の driver として poltergeist を使用。 Teaspoon による frontend の JavaScript test。Teaspoon は JS のテストランナーでもあり PhantomJS driver も内包している 。 両方について書いたら思いの外長くなってしまったのでこの記事では 1. の方
diff --git src/networkaccessmanager.cpp src/networkaccessmanager.cpp index fbe8af1..b04463b 100644 --- src/networkaccessmanager.cpp +++ src/networkaccessmanager.cpp @@ -59,6 +59,9 @@ static const char *toString(QNetworkAccessManager::Operation op) case QNetworkAccessManager::PostOperation: str = "POST"; break; + case QNetworkAccessManager::PatchOperation: + str = "PATCH"; + break; case QNetworkAcc
Speee エンジニア組織推進室の服部 (yhatt) です。 みなさん E2E テストされていますでしょうか。弊社の Ruby on Rails プロダクトにおいては、RSpec、Capybara、 Poltergeist を組み合わせ、 feature spec で E2E テストを行う構成が一般的でした。 そんな中、Chrome 59 に ヘッドレスモード (--headless) が搭載 されたことで、テストや CI 環境において、最新の Chrome 環境による E2E テストを実施できるようになりました。それに合わせて、PhantomJS のコアメンテナーがメンテナーを降りる ことを発表し、PhantomJS のアップデートや、継続的サポートは期待できない状況となっています。 ヘッドレス Chrome ことはじめ | Web | Google Developers [A
JSer.info #329 - Chrome 59βがリリースされました。 Chromium Blog: Chrome 59 Beta: Headless Chromium, native notifications on macOS, and service worker navigation preload Service Workerのnavigation preloadsのサポート、MediaError.messageのサポート、Image Capture APIの試験的サポートなどが行われています。 また、Headless Chromiumが追加されています。 詳しくは次の記事で解説されていますが、PhantomJSのようにXvfbなどが不要なChromeを動かすことができるモードです。 Getting Started with Headless Chrome | Web
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く