From e3fa1728a93af606b9621f18cd5a9655fc5bceb9 Mon Sep 17 00:00:00 2001 From: KMY Date: Thu, 1 Feb 2024 12:15:55 +0900 Subject: [PATCH] Fix test --- .github/workflows/test-ruby.yml | 2 +- app/javascript/mastodon/features/ui/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index fcb637d4b0..e17a4c1add 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -226,7 +226,7 @@ jobs: if: failure() with: name: e2e-screenshots - path: tmp/screenshots/ + path: tmp/capybara/ test-search: name: Elastic Search integration testing diff --git a/app/javascript/mastodon/features/ui/index.jsx b/app/javascript/mastodon/features/ui/index.jsx index fb2d4fecd8..237b334dc8 100644 --- a/app/javascript/mastodon/features/ui/index.jsx +++ b/app/javascript/mastodon/features/ui/index.jsx @@ -468,7 +468,7 @@ class UI extends PureComponent { handleHotkeyNew = e => { e.preventDefault(); - const element = this.node.querySelector('.compose-form__autosuggest-wrapper textarea'); + const element = this.node.querySelector('.compose-form__scrollable textarea'); if (element) { element.focus();