scribe/spec/setup/configure_lucky_flow.cr

13 lines
523 B
Crystal
Raw Permalink Normal View History

# For more detailed documentation, visit
# https://luckyframework.org/guides/testing/html-and-interactivity
2021-05-01 23:02:08 +02:00
LuckyFlow.configure do |settings|
settings.stop_retrying_after = 200.milliseconds
settings.base_uri = Lucky::RouteHelper.settings.base_uri
2023-05-06 16:53:31 +02:00
# By default, LuckyFlow is set in "headless" mode (no browser window shown).
# Uncomment this to enable running `LuckyFlow` in a Google Chrome window instead.
# Be sure to disable for CI.
# settings.driver = LuckyFlow::Drivers::Chrome
2021-05-01 23:02:08 +02:00
end
2023-05-06 16:53:31 +02:00
LuckyFlow::Spec.setup