Skip to content

Commit 89b1dbb

Browse files
authored
Merge pull request #1731 from GSA/update-datagovtheme
update datagovtheme to remove topic facet
2 parents b1170f3 + 267b14c commit 89b1dbb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ckan/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ chardet==5.2.0
1313
charset-normalizer==3.4.3
1414
ckan @ git+https://github.com/GSA/ckan.git@416b88e74d2bd643bcdd1da7a900e29c6d443bfe
1515
-e git+https://github.com/GSA/ckanext-datagovcatalog.git@b60f69e4cb15d3cdce80698e5b4b2dc406a2ca05#egg=ckanext_datagovcatalog
16-
ckanext-datagovtheme==0.4.3
16+
ckanext-datagovtheme==0.4.4
1717
ckanext-datajson==0.1.28
1818
ckanext-dcat @ git+https://github.com/ckan/ckanext-dcat@255fcf1352273f9be98e9f02a5198efc4790c94e
1919
ckanext-envvars==0.0.6

e2e/cypress/integration/facets.cy.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ describe('Facets', { testIsolation: false }, () => {
1919

2020
it('Show datagov facet list on dataset page', () => {
2121
cy.visit('/dataset');
22-
cy.get('.filters h2').its('length').should('be.equal', 9);
23-
cy.get('.filters h2').first().contains('Topics');
22+
cy.get('.filters h2').its('length').should('be.equal', 7);
23+
cy.get('.filters h2').first().contains('Dataset Type');
2424
cy.get('.filters h2').last().contains('Bureaus');
2525
});
2626

2727
it('Show datagov facet list on organization page', () => {
2828
cy.visit('/organization');
2929
cy.get('a[class="btn btn-primary"]').click();
3030
cy.visit('/organization/' + orgName);
31-
cy.get('.module-shallow').its('length').should('be.equal', 10);
32-
cy.get('.module-shallow').contains('Topics');
31+
cy.get('.module-shallow').its('length').should('be.equal', 7);
32+
cy.get('.module-shallow').contains('Dataset Type');
3333
cy.get('.module-shallow').contains('Harvest Source');
3434
cy.get('.module-shallow').last().contains('Bureaus');
3535
});

0 commit comments

Comments
 (0)