@oguzhan18/angular-cypress
ALWAYS use when testing Angular applications with Cypress, E2E testing, or component testing in Angular.
No skills found in this collection.
SKILL.md
| name | angular-cypress |
| description | ALWAYS use when testing Angular applications with Cypress, E2E testing, or component testing in Angular. |
Angular + Cypress
Version: Cypress 13.x (2025) Tags: Cypress, E2E, Testing, Component Tests
References: Cypress • Cypress Angular
Best Practices
- Install Cypress
npm install -D cypress @cypress/angular cypress-visual-regression
npx cypress open
- Write E2E test
describe('My First Test', () => {
it('visits the kitchen sink', () => {
cy.visit('/');
cy.contains('type').click();
cy.get('.action-email').type('[email protected]');
cy.get('.action-email').should('have.value', '[email protected]');
});
});
- Write component test
import { mount } from 'cypress/angular';
import { ButtonComponent } from './button.component';
describe('ButtonComponent', () => {
it('renders button with text', () => {
mount(ButtonComponent, {
componentProperties: {
label: 'Click me'
}
});
cy.get('button').should('contain.text', 'Click me');
});
});
Loading...
Select a file to preview
Analyzing security...
Checking scan reports and verification data.
Bill of Materials
Everything this skill can do — files, network, commands, and more.
No demos yet. To add one, ask your AI agent: "Submit a demo for @oguzhan18/angular-cypress" — or upload via the API.
To add a demo, ask your AI agent: "Submit a demo for @oguzhan18/angular-cypress"
No eval data yet. Eval results are published via the SkillSafe API.