@@ -13,6 +13,7 @@ import { expect } from "@playwright/test";
1313import {
1414 BudgetProposalOwnershipProps ,
1515 BudgetProposalProps ,
16+ BudgetProposalStageEnum ,
1617 CompanyEnum ,
1718} from "@types" ;
1819import { allure } from "allure-playwright" ;
@@ -115,7 +116,10 @@ test.describe("Budget proposal 01 wallet", () => {
115116 test ( "12D_3. Should verify all field of “proposal details” section" , async ( ) => {
116117 const proposalInformation =
117118 budgetProposalSubmissionPage . generateValidBudgetProposalInformation ( ) ;
118- await budgetProposalSubmissionPage . fillupForm ( proposalInformation , 3 ) ;
119+ await budgetProposalSubmissionPage . fillupForm (
120+ proposalInformation ,
121+ BudgetProposalStageEnum . ProblemStatementAndBenefits
122+ ) ;
119123
120124 await expect (
121125 budgetProposalSubmissionPage . proposalNameInput
@@ -143,7 +147,10 @@ test.describe("Budget proposal 01 wallet", () => {
143147 test ( "12D_4. Should verify all field of “costing” section" , async ( ) => {
144148 const proposalInformation =
145149 budgetProposalSubmissionPage . generateValidBudgetProposalInformation ( ) ;
146- await budgetProposalSubmissionPage . fillupForm ( proposalInformation , 4 ) ;
150+ await budgetProposalSubmissionPage . fillupForm (
151+ proposalInformation ,
152+ BudgetProposalStageEnum . ProposalDetails
153+ ) ;
147154
148155 await expect ( budgetProposalSubmissionPage . adaAmountInput ) . toBeVisible ( ) ;
149156 await expect (
@@ -163,7 +170,10 @@ test.describe("Budget proposal 01 wallet", () => {
163170 test ( "12D_5. Should verify all field of “further information” section" , async ( ) => {
164171 const proposalInformation =
165172 budgetProposalSubmissionPage . generateValidBudgetProposalInformation ( ) ;
166- await budgetProposalSubmissionPage . fillupForm ( proposalInformation , 5 ) ;
173+ await budgetProposalSubmissionPage . fillupForm (
174+ proposalInformation ,
175+ BudgetProposalStageEnum . Costing
176+ ) ;
167177
168178 await expect ( budgetProposalSubmissionPage . linkTextInput ) . toBeVisible ( ) ;
169179 await expect ( budgetProposalSubmissionPage . linkUrlInput ) . toBeVisible ( ) ;
@@ -173,7 +183,10 @@ test.describe("Budget proposal 01 wallet", () => {
173183 test ( "12D_6. Should verify all field of “administration and auditing” section" , async ( ) => {
174184 const proposalInformation =
175185 budgetProposalSubmissionPage . generateValidBudgetProposalInformation ( ) ;
176- await budgetProposalSubmissionPage . fillupForm ( proposalInformation , 6 ) ;
186+ await budgetProposalSubmissionPage . fillupForm (
187+ proposalInformation ,
188+ BudgetProposalStageEnum . FurtherInformation
189+ ) ;
177190
178191 await expect (
179192 budgetProposalSubmissionPage . intersectNamedAdministratorSelect
0 commit comments