Software Alternatives, Accelerators & Startups

Migrating Selenium system tests to Cuprite

Phantomjs Capybara
  1. PhantomJS is a headless browser that works hand in hand with Selenium to help developers more efficiently test their sites and apps.
    In our project, weโ€™ve been running system tests (then called rather "Feature tests") since around 2016. System tests use a real browser in the background and test all layers of a Rails application at once: from the database all the way up to the nuances of JavaScript loaded together with the web pages. Back then, we wrote our system tests using Capybara with Poltergeist, a driver that ran a headless Phantom JS browser. Since this browser stopped being actively developed, we migrated our test suite to the Selenium / Webdriver wrapper around Chrome browser around ~2018. Chrome was itself fine for tests automation but the Selenium APIย was quite limited and we had to rewrite several Poltergeist features using 3rd party gems and tools.

    #Development Tools #Javascript UI Libraries #JavaScript Framework 11 social mentions

  2. Capybara helps you test web applications by simulating how a real user would interact with your app.
    In our project, weโ€™ve been running system tests (then called rather "Feature tests") since around 2016. System tests use a real browser in the background and test all layers of a Rails application at once: from the database all the way up to the nuances of JavaScript loaded together with the web pages. Back then, we wrote our system tests using Capybara with Poltergeist, a driver that ran a headless Phantom JS browser. Since this browser stopped being actively developed, we migrated our test suite to the Selenium / Webdriver wrapper around Chrome browser around ~2018. Chrome was itself fine for tests automation but the Selenium APIย was quite limited and we had to rewrite several Poltergeist features using 3rd party gems and tools.

    #Testing #Automated Testing #Website Testing 12 social mentions

Discuss: Migrating Selenium system tests to Cuprite

Log in or Post with