Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 4a664d6

Browse files
author
Sean
authored
Merge pull request #497 from GSA/jrc-fall-release-updates
Final Fall release testing, update to Cypress test for project nav
2 parents a46458d + 2ce9513 commit 4a664d6

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

assets/data/filters/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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"}]}
1+
{"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"}]}

cypress/integration/browse-projects-direct-nav.spec.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ describe('browse projects page tests (direct nav)', () => {
1919
// aliasing the api endpoint route and passing that alias to wait looks the most promising:
2020
// https://docs.cypress.io/api/commands/wait.html#Alias
2121
// https://docs.cypress.io/api/commands/route.html#Examples
22-
.wait(3000)
23-
.get('.usa-card')
22+
.get('.filter-tags')
2423
.each(item => {
2524
cy.wrap(item).within(() => {
26-
cy.contains('div > ul > li', /html/i).should('exist')
25+
cy.contains('button', /html/i).should('exist')
2726
})
2827
})
2928
})

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code.gov/code-gov-front-end",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"description": "Code.gov — America’s Home for Open Source Projects from the Federal Government",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)