mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remaining unit test fixes for the Angular 15 update (#9218)
* removing excludes from working tests * test fixes for CategoriesManagementComponent * [ci:force] reenabling tests / fixes * fixes in process-services-cloud * change html element type * fix selector in StartProcessComponent
This commit is contained in:
committed by
VitoAlbano
parent
be2d9ffd1f
commit
705d938e94
@@ -373,8 +373,8 @@ describe('StartFormComponent', () => {
|
||||
expect(tabField2.name).toBe('Tab 2');
|
||||
expect(tabsWidgetElement).toBeTruthy();
|
||||
});
|
||||
// eslint-disable-next-line
|
||||
xit('should define title and [custom-action-buttons]', async () => {
|
||||
|
||||
it('should define title and [custom-action-buttons]', async () => {
|
||||
getStartFormSpy.and.returnValue(of(startMockFormWithTab));
|
||||
component.processDefinitionId = exampleId1;
|
||||
component.showOutcomeButtons = true;
|
||||
|
@@ -325,8 +325,7 @@ describe('StartProcessComponent', () => {
|
||||
expect(getDefinitionsSpy).toHaveBeenCalledWith(123);
|
||||
});
|
||||
|
||||
//eslint-disable-next-line
|
||||
xit('should display the correct number of processes in the select list', async () => {
|
||||
it('should display the correct number of processes in the select list', async () => {
|
||||
const selectElement = fixture.nativeElement.querySelector('button#adf-select-process-dropdown');
|
||||
selectElement.click();
|
||||
|
||||
|
Reference in New Issue
Block a user