π€ What is random error
Unstable tests. When you run the feature spec, it sometimes goes to fail and sometimes go to success.
π 1. Read the log and screenshot
omit.
π 2. Run the unstable test for 100 times.
Of course, you can use binding.pry
100.times do
scenario 'unstable test' do
# test something
binding.pry if something.is_not_expected
end
end
π Other ways
- under developmnet
π₯ Problems
[Capybara] find('input').set will have not done!
n350071π―π΅ γ» Dec 17 '19 γ» 1 min read
#capybara
#rspec
#rails
Top comments (0)