mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
committed by
Eugenio Romano
parent
53d96679ea
commit
e39a2b149b
@@ -92,7 +92,7 @@ describe('DropdownSitesComponent', () => {
|
||||
component = fixture.componentInstance;
|
||||
}));
|
||||
|
||||
function openSelectbox() {
|
||||
function openSelectBox() {
|
||||
const selectBox = debug.query(By.css(('[data-automation-id="site-my-files-select"] .mat-select-trigger')));
|
||||
selectBox.triggerEventHandler('click', null);
|
||||
}
|
||||
@@ -137,7 +137,7 @@ describe('DropdownSitesComponent', () => {
|
||||
it('should show the default placeholder label by default', async(() => {
|
||||
fixture.detectChanges();
|
||||
|
||||
openSelectbox();
|
||||
openSelectBox();
|
||||
|
||||
fixture.whenStable().then(() => {
|
||||
fixture.detectChanges();
|
||||
@@ -151,7 +151,7 @@ describe('DropdownSitesComponent', () => {
|
||||
component.placeholder = 'NODE_SELECTOR.SELECT_LOCATION';
|
||||
fixture.detectChanges();
|
||||
|
||||
openSelectbox();
|
||||
openSelectBox();
|
||||
|
||||
fixture.whenStable().then(() => {
|
||||
fixture.detectChanges();
|
||||
@@ -181,7 +181,7 @@ describe('DropdownSitesComponent', () => {
|
||||
|
||||
fixture.detectChanges();
|
||||
|
||||
openSelectbox();
|
||||
openSelectBox();
|
||||
|
||||
let options: any = [];
|
||||
fixture.whenStable().then(() => {
|
||||
@@ -228,7 +228,7 @@ describe('DropdownSitesComponent', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should be possiblle to select the default value', (done) => {
|
||||
it('should be possible to select the default value', (done) => {
|
||||
component.value = 'swsdp';
|
||||
fixture.detectChanges();
|
||||
|
||||
|
Reference in New Issue
Block a user