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
For some reason if I place same block of code in before hook, screenshot is not taken, even though exact same code in 'it' block triggers capybara to take screenshot. Looks like this:
screenshot is not taken:
describe 'title', type: :feature do
include_context 'User logged in'
describe 'When user logged in' do
before(:all) { do_something_causing_fail }
it 'Verify something' do
expect(something).to eq something
end
end
end
screenshot is taken:
describe 'title', type: :feature do
include_context 'User logged in'
describe 'When user logged in' do
before(:all) { }
it 'Verify something' do
do_something_causing_fail
expect(something).to eq something
end
end
end
Anybody had same issue before? Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
For some reason if I place same block of code in before hook, screenshot is not taken, even though exact same code in 'it' block triggers capybara to take screenshot. Looks like this:
screenshot is not taken:
screenshot is taken:
Anybody had same issue before? Any help would be appreciated!
The text was updated successfully, but these errors were encountered: