@daysmart/angular-qa-module
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

npm downloads npm bundle size (minified + gzip)

Setup

Add the QaModule to your application module so that the qa directive will be accessible.

...
import { QaModule } from '@daysmart/angular-qa-module';
...

@NgModule({
  declarations: [
    SomeComponent
  ],
  imports: [
    ...
    QaModule,
    ...
  ],
  providers: []
})
export class SomeModule {}

Usage

Add the qa directive to any element that you want to have a special data attribute added to. This helps to keep QA selectors and regular selectors separate to reduce refactoring E2E tests.

<button class="confirm" qa="submit-btn"></button>

Readme

Keywords

none

Package Sidebar

Install

npm i @daysmart/angular-qa-module

Weekly Downloads

3

Version

0.1.0

License

none

Unpacked Size

25 kB

Total Files

17

Last publish

Collaborators

  • joshua.warren
  • zhulingfang
  • kshxiong
  • anvesh.damuluri
  • prasanth.badabagni
  • danlametds
  • jonaskuh
  • vineesha.bodduluri
  • automaticgiant
  • jordanrickmandaysmart
  • devendra.deshmukh
  • shafik23
  • aclebert
  • mohammed.radhi
  • pavitra.srinivasan
  • wmcintyre
  • mberryman_daysmart
  • daysmartgithubactions
  • taylorgarpow
  • daysmartadmin
  • nthornton2010
  • shereefz
  • jenelle.farris