capybara tag

6 questions


1 answers
366 views
0
Rspec Does Not Test Confirm Dialog

I am currently creating a test under spec/system as follows, but it does not work.Only the following articles are up to date on Rspec confirm.I don't know how to solve it.I would appreciate it if you ...


1 answers
63 views
0
I don't know how to test subdomains with docker-compose + Rails 5.1 + rspec + HeadlessChrome

environment:Rails: 5.1.5Ruby: 2.5.0capybara:2.18.0rspec-rails: 3.7.2selenium-webdriver: 3.10.0 I'm a beginner at Docker.We are currently creating a development environment with docker-compose as follo...


1 answers
57 views
0
When I press submit button in form in capybara, the data in the database disappears for some reason.

If you test it on your browser, it will succeed, but if you test it on capybara, it will fail.If you submit it on the edit screen as shown below, update it.def update # When the post button is pressed...


1 answers
97 views
0
RSpec x Capybara Modal Is Displayed but Will Not Find

I'd like to test the modal display when I press the user delete button The following error will be displayed:it Can delete other users do visit user_path(I18n.locale, other_user) page.dismiss_confirm(...

1 years ago

2 answers
71 views
0
DB contents not reflected in view when using Capybara and Poltergeist

With Poltergeist, the behavior of the Capybara test case is strange.First of all, if you don't use Poltergeist, the Capybara test case is success.before {create(:user)}it's test'do visit root_path exp...


2 answers
113 views
0
Japanese is garbled on the page opened in save_and_open_page of capybara.

The page opened using save_and_open_page in capybara will be garbled only in Japanese as shown below.Please let me know if there is any way to fix it.


© 2024 OneMinuteCode. All rights reserved.