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

「Ef0503-uc01-t01 mypage お届け先編集削除」のE2Eテストがよく落ちる #4686

Closed
okazy opened this issue Sep 10, 2020 · 2 comments · Fixed by #4690
Closed
Milestone

Comments

@okazy
Copy link
Contributor

okazy commented Sep 10, 2020

概要(Overview)

以下のテストが高頻度で落ちてしまうので改善したいです。

改善案
https://zudoh.com/trouble-shooting/selenium-stale-element-reference-exception

1) EF05MypageCest: Ef0503-uc01-t01 mypage お届け先編集削除
 Test  codeception/acceptance/EF05MypageCest.php:mypage_お届け先編集削除
                                                                                                                                                                                                                                                                                                                                         
  [Facebook\WebDriver\Exception\StaleElementReferenceException] stale element reference: element is not attached to the page document
  (Session info: chrome=85.0.4183.83)
  (Driver info: chromedriver=85.0.4183.87 (cd6713ebf92fa1cacc0f1a598df280093af0c5d7-refs/branch-heads/4183@{#1689}),platform=Linux 5.4.0-1023-azure x86_64)  
                                                                                                                                                                                                                                                                                                                                         

Scenario Steps:

 23. $I->see("お届け先は登録されていません。","#page_mypage_delivery >...") at codeception/acceptance/EF05MypageCest.php:267
 22. $I->acceptPopup() at codeception/_support/Page/Front/CustomerAddressListPage.php:48
 21. $I->click("div.ec-addressList div:nth-child(1) a.e...") at codeception/_support/Page/Front/CustomerAddressListPage.php:47
 20. $I->see("マイページ/お届け先一覧","div.ec-pageHeader h1") at codeception/_support/Page/Front/CustomerAddressListPage.php:26
 19. $I->see("大阪市西区","div.ec-addressList div:nth-child(...") at codeception/acceptance/EF05MypageCest.php:261
 18. $I->click("div.ec-RegisterRole__actions button") at codeception/_support/Page/Front/CustomerAddressEditPage.php:96

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

テストが必ず通るまたは落ちる

再現手順(Procedure)

E2Eテストを実行

環境 (environment)

  • EC-CUBE: 4.0.5

関連情報 (Ref)

@okazy okazy added this to the 4.0.x milestone Sep 10, 2020
@nanasess
Copy link
Contributor

$I->acceptPopup() 絡みのようなので、 wait を入れてみては??

okazy added a commit to okazy/ec-cube that referenced this issue Sep 14, 2020
…のエラーでE2Eテストが落ちるので wait を入れてみる
@okazy
Copy link
Contributor Author

okazy commented Sep 14, 2020

コメントありがとうございます! #4690 でプルリク出しました。

kiy0taka pushed a commit that referenced this issue Sep 25, 2020
fix refs #4686 のエラーでE2Eテストが落ちるので wait を入れてみる
@okazy okazy modified the milestones: 4.0.x, 4.1 Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants