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:
|
node_js:
|
||||||
- "8"
|
- "8"
|
||||||
|
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- "export DISPLAY=:99.0"
|
- "export DISPLAY=:99.0"
|
||||||
- "sh -e /etc/init.d/xvfb start"
|
- "sh -e /etc/init.d/xvfb start"
|
||||||
|
@ -76,6 +76,18 @@ module.exports = function (config) {
|
|||||||
|
|
||||||
browsers: ['Chrome'],
|
browsers: ['Chrome'],
|
||||||
|
|
||||||
|
customLaunchers: {
|
||||||
|
ChromeHeadless: {
|
||||||
|
base: 'Chrome',
|
||||||
|
flags: [
|
||||||
|
'--no-sandbox',
|
||||||
|
'--headless',
|
||||||
|
'--disable-gpu',
|
||||||
|
'--remote-debugging-port=9222'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
// Karma plugins loaded
|
// Karma plugins loaded
|
||||||
plugins: [
|
plugins: [
|
||||||
require('../node_modules/karma-jasmine'),
|
require('../node_modules/karma-jasmine'),
|
||||||
|
@ -30,7 +30,6 @@ import { ImageResolver } from '../document-list/data/image-resolver.model';
|
|||||||
})
|
})
|
||||||
export class ContentNodeSelectorComponent {
|
export class ContentNodeSelectorComponent {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated in 2.1.0
|
* @deprecated in 2.1.0
|
||||||
*/
|
*/
|
||||||
|
@ -54,8 +54,8 @@ export class CardViewTextItemComponent implements OnChanges {
|
|||||||
setEditMode(editStatus: boolean): void {
|
setEditMode(editStatus: boolean): void {
|
||||||
this.inEdit = editStatus;
|
this.inEdit = editStatus;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if(this.editorInput) {
|
if (this.editorInput) {
|
||||||
this.editorInput.nativeElement.click();
|
this.editorInput.nativeElement.click();
|
||||||
}
|
}
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user