Skip to content

Commit

Permalink
fix: discover tabe spec
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jun 11, 2024
1 parent 94a0d9a commit 1d878e3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,22 +408,22 @@ describe('discover_table', () => {
describe('AutoSize table', () => {
describe('Legacy Table', () => {
it('check table Auto Size with change in time range', function () {
cy.get('[aria-label="Next"]')
cy.get('[aria-label="Toggle row details"]')
.its('length')
.then((noEntries) => {
cy.setTopNavDate(
'Sep 22, 2015 @ 14:00:00.000',
'Sep 22, 2015 @ 18:00:00.000'
);
cy.waitForLoader();
cy.get('[aria-label="Next"]')
cy.get('[aria-label="Toggle row details"]')
.its('length')
.should('be.lessThan', noEntries);
});
});

it('check table Auto Size with filter', function () {
cy.get('[aria-label="Next"]')
cy.get('[aria-label="Toggle row details"]')
.its('length')
.then((noEntries) => {
cy.get('[data-test-subj="field-extension-showDetails"]')
Expand All @@ -433,7 +433,7 @@ describe('discover_table', () => {
.click()
.then(() => {
cy.wait(2000);
cy.get('[aria-label="Next"]')
cy.get('[aria-label="Toggle row details"]')
.its('length')
.should('be.lessThan', noEntries);
});
Expand Down

0 comments on commit 1d878e3

Please sign in to comment.