UNPKG

@progress/kendo-e2e

Version:

Kendo UI end-to-end test utilities.

53 lines (38 loc) 1.51 kB
# kendo-e2e Selenium based e2e testing for web. ## Getting Started ```bash npm install @progress/kendo-e2e --save-dev ``` ```typescript import { Browser } from '@progress/kendo-e2e'; describe('My First Test', () => { let browser: Browser; beforeAll(async () => { browser = new Browser(); }); afterAll(async () => { await browser.close(); }); it('should load page and interact', async () => { await browser.navigateTo('https://example.com'); await browser.click('#login-button'); await browser.type('#username', 'testuser'); await browser.expect('.welcome-message').toBeVisible(); }); }); ``` ## Documentation - [Getting Started](./docs/GETTING_STARTED.md) - Quick start guide and basic usage - [API Reference](./docs/API_REFERENCE.md) - Complete API documentation - [Common Patterns](./docs/PATTERNS.md) - Real-world testing patterns and best practices ### AI/Copilot Integration To get better AI-powered suggestions when writing tests, you can create a `.github/copilot-instructions.md` file in your project: ```markdown When writing e2e tests with @progress/kendo-e2e, refer to the documentation in node_modules/@progress/kendo-e2e/docs/ for patterns, API usage, and best practices. Key points: - Browser is started once in beforeAll, closed in afterAll - All interactions have automatic waiting built-in - Avoid Page Object pattern for simple component tests ```