| name | init-e2e-tests |
|---|---|
| description | Use this guide to add e2e tests for a new project or app |
- Check the package.json file and decide about the type of the app: angular, vue or react
Compare uncommited git changes with the HEAD. If there are changes implementing new functionality write e2e tests for them, using cucumber. Otherwise, you're done.
| type: "session.start"; | |
| type: "session.resume"; | |
| type: "session.error"; | |
| type: "session.idle"; | |
| type: "session.title_changed"; | |
| type: "session.info"; | |
| type: "session.warning"; | |
| type: "session.model_change"; | |
| type: "session.mode_changed"; | |
| type: "session.plan_changed"; |
| > nx run angularboost:build:production | |
| [DomElementSchemaRegistry::constructor] Reading property Y undefined | |
| [DomElementSchemaRegistry::constructor] Reading property Y undefined | |
| [@angularboost/custom-builder] customApplicationBuilder started | |
| [@angularboost/custom-builder] Detected options: { | |
| customElementsPrefix: 'my-', | |
| customElementsManifestFilePath: 'custom-elements-manifest.json' | |
| } | |
| [@angularboost/custom-builder] Reading property X [Function: X] | |
| [@angularboost/custom-builder] Writing property Y |
| import { Component, EventEmitter, Input, Output } from '@angular/core'; | |
| import { ProductDto } from '@ev-customer-portal/frontend/api-client'; | |
| import { interval, Subject, takeUntil } from 'rxjs'; | |
| @AddDestroy$() | |
| @Component({...}) | |
| export class RequestAccessDialogComponent { | |
| public sub = interval(1000) | |
| .pipe(untilDestroy$(this)) | |
| .subscribe((v) => { |
| import { registerLocaleData } from '@angular/common'; | |
| import localeDe from '@angular/common/locales/de'; | |
| import { LOCALE_ID } from '@angular/core'; | |
| import { TestBed } from '@angular/core/testing'; | |
| import 'jest-preset-angular/setup-jest'; | |
| registerLocaleData(localeDe); | |
| // Error message: |
| import { DomElementSchemaRegistry, ElementSchemaRegistry, SchemaMetadata } from '@angular/compiler'; | |
| import { enableProdMode } from '@angular/core'; | |
| import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | |
| import { AppModule } from './app/app.module'; | |
| import { environment } from './environments/environment'; | |
| /** | |
| * As we are using the custom tags of the si-design-system, | |
| * we are forced to turn off template validation completely (applying CUSTOM_ELEMENTS_SCHEMA) | |
| * Writing a custom SchemaRegistry could be a solution to retain proper validation. | |
| * Still, there's no feasable solution at the moment |
| { | |
| "event": "Checkout.PaymentComplete", | |
| "eventData": { | |
| "checkout": { | |
| "completed": true, | |
| "id": "187376", | |
| "test_variant": "subscriptionManagement" | |
| }, | |
| "product": { | |
| "id": "0", |
| { | |
| "event": "Checkout.Complete", | |
| "eventData": { | |
| "checkout": { | |
| "completed": true, | |
| "id": "187376", | |
| "test_variant": "subscriptionManagement" | |
| }, | |
| "product": { | |
| "id": "0", |