Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@javascript and @selenium uses different databases #494

Closed
houen opened this issue Sep 14, 2011 · 2 comments
Closed

@javascript and @selenium uses different databases #494

houen opened this issue Sep 14, 2011 · 2 comments

Comments

@houen
Copy link

houen commented Sep 14, 2011

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 ;-)

@jnicklas
Copy link
Collaborator

Actually... it does.

@jnicklas
Copy link
Collaborator

On second thought, that documentation could definitely be improved.

@jnicklas jnicklas reopened this Sep 14, 2011
@lock lock bot locked and limited conversation to collaborators Aug 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants