mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[fix-build] add stable version chrome in travis conf (#2819)
* chrome stable
This commit is contained in:
parent
344725d6b5
commit
932a23d449
@ -4,6 +4,9 @@ sudo: false
|
||||
node_js:
|
||||
- "8"
|
||||
|
||||
addons:
|
||||
chrome: stable
|
||||
|
||||
before_install:
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
|
@ -76,6 +76,18 @@ module.exports = function (config) {
|
||||
|
||||
browsers: ['Chrome'],
|
||||
|
||||
customLaunchers: {
|
||||
ChromeHeadless: {
|
||||
base: 'Chrome',
|
||||
flags: [
|
||||
'--no-sandbox',
|
||||
'--headless',
|
||||
'--disable-gpu',
|
||||
'--remote-debugging-port=9222'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
// Karma plugins loaded
|
||||
plugins: [
|
||||
require('../node_modules/karma-jasmine'),
|
||||
|
@ -30,7 +30,6 @@ import { ImageResolver } from '../document-list/data/image-resolver.model';
|
||||
})
|
||||
export class ContentNodeSelectorComponent {
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated in 2.1.0
|
||||
*/
|
||||
|
@ -54,8 +54,8 @@ export class CardViewTextItemComponent implements OnChanges {
|
||||
setEditMode(editStatus: boolean): void {
|
||||
this.inEdit = editStatus;
|
||||
setTimeout(() => {
|
||||
if(this.editorInput) {
|
||||
this.editorInput.nativeElement.click();
|
||||
if (this.editorInput) {
|
||||
this.editorInput.nativeElement.click();
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user