Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require "../spec_helper"
# This is due to race conditions in LuckyFlow.
# Ref: https://github.com/luckyframework/lucky_cli/issues/883
describe "Authentication flow", tags: "flow" do
pending "works" do
it "works" do
flow = AuthenticationFlow.new("test@example.com")

flow.sign_up "password"
Expand All @@ -20,7 +20,7 @@ describe "Authentication flow", tags: "flow" do
# Use the `visit` method's `as` option in your tests to sign in as that user.
#
# Feel free to delete this once you have other tests using the 'as' option.
pending "allows sign in through backdoor when testing" do
it "allows sign in through backdoor when testing" do
user = UserFactory.create
flow = BaseFlow.new

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require "../spec_helper"
# This is due to race conditions in LuckyFlow.
# Ref: https://github.com/luckyframework/lucky_cli/issues/883
describe "Reset password flow", tags: "flow" do
pending "works" do
it "works" do
user = UserFactory.create
flow = ResetPasswordFlow.new(user)

Expand Down
2 changes: 1 addition & 1 deletion src/lucky_cli/shard_file_generator.cr
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class ShardFileGenerator
{
"lucky_flow" => {
"github" => "luckyframework/lucky_flow",
"version" => "~> 0.10.1",
"version" => "~> 0.10.2",
},
}
end
Expand Down
3 changes: 3 additions & 0 deletions src/web_app_skeleton/spec/setup/start_app_server.cr.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ spawn do
app_server.listen
end

<%- if browser? -%>
LuckyFlow.wait_for_server
<%- end -%>
Spec.after_suite do
<%- if browser? -%>
LuckyFlow.shutdown
Expand Down