-
Notifications
You must be signed in to change notification settings - Fork 710
E2Eテストの修正 #4604
Copy link
Copy link
Closed
Description
概要(Overview)
experimental/symfony4.4ブランチにて、以下のE2Eテストに失敗します。
https://github.com/EC-CUBE/ec-cube/pull/4596/checks?sha=98bf362614ea4758123b5ea5735375b0fcce038c
1) EA06ContentsManagementCest: Ea0603-uc01-t01(& uc01-t02/uc01-t03/uc01-t04/uc01-t05) ページ管理
Test codeception/acceptance/EA06ContentsManagementCest.php:contentsmanagement_ページ管理
Step See "新着情報",".ec-newsRole"
Fail Element located either by name, CSS or XPath element with '.ec-newsRole' was not found.
Scenario Steps:
42. $I->see("新着情報",".ec-newsRole") at codeception/acceptance/EA06ContentsManagementCest.php:190
41. $I->amOnPage("/user_data/page_incidunt") at codeception/acceptance/EA06ContentsManagementCest.php:189
40. $I->see("保存しました",{"xpath":"//div[@class='alert ale...}) at codeception/acceptance/EA06ContentsManagementCest.php:188
39. $I->click("#form1 > div > div.c-conversionArea > d...") at codeception/_support/Page/Admin/LayoutEditPage.php:39
38. $I->waitForElementVisible("#form1 > div > div.c-co...") at codeception/_support/Page/Admin/LayoutEditPage.php:38
37. $I->dragAndDrop({"xpath":"//div[cont...},"#position_4") at codeception/_support/Page/Admin/LayoutEditPage.php:47
1) EA03ProductCest: Ea0305-uc01-t01(& uc01-t02/uc02-t01/uc04-t01) カテゴリ登録/編集/削除
Test codeception/acceptance/EA03ProductCest.php:product_カテゴリ登録
Step Click "body > div > div.c-contentsArea > div.c-contentsArea__cols > div.c-contentsArea__primaryCol > div > div > div > div > ul > li:nth-child(3) > div > div.col-auto.text-right > div > a"
Fail Link or Button or CSS or XPath element with 'body > div > div.c-contentsArea > div.c-contentsArea__cols > div.c-contentsArea__primaryCol > div > div > div > div > ul > li:nth-child(3) > div > div.col-auto.text-right > div > a' was not found.
Scenario Steps:
26. $I->click("body > div > div.c-contentsArea > div.c...") at codeception/_support/Page/Admin/CategoryManagePage.php:83
25. $I->see("保存しました","body > div > div.c-contentsArea ...") at codeception/acceptance/EA03ProductCest.php:615
24. $I->click("#form1 > div:nth-child(2) > div:nth-chi...") at codeception/_support/Page/Admin/CategoryManagePage.php:48
23. $I->fillField({"id":"admin_cat...},"test category11-1") at codeception/_support/Page/Admin/CategoryManagePage.php:41
22. $I->see("test category11","body > div > div.c-cont...") at codeception/acceptance/EA03ProductCest.php:610
21. $I->click("body > div.c-container > div.c-contents...") at codeception/_support/Page/Admin/CategoryManagePage.php:55
2) EA03ProductCest: Ea0307-uc01-t01(& uc01-t02) カテゴリcsv登録
Test codeception/acceptance/EA03ProductCest.php:product_カテゴリCSV登録
Step See element {"xpath":"//*[@id="page_admin_product_category"]/div[1]/div[3]/div[3]/div[1]/div/div/div/div/ul/li/div/div[3]/a[contains(text(), "アップロードカテゴリ1")]"}
Fail Failed asserting that an array is not empty.
Scenario Steps:
14. $I->seeElement({"xpath":"//*[@id="page_admin_produ...}) at codeception/acceptance/EA03ProductCest.php:700
13. $I->see("カテゴリ管理商品管理",".c-pageTitle") at codeception/_support/Page/Admin/AbstractAdminPageStyleGuide.php:27
12. $I->amOnPage("/admin/product/category") at codeception/_support/Page/Admin/AbstractAdminPage.php:32
11. $I->see("CSVファイルをアップロードしました",".c-container div.c-c...") at codeception/acceptance/EA03ProductCest.php:696
10. $I->click({"id":"upload-button"}) at codeception/_support/Page/Admin/CategoryCsvUploadPage.php:44
9. $I->attachFile({"id":"admin_csv_impo...},"category.csv") at codeception/_support/Page/Admin/CategoryCsvUploadPage.php:37
環境 (environment)
- EC-CUBE: 4.1.x
- PHP: 7.x.x
- DB:
- PostgreSQL x.x.x
- MySQL x.x.x
関連情報 (Ref)
Reactions are currently unavailable