Skip to content

Commit

Permalink
Worked on review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Pratibha Pandey <[email protected]>
  • Loading branch information
pratibhapandey16 committed Jun 7, 2022
1 parent d2105c0 commit b63917d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ describe('Testing traces Spans table verify table headers functionality', () =>
setTimeFilter();
});

it('Renders the spans table and verify coloums headers', () => {
it('Renders the spans table and verify columns headers', () => {
cy.contains(' (8)').should('exist');
cy.contains('analytics-service, frontend-client, recommendation').should('exist');
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
Expand Down Expand Up @@ -235,7 +235,6 @@ describe('Testing traces Spans table verify table headers functionality', () =>
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection"]').click();
cy.get('[data-test-subj="dataGridColumnSortingButton"]').should('exist').click();
});

});


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,12 @@ describe('Testing traces table', () => {
cy.wait(delay);
cy.get('.euiButtonEmpty__text').contains('Rows per page').click();
cy.get('.euiContextMenuItem__text').contains('15 rows').click();
let expected_row_count=15;
cy.get('.euiTable--auto')
.find("tr")
.then((row) => {
//row.length will give you the row count
cy.log(row.length-1);
let total=row.length-1;
expect(total).to.equal(expected_row_count);
});
cy.log('Rows are counted');
});
});

0 comments on commit b63917d

Please sign in to comment.