Tests: AudioVideoCardsTest clicks Insert before the editor's toolbar has drawn

オープン 初心者向け
#889 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
85/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
laravel, php
領域
frontend, testing

調査の方向性

tests/Browser/AudioVideoCardsTest.phpを読み、特に85行目付近のナビゲーションとInsertのクリックを確認して、他のエディターテストがツールバーボタンを待つ方法と比較してください。クリックする前にInsertボタンが表示されるのを待つよう、テストを更新してください。エディターの描画が遅い場合でも、ブラウザーテストがタイムアウトしなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area/tests type/bug when/soon

tests/Browser/AudioVideoCardsTest.php ("it places an audio card from Insert, plays the chosen file in the…") failed twice in a row on CI during the 1.10.1 release (browser share 4 of 4), at line 85: click('[role="toolbar"] button:has-text("Insert")') timed out after 1000 ms. It passed on the run before and on the rerun, and nothing in that release touched the editor.

The click runs straight after navigate() to the editor, before the toolbar has drawn on a slow machine. Wait for the toolbar's Insert button, as the other editor tests were changed to do (one navigate, then wait for what is clicked), before clicking it.

主要言語
PHP
スター
1
フォーク
1
平均マージ
1時間 45分
マージ済み PR(30日)
162

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temecms/teme のほかの issue

temecms/teme の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。