%&tex
\documentclass{standalone}
\usepackage{siltex}
\usepackage{tikz}
\usetikzlibrary {arrows.meta,graphs,positioning,shapes.geometric}
\tikzset{nodes={text height=.7em, text width=1.7cm, align=center,
draw=black!50, thick, fill=white, font=\footnotesize},
>={Stealth[round,sep]}, rounded corners, semithick}

\begin{document}
\begin{tikzpicture}
    [on grid,y=3.0cm,x=3.0cm, auto,
    decision/.style={diamond, text width=4em,align=flush center, inner sep=1pt},
    block/.style={rectangle, minimum height=4em, text width=4em},
    cloud/.style ={draw=red, thick, ellipse,fill=red!20, minimum height=2em}]

    \node[block] (ft)[fill=lightgray] {Start:\\Failed Test};
    \node[decision] (pb)[below = 1 of ft] {Passed Before?};
    \node[decision] (ep)[below = 1 of pb] {Expected to pass?};
    \node[decision] (ef)[right = 1 of pb] {Expected to fail?};
    \node[block]  (cont)[below = 1 of ef] {Continue, add next detail};
    \node[decision] (fu)[right = 1 of cont] {Will pass in future?};
    \node[block]   (res)[below = 0.8 of cont] {Review Design};
    \begin{scope}[nodes={draw=none, fill=none, midway,text width={}}]
        \path[->] (ft) edge (pb)
                  (pb) edge node {no}  (ep)
                  (ep) edge node {no}  (cont)
                  (pb) edge node {yes} (ef)
                  (ef) edge node {yes} (cont)
                  (fu) edge node {yes} (cont);
        \draw[->] (ep) |- node[near start] {yes} (res);
        \draw[->] (ef) -| node[near start] {no} (fu);
        \draw[->] (fu) |- node[near start] {no} (res);
    \end{scope}
\end{tikzpicture}
\end{document}

