coryhouse / coryhouse/reactjsconsulting
Cypress
Open
- Dominant language
- JavaScript
- Stars
- 374
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
## Custom Commands
```ts
Cypress.Commands.add("findSectionByHeading", (heading) => {
return cy.findByRole("heading", { name: heading }).closest("section");
});
// This type is necessary for TypeScript
declare global {
namespace Cypress {
interface Chainable {
findSectionByHeading(heading: string): Chainable;
}
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.