Take out and install the repeat command
Write tp @p[tag=test] 0 -60 0 0 -90 in the repeat command.(tp to look at the chest)
Install the chest at 0 -58 0
Write /tag @s add test in the chat window and run it.
Execute repeated commands
When you're done, the chest won't open.
Please do not duplicate your own reports (MCPE-178272). Your original report is waiting for you to add information, partly what you put in this report.