ML-182.4: wave 4 conversion
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
id: ML-182.4
|
||||||
|
title: "Wave 4: Convert mixed-usage files (artist_live/show, stats_live/top_albums)"
|
||||||
|
status: To Do
|
||||||
|
assignee: []
|
||||||
|
created_date: "2026-05-14 22:14"
|
||||||
|
labels:
|
||||||
|
- testing
|
||||||
|
- refactoring
|
||||||
|
dependencies: []
|
||||||
|
modified_files:
|
||||||
|
- test/music_library_web/live/artist_live/show_test.exs
|
||||||
|
- test/music_library_web/live/stats_live/top_albums_test.exs
|
||||||
|
parent_task_id: ML-182
|
||||||
|
priority: medium
|
||||||
|
ordinal: 14000
|
||||||
|
---
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<!-- SECTION:DESCRIPTION:BEGIN -->
|
||||||
|
|
||||||
|
Convert mixed-usage files where some tests use `visit/2` and others use `live/2`.
|
||||||
|
|
||||||
|
- **artist_live/show_test.exs**: Most tests already use `visit/2` + `unwrap(&render_async/1)`. 4 tests in "Edit artist image" describe use `live/2` with `file_input/3`, `render_upload/3`, `render_submit/1`, `render_click/3`. PhoenixTest has `upload/3` equivalent. Need to verify field labels in artist image edit form.
|
||||||
|
- **stats_live/top_albums_test.exs**: Mixed `visit/2` and `live/2`. Tests using `live/2` check cover URL swapping and badge variants. Need to verify these assertions work with `visit/2` + `assert_has` after `unwrap(&render_async/1)`.
|
||||||
|
<!-- SECTION:DESCRIPTION:END -->
|
||||||
Reference in New Issue
Block a user