diff --git a/src/components/Sing/SingEditor.vue b/src/components/Sing/SingEditor.vue index 27da8b6c09..a88a2c1ad7 100644 --- a/src/components/Sing/SingEditor.vue +++ b/src/components/Sing/SingEditor.vue @@ -89,6 +89,14 @@ onetimeWatch( notes: [], }, }); + + // CI上のe2eテストのNemoエンジンには歌手がいないためエラーになるのでワークアラウンド + // FIXME: 歌手をいると見せかけるmock APIを作り、ここのtry catchを削除する + try { + await store.dispatch("SET_SINGER", {}); + } catch (e) { + window.backend.logError(e); + } } await store.dispatch("SET_VOLUME", { volume: 0.6 }); @@ -101,8 +109,6 @@ onetimeWatch( }); isCompletedInitialStartup.value = true; - await store.dispatch("SET_SINGER", {}); - return "unwatch"; }, { diff --git a/src/components/Sing/ToolBar.vue b/src/components/Sing/ToolBar.vue index 4838290011..a8a8172d64 100644 --- a/src/components/Sing/ToolBar.vue +++ b/src/components/Sing/ToolBar.vue @@ -134,7 +134,6 @@