OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
attempt to fix flickering spec
ulferts278871983f34
diff --git a/spec/features/users/create_spec.rb b/spec/features/users/create_spec.rbindex a9b31d8e09a..bfc42b5043f 100644--- a/spec/features/users/create_spec.rb+++ b/spec/features/users/create_spec.rb@@ -129,14 +129,6 @@ RSpec.describe "create users" doallow(User).to receive(:current).and_call_original- visit "/account/activate?token=#{token}"- end-- it "shows the login form prompting the user to login" do- expect(page).to have_text "Please login as bob to activate your account."- end-- it "registers the user upon submission" douser = User.find_by login: "bob"allow(User)@@ -149,10 +141,18 @@ RSpec.describe "create users" doallow(auth_source).to(receive(:authenticate).with("bob", "dummy")).and_return({ dn: "cn=bob,ou=users,dc=example,dc=com" })+ end++ it "registers the user upon submission" do+ visit "/account/activate?token=#{token}"+ wait_for_reload++ expect(page).to have_text "Please login as bob to activate your account."fill_in "password", with: "dummy" # accepted by DummyAuthSourceclick_button "Sign in", type: "submit"- wait_for_network_idle++ wait_for_reload# landed on the 'my page'expect(page).to have_text "Welcome to OpenProject, bobfirst boblast"