Update playwright to latest and update CI host

オープン
#4,422 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, typescript
領域
ci-cd, testing

調査の方向性

The failing spec is test-e2e/panels/autoassignment.test.ts, which calls page.click on a _react=ToolbarItem locator. Start by bumping @playwright/test from 1.57.0 in package.json and re-running the e2e suite locally to see whether the queryAll TypeError reproduces. Also check the CI workflow's runner image, since the issue asks to move off Ubuntu 26.04. Done means the e2e tests pass on the newer Playwright and the chosen CI host.

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

説明

Playwright from @playwright/test 1.57.0 does not support ubuntu 26.04.
Latest playwright version cause this kind of error on each test:

Error: page.click: TypeError: Cannot read properties of undefined (reading 'queryAll')
        at InjectedScript._queryEngineAll (<anonymous>:7241:48)
        at InjectedScript.querySelectorAll (<anonymous>:7228:30)
        at eval (eval at evaluate (:370:30), <anonymous>:2:42)
        at UtilityScript.evaluate (<anonymous>:372:16)
        at UtilityScript.<anonymous> (<anonymous>:1:44)
    Call log:
      - waiting for locator('_react=ToolbarItem[id="general-settings"]')

        at InjectedScript._queryEngineAll (<anonymous>:7241:48)
        at InjectedScript.querySelectorAll (<anonymous>:7228:30)
        at eval (eval at evaluate (:370:30), <anonymous>:2:42)
        at UtilityScript.evaluate (<anonymous>:372:16)
        at UtilityScript.<anonymous> (<anonymous>:1:44)
        at /home/runner/work/nmrium/nmrium/nmrium-oss/test-e2e/panels/autoassignment.test.ts:16:23
        at /home/runner/work/nmrium/nmrium/nmrium-oss/test-e2e/panels/autoassignment.test.ts:15:3
主要言語
TypeScript
スター
84
フォーク
35
平均マージ
3日 7時間
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

cheminfo/nmrium のほかの issue

cheminfo/nmrium の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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