Follow-up from `Add the right side of 'code flow' that including code viewer`
The following discussion from !158532 (merged) should be addressed:
- @aturinske start a discussion: (+1 comment)
suggestion: I think you are missing some test cases in this file; you added a lot of logic to
code_flow_file_viewer
some test cases I can think of
- does the alert not render if there is not an error
- do all of the buttons conditionally render as expected
- does clicking the first button work as expected
- does clicking the second button work as expected
- do the right amount of buttons render as expected
- do the computed strings render as expected