mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
upgrade to Angular 7 (#758)
* angular 7 upgrade * try to fix e2e failures * reduce wait for snackbar * wait presenceOf instead of visibilityOf * angular 7 upgrade * try to fix e2e failures * reduce wait for snackbar * wait presenceOf instead of visibilityOf * one more try to fix e2e snackbar issues * yet another try * only wait in some tests * diable animations, extra e2e app configuration * update tomcat e2e script * fix prod build memory use * use another type of wait * disable check to be investigated separately
This commit is contained in:
committed by
Cilibiu Bogdan
parent
408bacd483
commit
3a8dbcd7a4
@@ -26,7 +26,10 @@
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, RouteReuseStrategy } from '@angular/router';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import {
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule
|
||||
} from '@angular/platform-browser/animations';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import {
|
||||
TRANSLATION_PROVIDER,
|
||||
@@ -65,11 +68,12 @@ import { AppSearchInputModule } from './components/search/search-input.module';
|
||||
import { AppSearchResultsModule } from './components/search/search-results.module';
|
||||
import { AppLoginModule } from './components/login/login.module';
|
||||
import { AppHeaderModule } from './components/header/header.module';
|
||||
import { environment } from '../environments/environment';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
BrowserModule,
|
||||
BrowserAnimationsModule,
|
||||
environment.e2e ? NoopAnimationsModule : BrowserAnimationsModule,
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
RouterModule.forRoot(APP_ROUTES, {
|
||||
|
Reference in New Issue
Block a user