Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Use filter range retry

Signed-off-by: Kawika Avilla <[email protected]>

* update package lock

Signed-off-by: Kawika Avilla <[email protected]>

---------

Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit f206ebb)

Co-authored-by: Kawika Avilla <[email protected]>
Signed-off-by: [email protected] <[email protected]>
  • Loading branch information
2 people authored and leanneeliatra committed Sep 15, 2023
1 parent b587fe3 commit a5a68cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,12 @@ describe('table visualization data', () => {
});
commonUI.removeFilter('timestamp');
cy.waitForLoader();
commonUI.addFilterRetrySelection('timestamp', 'is between', [
commonUI.addFilterRangeRetrySelection(
'timestamp',
'is between',
'2022-05-30',
'2022-08-30',
]);
'2022-08-30'
);
cy.waitForLoader();
cy.wait(500);
cy.tbGetTableDataFromVisualization().then((data) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('table visualization in embedded mode', () => {
});

it('Should allow to filter in embedded mode', () => {
commonUI.addFilterRetrySelection('age', 'is between', ['10', '30']);
commonUI.addFilterRangeRetrySelection('age', 'is between', '10', '30');
cy.reload();
cy.tbGetTableDataFromVisualization().then((data) => {
expect(data).to.deep.eq(['0', '1,059', '20', '1,114']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ describe('Table visualization options', () => {
2
);
cy.waitForLoader();
cy.wait(500);
cy.tbGetTableDataFromVisualization().then((data) => {
expect(data).to.deep.eq(expectedData);
});
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a5a68cb

Please sign in to comment.