All Projects → DevExpress → testcafe-angular-selectors

DevExpress / testcafe-angular-selectors

Licence: MIT License
TestCafe selector extensions for Angular apps.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to testcafe-angular-selectors

spring-boot-security-oauth2-google
Microservice using OAuth 2.0 and OpenID Connect to authenticate into Google and get information to a user.
Stars: ✭ 75 (+127.27%)
Mutual labels:  angularjs
angularjs-php-mysql-crud
ANGULARJS PHP MySQL CRUD With Pagination
Stars: ✭ 14 (-57.58%)
Mutual labels:  angularjs
cypress-angularjs-unit-test
Unit test Angularjs code using Cypress.io test runner
Stars: ✭ 23 (-30.3%)
Mutual labels:  angularjs
Mobile.UP
Mobile.UP
Stars: ✭ 13 (-60.61%)
Mutual labels:  angularjs
goodmodule
JavaScript tips (ES6, CSS, Benchmarks, React, Redux, ...)
Stars: ✭ 31 (-6.06%)
Mutual labels:  angularjs
newcomer
前端新人培训
Stars: ✭ 25 (-24.24%)
Mutual labels:  angularjs
react-tools-for-better-angular-apps
Use React ecosystem for unified and top notch DX for angular developement
Stars: ✭ 30 (-9.09%)
Mutual labels:  testcafe
angular-material-boilerplate
A straightforward and well structured boilerplate based on Google's Angular Material project.
Stars: ✭ 28 (-15.15%)
Mutual labels:  angularjs
encore-ui
UI Framework for Encore
Stars: ✭ 49 (+48.48%)
Mutual labels:  angularjs
social-security-tools
Website Source for https://ssa.tools/
Stars: ✭ 46 (+39.39%)
Mutual labels:  angularjs
ovh-manager-web
OVH Control Panel Web UI — Official Repository
Stars: ✭ 61 (+84.85%)
Mutual labels:  angularjs
testcafe-reporter-cucumber-json
TestCafe reporter to generate json in cucumber format
Stars: ✭ 18 (-45.45%)
Mutual labels:  testcafe
angular-footballdata-api-factory
AngularJS Factory for the football-data.org JSON REST API
Stars: ✭ 48 (+45.45%)
Mutual labels:  angularjs
frontend-test
Teste para Frontend na DevPartner
Stars: ✭ 18 (-45.45%)
Mutual labels:  angularjs
Technology-eBooks-Free
Free eBooks of Latest Technologies
Stars: ✭ 17 (-48.48%)
Mutual labels:  angularjs
materialdrive
Google Drive with Angular Material
Stars: ✭ 43 (+30.3%)
Mutual labels:  angularjs
bs-table
BsTable is an AngularJS directive that adds tfoot tag with pagination and page size selection to your table and watches changes on your collection in ng-repeat attribute.
Stars: ✭ 42 (+27.27%)
Mutual labels:  angularjs
DominicanWhoCodes
DominicanWho.Codes App
Stars: ✭ 58 (+75.76%)
Mutual labels:  angularjs
Ionic-ElastiChat-with-Images
Ionic Magic Chat with Angular Elastic, Autolinker.js and more!
Stars: ✭ 66 (+100%)
Mutual labels:  angularjs
simple-restful-api-angularjs
A simple RestAPI which interacts with AngularJS web application
Stars: ✭ 15 (-54.55%)
Mutual labels:  angularjs

testcafe-angular-selectors

This plugin provides Selector extensions that make it easier to test Angular applications with TestCafe. These extensions allow you to create a Selector to find elements on the page in a way that is native to Angular applications.

Install

npm install testcafe-angular-selectors

Usage

This module includes separate helpers for Angular and AngularJS applications.

See the following topics for more details:

Examples

For AngularJS applications, you need to use AngularJSSelector that contains a set of static methods to search by the specified bindings (byModel, byBinding and etc.).

import { AngularJSSelector } from 'testcafe-angular-selectors';
...
const newTodoItem = AngularJSSelector.byModel('newTodo');

For Angular applications, this module provides the capability to select an HTML element by an Angular's component selector or nested component selectors. You can find more information about Angular's component selector in the angular.io documentation topic. Also, this module provides the waitForAngular helper method. Use it to wait until Angular's component tree is loaded.

import { AngularSelector, waitForAngular } from 'testcafe-angular-selectors';

fixture `App tests`
    .page('http://angular-app-url')
    .beforeEach(async () => {
        await waitForAngular();
    });

test('test', async t => {
    const firstListItem = AngularSelector('list list-item');
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].