Skip to content

Commit

Permalink
add spec for checking BrowserContext#enable_debug_console!
Browse files Browse the repository at this point in the history
for #316
  • Loading branch information
YusukeIwaki committed Nov 30, 2024
1 parent b363280 commit b31ac57
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/integration/example_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
end
end

it 'should enable debug console', skip: ENV['CI'] do
with_context do |context|
context.enable_debug_console!
page = context.new_page
page.goto('https://example.com')
end
end

it 'should evaluate expression' do
with_page do |page|
expect(page.evaluate('2 + 3')).to eq(5)
Expand Down

0 comments on commit b31ac57

Please sign in to comment.