EC-CUBE / ec-cube

EC-CUBE is the most popular e-commerce solution in Japan
https://www.ec-cube.net
Other
746 stars 654 forks source link

ランダムで落ちるテスト #5808

Open chihiro-adachi opened 2 years ago

chihiro-adachi commented 2 years ago

概要(Overview)

ランダムで落ちるテストを記載しておきます。

1) EF08InvoiceCest: EF0801-UC01-T01_商品購入_税額確認
 Test  codeception/acceptance/EF08InvoiceCest.php:invoice_商品購入_税額確認

  [Facebook\WebDriver\Exception\UnexpectedAlertOpenException] unexpected alert open: {Alert text : カートへの追加に失敗しました。}
  (Session info: chrome=103.0.5060.134)  

Scenario Steps:

 57. $I->waitForElementVisible({"css":"div.ec-modal-box"}) at codeception/_support/Page/Front/ProductListPage.php:64
 56. $I->click({"class":"add-cart"}) at codeception/_support/Page/Front/ProductListPage.php:63
 55. $I->fillField({"css":"ul.ec-shelfGrid li.ec-shel...},4) at codeception/_support/Page/Front/ProductListPage.php:54
 54. $I->seeInCurrentUrl("/products/list") at codeception/_support/Page/Front/ProductListPage.php:21
 53. $I->click("button.ec-headerSearch__keywordBtn") at codeception/_support/Page/Front/TopPage.php:65
 52. $I->fillField({"class":"search-name"},"チョコ") at codeception/_support/Page/Front/TopPage.php:63
1) EA07BasicinfoCest: EA0701-UC01-T07_会員設定の設定、編集(マイページに注文状況を表示:有効)
 Test  codeception/acceptance/EA07BasicinfoCest.php:basicinfo_会員設定_マイページ注文状況
 Step  See "ご注文状況",".ec-historyRole"
 Fail  Element located either by name, CSS or XPath element with '.ec-historyRole' was not found.

Scenario Steps:

 25. $I->see("ご注文状況",".ec-historyRole") at codeception/acceptance/EA07BasicinfoCest.php:158
 24. $I->click("ul.ec-navlistRole__navlist li:nth-child...") at codeception/_support/Page/Front/MyPage.php:51
 23. $I->amOnPage("/mypage") at codeception/_support/Page/AbstractPage.php:38
 22. $I->click("#point_form > div.c-conversionArea > di...") at codeception/_support/Page/Admin/ShopSettingPage.php:99
 21. $I->wait(1) at codeception/_support/Page/Admin/ShopSettingPage.php:84
 20. $I->click("label[for='shop_master_option_mypage_or...") at codeception/_support/Page/Admin/ShopSettingPage.php:83
1) EA04OrderCest: EA0405-UC01-T01(& UC01-T02) 受注登録
 Test  codeception/acceptance/EA04OrderCest.php:order_受注登録
 Step  See "保存しました","div.c-container > div.c-contentsArea > div.alert.alert-success.alert-dismissible.fade.show.m-3 > span"
 Fail  Element located either by name, CSS or XPath element with 'div.c-container > div.c-contentsArea > div.alert.alert-success.alert-dismissible.fade.show.m-3 > span' was not found.

Scenario Steps:

 31. $I->see("保存しました","div.c-container > div.c-contents...") at codeception/acceptance/EA04OrderCest.php:356
 30. $I->wait(5) at codeception/_support/Page/Admin/OrderEditPage.php:177
 29. $I->click("#form1 > div.c-conversionArea > div > d...") at codeception/_support/Page/Admin/OrderEditPage.php:176
 28. $I->click("#searchProductModalList > table > tbody...") at codeception/_support/Page/Admin/OrderEditPage.php:169
 27. $I->waitForElementVisible("#searchProductModalList...") at codeception/_support/Page/Admin/OrderEditPage.php:161
 26. $I->click("#searchProductModalButton") at codeception/_support/Page/Admin/OrderEditPage.php:160
1) Eccube\Tests\Web\Block\CalendarControllerTest::testWeekendHolidaysStyle
InvalidArgumentException: The current node list is empty.

/home/runner/work/ec-cube/ec-cube/vendor/symfony/dom-crawler/Crawler.php:620
/home/runner/work/ec-cube/ec-cube/tests/Eccube/Tests/Web/Block/CalendarControllerTest.php:124
phpvfscomposer:///home/runner/work/ec-cube/ec-cube/vendor/phpunit/phpunit/phpunit:97
1) EF01TopCest: EF0101-UC01-T02 TOPページ 新着情報
 Test  codeception/acceptance/EF01TopCest.php:topページ_新着情報

  [Facebook\WebDriver\Exception\ElementClickInterceptedException] element click intercepted: Element is not clickable at point (351, 2925)
  (Session info: chrome=108.0.5359.124)  

Scenario Steps:

 7. $I->click({"css":"div.ec-newsRole__news > div:nth-c...}) at codeception/_support/Page/Front/TopPage.php:52
 6. $I->assertStringContainsString("コメント1","コメント1\n詳しくはこちら") at codeception/acceptance/EF01TopCest.php:110
 5. $I->grabTextFrom({"css":"div.ec-newsRole__news > di...}) at codeception/_support/Page/Front/TopPage.php:47
 4. $I->wait(1) at codeception/acceptance/EF01TopCest.php:107
 3. $I->scrollTo({"css":"div.ec-newsRole__news > ...},0,200) at codeception/_support/Page/Front/TopPage.php:40
 2. $I->click({"css":"div.ec-newsRole__news > d

期待する内容(Expect) or 要望 (Requirement)

再現手順(Procedure)

環境 (environment)

関連情報 (Ref)

nanasess commented 2 years ago

該当箇所は add_cart のバリデーションエラーとなっている模様。 在庫切れ?

___ FRONT __________________________________________________________________________________________
ページがみつかりません。
--> - ''
--> - /home/runner/work/ec-cube/ec-cube/src/Eccube/Controller/ProductController.php
--> - 344
--> extra: { url: /products/add_cart/8, ip: 127.0.0.1, http_method: POST, server: 127.0.0.1, referrer: 'http://127.0.0.1:8000/products/list?category_id=&name=%E3%83%81%E3%83%A7%E3%82%B3', user_agent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36', file: /home/runner/work/ec-cube/ec-cube/src/Eccube/Log/Logger.php, line: 66, class: Eccube\Log\Logger, callType: '->', function: log, uid: 4e26b96, user_id: 42, session_id: 285afa0c }