Skip to content

Commit

Permalink
enable publisher link test (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
janette authored Sep 29, 2020
1 parent adef734 commit 6df4091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/publishers.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ context('Publishers', () => {
cy.findByRole('heading', { name: 'Committee on International Affairs' });
})
// Enable when components are updated.
it.skip('Links should take me to the search page', () => {
it('Links should take me to the search page', () => {
cy.findByRole('link', { name: 'Publishers' }).click({ force: true });
cy.get('.dc-publisher-list > :nth-child(1) > a').should('have.attr', 'href').and('eq', '../search?publisher__name=State Economic Council');
cy.get('.dc-publisher-list > :nth-child(1) > a').should('have.attr', 'href').and('eq', '/search/?publisher__name=State Economic Council');
})

});

0 comments on commit 6df4091

Please sign in to comment.