protractor-cucumber-framework icon indicating copy to clipboard operation
protractor-cucumber-framework copied to clipboard

Protractor being deprecated

Open Viktor-Bredihin opened this issue 3 years ago • 1 comments

Any plans/advices regarding this news?

https://applitools.com/blog/migrating-protractor-tests-angular/

Viktor-Bredihin avatar Nov 09 '21 13:11 Viktor-Bredihin

Hi @Viktor-Bredihin - protractor-cucumber-framework is powered by Serenity/JS, so my suggestion for test suites using Protractor is to adopt Serenity/JS Screenplay Pattern before Protractor gets deprecated. The difference between adopting Screenplay and simply re-writing your tests to use Cypress/Playwright/WebriverIO etc is that (apart from benefits related to code reuse, greater readability, better handling of async code and more) it will allow you to abstract your tests away from the underlying integration library, such as Protractor.

To get a feel of what's involved please see my TodoMVC demo for comparison of Protractor test script, Page Object-based implementation, and Screenplay Pattern-based implementation.

Please also have a look at the Serenity/JS Protractor Cucumber boilerplate project.

If you have any questions about the approach, please feel free to join our Serenity/JS Community Chat on Gitter

jan-molak avatar Nov 25 '21 12:11 jan-molak