You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Cucumber, Capybara and Selenium with Spork with Factory Girl creating records that are needed in the background steps. I discovered that the @Selenium tag on a test caused my RSpec Factory created records to not be seen by the selenium instance, while (after 2 days of debugging...) I found out that using the @javascript tag causes selenium to see the database.
I have no idea why, but it would be good if the README reflected that e.g. Factory Girl cannot interact with the database used by the @Selenium tag-fired selenium instance.
Anyway, now it works, and thank you for a great library. I hope someone else can save this time I spent literally wading through forums ;-)
The text was updated successfully, but these errors were encountered:
I am using Cucumber, Capybara and Selenium with Spork with Factory Girl creating records that are needed in the background steps. I discovered that the @Selenium tag on a test caused my RSpec Factory created records to not be seen by the selenium instance, while (after 2 days of debugging...) I found out that using the @javascript tag causes selenium to see the database.
I have no idea why, but it would be good if the README reflected that e.g. Factory Girl cannot interact with the database used by the @Selenium tag-fired selenium instance.
Anyway, now it works, and thank you for a great library. I hope someone else can save this time I spent literally wading through forums ;-)
The text was updated successfully, but these errors were encountered: