@@ -77,10 +77,8 @@ private function index()
7777 // ※ $this->browse() 入れ子対応。$this->login(), $this->logout()はなるべく$this->browse()内で使わない
7878 $ this ->login (1 );
7979 $ this ->browse (function (Browser $ browser ) {
80- // 画面表示がおいつかない場合があるので、ちょっと待つ
81- $ browser ->pause (500 );
82-
8380 $ browser ->visit ("/plugin/faqs/editBuckets/ " . $ this ->test_frame ->page_id . '/ ' . $ this ->test_frame ->id . '#frame- ' . $ this ->test_frame ->id )
81+ ->pause (500 )
8482 ->assertPathBeginsWith ('/ ' )
8583 ->click ('#label_narrowing_down_type_dropdown ' )
8684 ->press ("変更確定 " );
@@ -89,9 +87,9 @@ private function index()
8987
9088 $ this ->browse (function (Browser $ browser ) {
9189 $ browser ->visit ('/test/faq ' )
92- ->click ('#categories_id_ ' . $ this ->test_frame ->id )
9390 ->pause (500 )
9491 ->assertPathBeginsWith ('/ ' )
92+ ->click ('#categories_id_ ' . $ this ->test_frame ->id )
9593 ->screenshot ('user/faqs/index/images/index3 ' );
9694
9795 $ post = FaqsPosts::first ();
@@ -179,9 +177,9 @@ private function listCategories()
179177 // 実行
180178 $ this ->browse (function (Browser $ browser ) {
181179 $ browser ->visit ('/plugin/faqs/listCategories/ ' . $ this ->test_frame ->page_id . '/ ' . $ this ->test_frame ->id . '#frame- ' . $ this ->test_frame ->id )
182- ->click ('#div_general_view_flag_1 ' ) // カスタムチェックボックスのインプットとラベルをくくるdivは自動テスト時、ラベルが空の場合にクリックできないための対応
183180 ->pause (500 )
184181 ->assertPathBeginsWith ('/ ' )
182+ ->click ('#div_general_view_flag_1 ' ) // カスタムチェックボックスのインプットとラベルをくくるdivは自動テスト時、ラベルが空の場合にクリックできないための対応
185183 ->press ('変更 ' )
186184 ->screenshot ('user/faqs/listCategories/images/listCategories ' );
187185 });
0 commit comments