Skip to content

Commit

Permalink
Merge pull request #461 from georgetown-cset/20240625-data-bump
Browse files Browse the repository at this point in the history
Data update
  • Loading branch information
jmelot authored Jun 26, 2024
2 parents 5940da9 + 5820617 commit 4abc0b3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions web/gui-v2/src/components/ListView.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ describe("ListView", () => {
);

// Filter by China and verify that the count updates
expect(screen.getByText('Viewing 678 companies')).toBeVisible();
expect(screen.getByText('Viewing 683 companies')).toBeVisible();
const regionHeader = screen.getByRole('columnheader', { name: /country/i });
await user.click(getByRole(regionHeader, 'button', { name: /open/i }));
const menu = screen.getByRole('listbox');
await user.click(getByText(menu, 'China'));
expect(screen.getByText('Viewing 43 of 678 companies')).toBeVisible();
expect(screen.getByText('Viewing 43 of 683 companies')).toBeVisible();

// Reset the filters and verify that the count updates
await user.click(screen.getByRole('button', { name: /reset filters/i }));
expect(screen.getByText('Viewing 678 companies')).toBeVisible();
expect(screen.getByText('Viewing 683 companies')).toBeVisible();
}, 20000);


Expand All @@ -49,7 +49,7 @@ describe("ListView", () => {
await user.click(getByRole(companyHeader, 'combobox'));
const menu = screen.getByRole('listbox');
await user.click(getByText(menu, 'S&P 500'));
expect(screen.getByText('Viewing 491 of 678 companies')).toBeVisible();
expect(screen.getByText('Viewing 496 of 683 companies')).toBeVisible();
}, 20000);


Expand Down
2 changes: 1 addition & 1 deletion web/gui-v2/src/data/companies.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/gui-v2/src/static_data/data.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/gui-v2/src/static_data/overall_data.json

Large diffs are not rendered by default.

Loading

0 comments on commit 4abc0b3

Please sign in to comment.