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
3da481c03a
commit
ff2d8c36a8
@@ -110,8 +110,8 @@ describe('DateCellComponent', () => {
|
||||
checkDisplayedDate(expectedDate);
|
||||
checkDisplayedTooltip(expectedTooltip);
|
||||
});
|
||||
//eslint-disable-next-line
|
||||
xit('should display date and tooltip with based on appConfig values if dateConfig is NOT provided', () => {
|
||||
|
||||
it('should display date and tooltip with based on appConfig values if dateConfig is NOT provided', () => {
|
||||
const mockDateConfig: DateConfig = {};
|
||||
const expectedDate = 'Oct 25, 2023';
|
||||
const expectedTooltip = 'October 25, 2023 at 12:00:00 AM GMT+0';
|
||||
@@ -164,8 +164,8 @@ describe('DateCellComponent', () => {
|
||||
renderDateCell(mockDateConfig, yesterday, mockTooltip);
|
||||
checkDisplayedDate(expectedDate);
|
||||
});
|
||||
//eslint-disable-next-line
|
||||
xit('should display date with column format if dateConfig format is not provided', () => {
|
||||
|
||||
it('should display date with column format if dateConfig format is not provided', () => {
|
||||
component.column = mockColumn;
|
||||
const mockDateConfig: DateConfig = {
|
||||
tooltipFormat: 'short'
|
||||
|
@@ -191,8 +191,8 @@ describe('DateTimeWidgetComponent', () => {
|
||||
expect(field.isValid).toBeFalse();
|
||||
expect(field.validationSummary.message).toBe('D-M-YYYY hh:mm A');
|
||||
});
|
||||
// eslint-disable-next-line
|
||||
xit('should process direct keyboard input', async () => {
|
||||
|
||||
it('should process direct keyboard input', async () => {
|
||||
const field = new FormFieldModel(form, {
|
||||
id: 'date-field-id',
|
||||
name: 'date-name',
|
||||
|
Reference in New Issue
Block a user