npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nuanst-one/playwright-devextreme-angular

v0.1.8

Published

Playwright test helpers for DevExtreme Angular components with Shadow DOM support

Readme

@nuanst-one/playwright-devextreme-angular

Playwright test helpers for DevExtreme Angular components with Shadow DOM support

npm version License

Installation

npm install --save-dev @nuanst-one/playwright-devextreme-angular

Requirements

  • Playwright: ^1.40.0 or higher
  • DevExtreme: >=20.0.0 (tested with ^23.2.0)
  • DevExtreme Angular: >=20.0.0 (tested with ^23.2.0)

Note: While the helpers may work with DevExtreme 20.0.0+, they are officially tested and supported with DevExtreme 23.2.0 and above. The helpers rely on:

  • Standard DevExtreme CSS classes (.dx-*, .dx-state-*)
  • ARIA attributes (role="gridcell", role="columnheader", aria-describedby)
  • Standard HTML structure patterns

If you're using an older version of DevExtreme, some features may not work as expected.

Features

  • ✅ Shadow DOM support for DevExtreme components
  • ✅ Dynamic component rendering handling
  • ✅ Component-specific helpers (Button, Input, DataGrid, Dropdown, etc.)
  • ✅ TypeScript support with full type definitions
  • ✅ Validation and state checking utilities
  • ✅ Popup and modal handling

Quick Start

import { 
  clickDevExtremeButton,
  fillDevExtremeInput,
  waitForDevExtremeDataGridLoad 
} from '@nuanst-one/playwright-devextreme-angular';

test('My test', async ({ page }) => {
  await fillDevExtremeInput(page, '#my-input', 'Hello');
  await clickDevExtremeButton(page, '#my-button');
  await waitForDevExtremeDataGridLoad(page, '#my-grid');
});

API Documentation

Core Utilities

waitForDevExtremeComponent(page, selector, options?)

Wait for a DevExtreme component to be fully initialized and rendered.

findInShadowDOM(page, hostSelector, innerSelector)

Find an element within a DevExtreme component's Shadow DOM.

waitForDevExtremeAsyncOperation(page, componentSelector, options?)

Wait for async operations (data loading, calculations) to complete.

Component Helpers

Button

  • clickDevExtremeButton(page, buttonSelector, options?)

Input/Editor

  • fillDevExtremeInput(page, inputSelector, value, options?)
  • getDevExtremeValue(page, editorSelector, options?)

Dropdown

  • selectDevExtremeDropdown(page, dropdownSelector, value, options?)

DataGrid

  • waitForDevExtremeDataGridLoad(page, gridSelector, options?)
  • getDevExtremeDataGridCellValue(page, gridSelector, rowIndex, columnIndex, options?)
  • clickDevExtremeDataGridCell(page, gridSelector, rowIndex, columnIndex, options?)

Popup/Modal

  • waitForDevExtremePopup(page, options?)
  • closeDevExtremePopup(page, options?)

Validation

  • waitForDevExtremeValidation(page, componentSelector, options?)
  • getDevExtremeValidationMessages(page, validationGroupSelector?)

State Checking

  • isDevExtremeComponentInState(page, componentSelector, state, options?)

Advanced Utilities

executeDevExtremeComponentMethod(page, componentSelector, methodName, ...args)

Execute a DevExtreme component method via Angular component instance.

Examples

For comprehensive usage examples, see the GitHub repository. The examples demonstrate:

  • Button component interactions
  • Input/Editor component usage
  • Dropdown/SelectBox selection
  • DataGrid operations
  • Popup/Modal handling
  • Validation workflows
  • Component state checking
  • Core utilities (Shadow DOM, async operations)

Reporting Issues

If you find a bug or have a feature request, please open an issue on GitHub with:

  • A clear description of the problem or feature
  • Steps to reproduce (for bugs)
  • Expected vs actual behavior
  • Environment details (Node.js version, Playwright version, DevExtreme version, etc.)

Contributing

If you'd like to contribute to this project, please see CONTRIBUTING.md for development setup, testing guidelines, and contribution instructions.

License

Apache-2.0