Skip to content

Commit

Permalink
Merge pull request #1054 from devinit/fix/e2e-data-table
Browse files Browse the repository at this point in the history
Add matching params to cypress fixture
  • Loading branch information
akmiller01 committed Mar 4, 2024
2 parents a81e0d8 + 49f48d7 commit f97785e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/cypress/integration/datasets.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,13 @@ describe('The Datasets Pages', () => {
cy.intercept('/api/datasets/mine/?limit=10&offset=0&search=', datasets).as('datasets');
});
cy.fixture('datasetTableData').then((data) => {
cy.intercept('/api/dataset/data/346', data);
cy.intercept('/api/dataset/data/346/?limit=15&offset=0', data).as('datasetTableData');
});

// View dataset data in tabular form
cy.visit('/');
cy.wait('@datasets');
cy.wait('@datasetTableData');
cy.get('.dataset-row')
.eq(16)
.then(($datasetRow) => {
Expand Down

0 comments on commit f97785e

Please sign in to comment.