Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrdyn committed Nov 26, 2024
1 parent 0057ecb commit a33ca8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('generateDatasets', () => {
userPrivileges: {
canMonitor: true,
},
docsInTimeRange: 100,
docsInTimeRange: 102,
quality: 'degraded',
degradedDocs: {
percentage: 0,
Expand Down Expand Up @@ -173,14 +173,14 @@ describe('generateDatasets', () => {
userPrivileges: {
canMonitor: true,
},
docsInTimeRange: 0,
quality: 'good',
docsInTimeRange: 2,
quality: 'poor',
degradedDocs: {
percentage: 0,
count: 0,
},
failedDocs: {
percentage: 0,
percentage: 100,
count: 2,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default function ({ getService, getPageObjects }: DatasetQualityFtrProvid

const degradedDocsCol = cols['Degraded docs (%)'];
const degradedDocsColCellTexts = await degradedDocsCol.getCellTexts();
expect(degradedDocsColCellTexts).to.eql(['0%', '0%', '0%', '100%']);
expect(degradedDocsColCellTexts).to.eql(['0%', '0%', '0%', '100%', '0%']);
});

it('shows failed docs percentage', async () => {
Expand Down

0 comments on commit a33ca8f

Please sign in to comment.