Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

会員登録と管理画面ログインのテスト追加 #248

Merged
merged 7 commits into from
Apr 5, 2019

Conversation

nanasess
Copy link
Contributor

  • Chrome WebDriver を利用するように変更
  • メール送信テストに mailcatcher を利用するように変更
  • faker 追加

ローカル環境で codeception を動作させるには

ローカルに必要なもの

  • Chrome
  • ChromeDriver
  • MailCatcher
    • codeception が最新版に対応していないため v0.6.5 を使用すること
  • PostgreSQL

実行方法

  1. PostgreSQL/MailCatcherはローカルで起動しておく
  2. EC-CUBEをビルトインウェブサーバーで起動しておく
    1. $ php -S localhost:8085 -t html
  3. ChromeDriverを起動しておく
    1. $ chromedriver --url-base=/wd/hub
  4. Codeceptionを実行
    1. $ data/vendor/bin/codecept run acceptance --env chrome --steps

@coveralls
Copy link

Coverage Status

Coverage remained the same at 22.644% when pulling 4af4916 on nanasess:use-webdriver into 6136c21 on EC-CUBE:improve/php7.

@nobuhiko nobuhiko self-requested a review March 30, 2019 01:12
@chihiro-adachi chihiro-adachi added this to the 2.17.0 milestone Apr 2, 2019
@chihiro-adachi chihiro-adachi merged commit 11f541a into EC-CUBE:improve/php7 Apr 5, 2019
@chihiro-adachi
Copy link
Contributor

@nanasess ありがとうございます。マージしました。

@nanasess nanasess deleted the use-webdriver branch May 23, 2019 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants