Error "Network request failed" during test of a flow while using a delay function

The script for the first test scenario: