Skip to content

Commit

Permalink
Merge pull request #497 from GSA/jrc-fall-release-updates
Browse files Browse the repository at this point in the history
Final Fall release testing, update to Cypress test for project nav
  • Loading branch information
Sean authored Sep 30, 2020
2 parents a46458d + 2ce9513 commit 4a664d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/data/filters/tasks.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"agencies":[{"name":"Consumer Financial Protection Bureau","value":"CFPB"},{"name":"Department of Energy","value":"DOE"},{"name":"Department of Health and Human Services","value":"HHS"},{"name":"General Services Administration","value":"GSA"}],"categories":[{"name":"bug","value":"bug"},{"name":"enhancement","value":"enhancement"},{"name":"good first issue","value":"good first issue"}],"languages":[],"skillLevels":[{"name":"Beginner","value":"beginner"},{"name":"Intermediate","value":"intermediate"},{"name":"Advanced","value":"advanced"}],"timeRequired":[{"name":"Small","value":"small"},{"name":"Medium","value":"medium"},{"name":"Large","value":"large"}]}
{"agencies":[{"name":"Consumer Financial Protection Bureau","value":"CFPB"},{"name":"Department of Defense","value":"DOD"},{"name":"Department of Energy","value":"DOE"},{"name":"Department of Health and Human Services","value":"HHS"},{"name":"General Services Administration","value":"GSA"}],"categories":[{"name":"bug","value":"bug"},{"name":"content","value":"content"},{"name":"enhancement","value":"enhancement"},{"name":"good first issue","value":"good first issue"}],"languages":[],"skillLevels":[{"name":"Beginner","value":"beginner"},{"name":"Intermediate","value":"intermediate"},{"name":"Advanced","value":"advanced"}],"timeRequired":[{"name":"Small","value":"small"},{"name":"Medium","value":"medium"},{"name":"Large","value":"large"}]}
5 changes: 2 additions & 3 deletions cypress/integration/browse-projects-direct-nav.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ describe('browse projects page tests (direct nav)', () => {
// aliasing the api endpoint route and passing that alias to wait looks the most promising:
// https://docs.cypress.io/api/commands/wait.html#Alias
// https://docs.cypress.io/api/commands/route.html#Examples
.wait(3000)
.get('.usa-card')
.get('.filter-tags')
.each(item => {
cy.wrap(item).within(() => {
cy.contains('div > ul > li', /html/i).should('exist')
cy.contains('button', /html/i).should('exist')
})
})
})
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@code.gov/code-gov-front-end",
"version": "1.3.0",
"version": "1.4.0",
"description": "Code.gov — America’s Home for Open Source Projects from the Federal Government",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 4a664d6

Please sign in to comment.