EC-CUBE / EC-CUBE/ec-cube

ランダムで落ちるテスト

Open
#5,808 1 comment 0 reactions 0 assignees View on GitHub
bug:Low
Dominant language
PHP
Stars
788
Forks
719
Avg merge
4d 4h
Merged PRs (30d)
39

Description

## 概要(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)
+ EC-CUBE: 4.2.0-beta2
+ PHP: 7.x.x
+ DB:
- PostgreSQL x.x.x
- MySQL x.x.x

## 関連情報 (Ref)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.