11module Main.View.Page.App.Run exposing (..)
22
33import Html exposing (Html , a , br , button , details , div , h5 , hr , li , p , small , span , summary , text , ul )
4- import Html.Attributes exposing (class , href , id , style , tabindex , target )
4+ import Html.Attributes exposing (attribute , class , href , id , style , tabindex , target )
55import Html.Events exposing (stopPropagationOn )
66import Json.Decode as Decode
77import Main.Config exposing (..)
@@ -34,6 +34,7 @@ viewPageAppRun model pageApp =
3434 [ div
3535 [ class " modal show"
3636 , style " display" " block"
37+ , attribute " data-testid" " run-modal-container"
3738 , tabindex - 1
3839 , style " background-color" " rgba(0,0,0,0.5)"
3940 , onClick ( Update_RouteWithoutHistory onClickRoute)
@@ -47,6 +48,7 @@ viewPageAppRun model pageApp =
4748 [ h5 [ class " modal-title" ] [ text ( " Run " ++ pageApp. pageApp_route. routeApp_name) ]
4849 , button
4950 [ class " btn-close"
51+ , attribute " data-testid" " close-modal-button"
5052 , onClick ( Update_RouteWithoutHistory onClickRoute)
5153 ]
5254 []
@@ -87,6 +89,7 @@ viewPageAppRunRuntime _ pageApp appRuntime =
8789 )
8890 , style " cursor" " pointer"
8991 , style " border" " none"
92+ , attribute " role" " tab"
9093 , id <| " run-" ++ ( showAppRuntime appRuntime |> String . toLower)
9194 , let
9295 route =
0 commit comments