Hey All. I'm trying to use Apparition as my driver. When I go to run the tests, rspec just hangs indefinitely. There's some console output from Apparition however:
Capybara starting Puma...
* Version 5.2.1 , codename: Fettisdagsbulle
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:63172
info: %cDownload the React DevTools for a better development experience: https://fb.me/react-devtools font-weight:bold
warning: Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
Please update the following components: %s Lightbox, Motion
Here is my config:
Capybara.register_driver :apparition_debug do |app|
Capybara::Apparition::Driver.new(app, {
headless: true,
debug: true,
timeout: 5,
browser_options: {
'disable-gpu' => nil,
'no-sandbox' => nil
}
})
end
Capybara.configure do |config|
config.default_max_wait_time = 10
config.always_include_port = true
config.default_driver = :apparition_debug
config.javascript_driver = :apparition_debug
end
Hey All. I'm trying to use Apparition as my driver. When I go to run the tests, rspec just hangs indefinitely. There's some console output from Apparition however:
Here is my config: