Refactor New Portfolio page according to designs.
New designs call for a streamlined New Portfolio page, with far fewer input options. This commit refactors that page according to those designs. Some of the route functions in this commit refer to a "step 1" of creating a new Portfolio. Though there is no "step 2" right now, the designs call for a multistep flow for Portfolio creation process, so this commit sets the stage for that.
This commit is contained in:
@@ -18,7 +18,7 @@ def test_new_portfolio(client, user_session):
|
||||
user = UserFactory.create()
|
||||
user_session(user)
|
||||
|
||||
response = client.get(url_for("portfolios.new_portfolio"))
|
||||
response = client.get(url_for("portfolios.new_portfolio_step_1"))
|
||||
|
||||
assert response.status_code == 200
|
||||
|
||||
@@ -34,7 +34,7 @@ def test_create_portfolio_success(client, user_session):
|
||||
data={
|
||||
"name": "My project name",
|
||||
"description": "My project description",
|
||||
"defense_component": "Air Force, Department of the",
|
||||
"defense_component": "army",
|
||||
},
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user