Skip to content

Commit

Permalink
PLT-5884 fix heading on simulation container
Browse files Browse the repository at this point in the history
  • Loading branch information
ladamesny committed May 31, 2023
1 parent 02e8b8a commit 68b290a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/src/features/contract-simulation.feature
Expand Up @@ -17,7 +17,7 @@ Feature: Custom text box for currency value inputs

When I click the "button" with "Send To Simulator" text
Then I should be on the "contract-simulation" page
# And I should see a "heading" with "SIMULATION HAS NOT STARTED YET" text
And I should see a "heading" with "Simulation has not started yet" text
And I should see a "button" with "Start simulation" text

When I fill in the "Currency Amount" input with "100"
Expand Down
5 changes: 4 additions & 1 deletion marlowe-playground-client/src/Page/Simulation/View.purs
Expand Up @@ -1146,7 +1146,10 @@ cardWidget :: forall p a. String -> HTML p a -> HTML p a
cardWidget name body =
let
title' = h6
[ classes [ noMargins, textSecondaryColor, bold, uppercase, textXs ] ]
[ classes [ noMargins, textSecondaryColor, bold, uppercase, textXs ]
, role "heading"
, label name
]
[ text name ]
in
div
Expand Down

0 comments on commit 68b290a

Please sign in to comment.