Cypress
Protractor
Our great sponsors
Cypress | Protractor | |
---|---|---|
174 | 19 | |
46,143 | 8,757 | |
0.6% | -0.1% | |
9.8 | 0.0 | |
about 14 hours ago | 11 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cypress
-
Simulating Internet Outage and Recovery using Cypress
In this blog post, we'll explore a Cypress test that replicates this scenario, utilizing the powerful intercept command to manipulate network requests and responses.
-
Testing Defer Blocks in Angular with Cypress
Recently I came across this issue while triaging some issues at Cypress. (Shout out to MattiaMalandrone for creating an issue with clear instructions for how to reproduce). After quickly replicating the issue I sought after a solution which ultimately inspired me to write this article.
- Cypress changed older versions to block third-party plugins (ignoring lockfiles)
- Cypress can't open Tesla.com website
-
What is Playwright?
While similar to Puppeteer, Cypress, and Selenium, there are some differences. Let’s find out what they are.
- Episode 23/37: ISR in Angular, Cypress & Playwright
-
/Does Cypress Component Testing Work With Libraries
This questions was asked a while ago and pretty much went unanswered: https://github.com/cypress-io/cypress/issues/23677. If it doesn't work with libraries yet I will stop battling with it for now. If it doesn't work, what are you using to test libraries?
- Finally promising Web Testing solution
-
Episode 23/27: NgRx 16.1 & Signal Store, Jest, Cypress, Nx
Cypress Release Notes
- Trouble/Weirdness with accessing aliased values in `this` context
Protractor
-
Introduction to Cypress and UI Test Automation
Cypress is a next-generation front-end Automation testing tool built for modern web applications. It is a JavaScript-based end-to-end testing framework and is known for faster test execution as compared with other testing tools (like Selenium or Protractor).
-
Overview over Angular’s repositories
Protractor repo (link)
-
Nx 14.5 - Cypess v10, Output globs, Linter perf, React Tailwind support
Protractor has been deprecated for a while on the Angular CLI side and given Nx has had Cypress support for a while it has never been a popular choice. Starting with this release we're deprecating the generator for setting up Protractor and we're planning on removing support entirely in Nx v15.
-
Angular CLI and Nx - Why?
In recent releases, the Angular CLI kept reducing its feature set, mainly due to tools such as Protractor as well as TSLint being deprecated. As a result, starting with Angular 14, the Angular CLI provides the following when generating a new application:
-
Help with automatization
The Protractor testing framework was created for e2e testing of Angular apps. https://www.protractortest.org/
- Unit testing library for Angular application
-
Protractor is dead, long live Cypress! - Part 1
Future of Angular E2E & Plans for Protractor · Issue #5502 · angular/protractor
-
Angular 12 in Depth
In April, the Angular team has announced plans to end the support of Protractor at the end of 2022.
-
Looking for some advise/direction on a new testing framework
"The Angular team plans to end development of Protractor at the end of 2022 (in conjunction with Angular v15)." - https://github.com/angular/protractor/issues/5502
-
What UI testing framework do you use and what do you like/dislike about it?
Angular will deprecate Protractor soon https://github.com/angular/protractor/issues/5502
What are some alternatives?
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
Detox - Gray box end-to-end testing and automation framework for mobile apps
WebdriverIO - Next-gen browser and mobile automation test framework for Node.js
jest - Delightful JavaScript Testing.
TestCafe - A Node.js tool to automate end-to-end web testing.
kafka-test-helper - Utility library that simplify testing of Node.js components that interacts with Kafka broker.
supertest - 🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
Nightmare - A high-level browser automation library.
Sentry - Developer-first error tracking and performance monitoring
jasmine - Simple JavaScript testing framework for browsers and node.js