Skip to content

Commit

Permalink
fix: Various cypress tests (#3368)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikriemer authored Dec 3, 2024
1 parent 21d5610 commit fa6ee97
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
15 changes: 9 additions & 6 deletions ui/cypress/tests/datalake/timeRangeSelectors.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@ import {

describe('Test Time Range Selectors in Data Explorer', () => {
const periods = [
{ selector: 1, start: (now: Date) => subMinutes(now, 15) },
{ selector: 2, start: (now: Date) => subHours(now, 1) },
{ selector: 4, start: (now: Date) => subDays(now, 1) },
{ selector: 6, start: (now: Date) => subWeeks(now, 1) },
{ selector: 8, start: (now: Date) => subMonths(now, 1) },
{ selector: 10, start: (now: Date) => subYears(now, 1) },
{
selector: 'last-15-minutes',
start: (now: Date) => subMinutes(now, 15),
},
{ selector: 'last-hour', start: (now: Date) => subHours(now, 1) },
{ selector: 'last-day', start: (now: Date) => subDays(now, 1) },
{ selector: 'last-week', start: (now: Date) => subWeeks(now, 1) },
{ selector: 'last-month', start: (now: Date) => subMonths(now, 1) },
{ selector: 'last-year', start: (now: Date) => subYears(now, 1) },
];

const timeRangeFrom = 'time-selector-start-time';
Expand Down
2 changes: 1 addition & 1 deletion ui/cypress/tests/pipelineElement/SinglePipelineElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { ProcessorTest } from '../../support/model/ProcessorTest';
const allTests = Cypress.env('processingElements');

allTests.forEach(test => {
const testNames = ['splitArray1'];
const testNames = ['numericalFilter1'];

const processorTest = test as ProcessorTest;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
-->

<div id="formWrapper" fxFlex="100" fxLayout="column">
@if (
!staticProperty.horizontalRendering && staticProperty.options.length < 5
) {
@if (!staticProperty.horizontalRendering) {
<div fxLayout="column">
<div fxFlex fxLayout="row">
<div fxLayout="column" style="margin-left: 10px">
Expand Down

0 comments on commit fa6ee97

Please sign in to comment.