Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6946355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:33:17+00:00 2026-05-27T13:33:17+00:00

first, sorry for the bad english. I have a test that submit a login

  • 0

first, sorry for the bad english.

I have a test that submit a login form.
after redirect, when I test for a message ‘successfully logged…’
then my page.body is

'<h1>Not Found</h1>'

but this works perfectly on browser manual test.

what should I’m doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:33:18+00:00Added an answer on May 27, 2026 at 1:33 pm

    Sounds likely that one of your steps is redirecting in a way that you do not expect.

    1. Check your before filters on the controller and application_controller to determine whether a login/I18n filter is redirecting your page.

    2. If you have the launchy gem installed, you can also add the following to your steps:

      And show me the page
      

      Which will fire-up a browser with what capybara is actually looking at, which is useful for sanity checking your steps.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First, sorry for my bad english. I have an EF entity that looks like:
First, sorry for my bad english, I'm French. Here the problem : I have
First, im sorry to my bad english :). My object have one variable of
(first, sorry for my bad english, i'm a beginner) I have a chart of
First of all, sorry for my bad English... I have a problem with one
First sorry for my bad English. I have this menubar in PHP. I want
First thanks for reading me and sorry for my bad english. I have the
First, sorry for my bad English. I'm making a Coupons site and have trouble
At first sorry my bad English. I want define routing for this url: For
at first sorry my bad English I want load model in my plugin controller

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.