0.1.0 • Published 3 years ago

@daysmart/angular-qa-module v0.1.0

Weekly downloads
335
License
-
Repository
-
Last release
3 years ago

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>
0.1.0

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago