Skip to content

Commit

Permalink
fixing e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrdyn committed Nov 25, 2024
1 parent dd9816e commit 42db254
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const customLogLevelProcessor = [
},
];

export const datasetNames = ['synth.1', 'synth.2', 'synth.3'];
export const datasetNames = ['synth.1', 'synth.2', 'synth.3', 'synth.failed'];
export const defaultNamespace = 'default';
export const productionNamespace = 'production';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function ({ getService, getPageObjects }: DatasetQualityFtrProvid
}),
// Ingest Failed Logs
createFailedRecords({
to: new Date().toISOString(),
to,
count: 10,
dataset: failedDatasetName,
rate: 0.5,
Expand Down Expand Up @@ -104,6 +104,7 @@ export default function ({ getService, getPageObjects }: DatasetQualityFtrProvid
defaultNamespace,
defaultNamespace,
defaultNamespace,
defaultNamespace,
productionNamespace,
]);

Expand All @@ -125,6 +126,7 @@ export default function ({ getService, getPageObjects }: DatasetQualityFtrProvid
PageObjects.datasetQuality.texts.noActivityText,
PageObjects.datasetQuality.texts.noActivityText,
PageObjects.datasetQuality.texts.noActivityText,
PageObjects.datasetQuality.texts.noActivityText,
]);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export function createDegradedFieldsRecord({
});
}

export const datasetNames = ['synth.1', 'synth.2', 'synth.3'];
export const datasetNames = ['synth.1', 'synth.2', 'synth.3', 'synth.failed'];
export const defaultNamespace = 'default';
export const productionNamespace = 'production';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
}),
// Ingest Failed Logs
createFailedRecords({
to: new Date().toISOString(),
to,
count: 10,
dataset: failedDatasetName,
rate: 0.5,
Expand Down Expand Up @@ -128,6 +128,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
PageObjects.datasetQuality.texts.noActivityText,
PageObjects.datasetQuality.texts.noActivityText,
PageObjects.datasetQuality.texts.noActivityText,
PageObjects.datasetQuality.texts.noActivityText,
]);
});

Expand Down

0 comments on commit 42db254

Please sign in to comment.