List FD Version
click link=Contracts and Grants Execution
assertElementPresent //*[@label='FD Year']/div/label/span
assertText //*[@label='FD Year']/div/label/span FD Year
assertElementPresent //*[@label='FDYear']/div/div/div/div/ux-form-control/select
storeSelectOptions //*[@label='FDYear']/div/div/div/div/ux-form-control/select FDYearValues
assertEval "${FDYearValues}" =="2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004" true
Create button
click link=Contracts and Grants Execution
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/ux-panel/div[2]/div/div[2]/div/div/div[2]/ux-dropdown-button/ux-button/button
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/ux-panel/div[2]/div/div[2]/div/div/div[2]/ux-dropdown-button/ux-button/button/span/span[1] CREATE
click //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/ux-panel/div[2]/div/div[2]/div/div/div[2]/ux-dropdown-button/ux-button/button
assertText //div[starts-with(@id,'mat-menu-panel-')]/div/span/span/ux-dropdown-button-item/div/button New Contract
assertText //div[starts-with(@id,'mat-menu-panel-')]/div/span[2]/span/ux-dropdown-button-item/div/button New Grant
Create a new Contract Execution
click link=Contracts and Grants Execution
click xpath=(//button[@type='button'])[3]
click //div[starts-with(@id,'mat-menu-panel-')]/div/span/span/ux-dropdown-button-item/div/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
click xpath=(//button[@type='button'])[3]
click //div[starts-with(@id,'mat-menu-panel-')]/div/span/span/ux-dropdown-button-item/div/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Contract
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundContractBadge
assertEval "${backgroundContractBadge}" == "rgb(0, 68, 148)" true
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b New Contract
assertElementPresent //*[@typeclass='warning']/button
assertText //*[@typeclass='warning']/button/span[2] Check data
storeEval getComputedStyle(document.querySelector(".ux-button--warning")).backgroundColor backgroundCheckDataButton
assertEval "${backgroundCheckDataButton}" == "rgb(242, 149, 39)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/input
assertAttribute //*[@formcontrolname='year']/span/input@type text
click //*[@formcontrolname='year']/span/input
type //*[@formcontrolname='year']/span/input 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/select
click //*[@formcontrolname='orgId']/select
select //*[@formcontrolname='orgId']/select label=ESTAT.B.4
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/select
assertSelectOptions //*[@formcontrolname='bifiStatusId']/select Deleted,Active
click //*[@formcontrolname='bifiStatusId']/select
select //*[@formcontrolname='bifiStatusId']/select label=Active
click //option[@value='2']
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference
assertElementPresent //*[@formcontrolname='si2Reference']/span/input
assertAttribute //*[@formcontrolname='si2Reference']/span/input@type text
storeValue //*[@formcontrolname='si2Reference']/span/input SI2Reference
click //*[@formcontrolname='si2Reference']/span/input
type //*[@formcontrolname='si2Reference']/span/input ${SI2Reference}.TEST
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Contract type
assertElementPresent //*[@formcontrolname='typeId']/select
assertSelectOptions //*[@formcontrolname='typeId']/select Framework contract,Contract,Other,Specific contract,Purchaseorder,Contract on a global commitment,Direct Contract,DirectContract Renewal,PN1C,PN3C,PN5C
select //*[@formcontrolname='typeId']/select label=Direct Contract
click //option[@value='5']
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Contract reference
assertElementPresent //*[@formcontrolname='reference']/span/input
assertAttribute //*[@formcontrolname='reference']/span/input@type text
storeValue //*[@formcontrolname='reference']/span/input ContractReference
click //*[@formcontrolname='reference']/span/input
type //*[@formcontrolname='reference']/span/input ${ContractReference}.TEST
assertElementPresent //*[@label='Number of months']/div/label
assertText //*[@label='Number of months']/div/label/span Number of months
assertElementPresent //*[@formcontrolname='monthsNumber']/span/input
assertAttribute //*[@formcontrolname='monthsNumber']/span/input@type text
click //*[@formcontrolname='monthsNumber']/span/input
type //*[@formcontrolname='monthsNumber']/span/input 6
assertElementPresent //*[@label='End of contract']/div/label/span
assertText //*[@label='End of contract']/div/label/span End of contract
assertElementPresent //*[@formcontrolname='dtEndOfContract']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtEndOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtEndOfContract']/div/div/ux-button/button
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[3]
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[3]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertElementPresent //*[@label='End of contract']/div/label/span
assertText //*[@label='End of contract']/div/label/span End of contract
assertElementPresent //*[@formcontrolname='dtEndOfContract']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtEndOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtEndOfContract']/div/div/ux-button/button
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[3]
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[3]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertElementPresent //*[@label='Foreign framework contract']/div/label/span
assertText //*[@label='Foreign framework contract']/div/label/span Foreign framework contract
assertElementPresent //*[@formcontrolname='foreignFrameworkContractId']/select
click //*[@formcontrolname='foreignFrameworkContractId']/select
select //*[@formcontrolname='foreignFrameworkContractId']/select label=DI/05720
assertElementPresent //*[@label='Framework contact info']/div/label
assertText //*[@label='Framework contact info']/div/label/span Framework contact info
assertElementPresent //*[@label='Framework contact info']/div/div/div/div
assertText //*[@label='Framework contact info']/div/div/div/div Lot 3A: Quality, security, requirement analysis and specific studies(intra et extra-muros)
assertElementPresent //*[@label='Selected candidate']/div/label/span
assertText //*[@label='Selected candidate']/div/label/ Selected candidate
assertElementPresent //*[@label='Selected candidate']/div/div/div/div
assertText //*[@label='Selected candidate']/div/div/div/div Logica CMG SA
assertElementPresent //*[@label='Renewal']/div/label/span
assertText //*[@label='Renewal']/div/label/span Renewal
assertElementPresent //*[@formcontrolname='renewalId']/span/input
assertAttribute //*[@formcontrolname='renewalId']/span/input@type text
click //*[@formcontrolname='renewalId']/span/input
type //*[@formcontrolname='renewalId']/span/input 2
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']/select
click //*[@formcontrolname='projectManagerId']/select
select //*[@formcontrolname='projectManagerId']/select label=Sébastien AMADEI
click //option[@value='90011243']
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/select
click //*[@formcontrolname='dataEntryAgentId']/select
select //*[@formcontrolname='dataEntryAgentId']/select label=Sébastien AMADEI
click //option[@value='90011243']
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/span/textarea
click //*[@formcontrolname='userReference']/span/textarea
type //*[@formcontrolname='userReference']/span/textarea Reference for new contract ${SI2Reference} - Bilal
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/span/textarea
click //*[@formcontrolname='bifiComment']/span/textarea
type //*[@formcontrolname='bifiComment']/span/textarea Comment for new contract ${SI2Reference} - Bilal
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[3] BudgetTabOpened
if ${BudgetTabOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/span/span
endIf
assertElementPresent //*[@formarrayname='budget']
assertElementPresent //*[@formarrayname='budget']/ux-dropdown-tree
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertText //div[@class='cdk-overlay-container']
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button/button/span/span
assertElementPresent //div[@class='cdk-overlay-connected-position-bounding-box']
click //div[@id='undefined']/div/ux-tree/ul/ux-tree-node[1]/li/div/span/label
click //div[@id='undefined']/div/ux-tree/ul/ux-tree-node[2]/li/div/span/label
click //body/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button/button/span/span B5711-2021, A5740-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] B5711-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] European Statistics Competition 2020/2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
type //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 1000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(1) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadge
assertEval "${backgroundForecastBadge}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked true
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadge
pause 500
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadge
assertEval "${backgroundRealBadge}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5740-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Eurostat website and continuous adaptation of dissemination productsand services to user needs
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
type //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 3000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[3] calendarOpened
if ${calendarOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/span/span
endIf
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/ux-button/button
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[4]/div
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']/input
assertAttribute //*[@formcontrolname='operationalInitiationVisaForecast']/input@type radio
assertElementPresent //input[@name="operationalInitiationVisaForecast"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="operationalInitiationVisaForecast" and@value="0"]
assertElementPresent //input[@name="operationalInitiationVisaForecast" and@value="1"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="operationalInitiationVisaForecast" and@value="2"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="2"]/following-sibling::label N/A
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input@type text
click //input[@name="operationalInitiationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="operationalInitiationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input
type //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input 2
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/ux-button/button
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[5]/div
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaForecast']/input@type radio
assertElementPresent //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertText //input[@name="operationalVerificationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertText //input[@name="operationalVerificationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input@type text
click //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
click //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input 1
assertElementPresent //*[@label='External visa 1']
assertText //*[@label='External visa 1']/div/label/span External visa 1
assertElementPresent //*[@formcontrolname='dtExternalVisa1']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtExternalVisa1']/div/div/ux-button/button
click //*[@formcontrolname='dtExternalVisa1']/div/div/ux-button/button
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[5]/td[5]/div
assertElementPresent //*[@formcontrolname='externalVisa1Forecast']
assertElementPresent //*[@formcontrolname='externalVisa1Forecast']/input
assertAttribute //*[@formcontrolname='externalVisa1Forecast']/input@type radio
assertElementPresent //input[@name="externalVisa1Forecast" and @value="0"]
assertText //input[@name="externalVisa1Forecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="externalVisa1Forecast" and @value="1"]
assertText //input[@name="externalVisa1Forecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="externalVisa1Forecast" and @value="2"]
assertText //input[@name="externalVisa1Forecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="externalVisa1Forecast" and @value="2"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="externalVisa1Forecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='externalVisa1TimeGap']/span/input
assertAttribute //*[@formcontrolname='externalVisa1TimeGap']/span/input@type text
type //*[@formcontrolname='externalVisa1TimeGap']/span/input 1
assertElementPresent //*[@label='External visa type 1']
assertText //*[@label='External visa type 1']/div/label/span External visa type 1
assertElementPresent //*[@formcontrolname='externalVisaType1']/span/input
assertAttribute //*[@formcontrolname='externalVisaType1']/span/input@type text
click //*[@formcontrolname='externalVisaType1']/span/input
type //*[@formcontrolname='externalVisaType1']/span/input Ext.Visa.Tp1
assertElementPresent //*[@label='External visa 2']
assertText //*[@label='External visa 2']/div/label/span External visa 2
assertElementPresent //*[@formcontrolname='dtExternalVisa2']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtExternalVisa2']/div/div/ux-button/button
click //*[@formcontrolname='dtExternalVisa2']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[2]/td/div
assertElementPresent //*[@formcontrolname='externalVisa2Forecast']
assertElementPresent //*[@formcontrolname='externalVisa2Forecast']/input
assertAttribute //*[@formcontrolname='externalVisa2Forecast']/input@type radio
assertElementPresent //input[@name="externalVisa2Forecast" and @value="0"]
assertText //input[@name="externalVisa2Forecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="externalVisa2Forecast" and @value="1"]
assertText //input[@name="externalVisa2Forecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="externalVisa2Forecast" and @value="2"]
assertText //input[@name="externalVisa2Forecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="externalVisa2Forecast" and @value="2"]
click //input[@name="externalVisa2Forecast" and @value="0"]
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[3]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="externalVisa2Forecast" and @value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[3]/div[1]/div[2]/div[2]/ux-form-group/div
assertElementPresent //*[@label='External visa type 2']
assertText //*[@label='External visa type 2']/div/label/span External visa type 2
assertElementPresent //*[@formcontrolname='externalVisaType2']/span/input
assertAttribute //*[@formcontrolname='externalVisaType2']/span/input@type text
click //*[@formcontrolname='externalVisaType2']/span/input
type //*[@formcontrolname='externalVisaType2']/span/input Ext.Visa.Tp2
assertElementPresent //input[@name="externalVisa2Forecast" and @value="1"]
assertText //input[@name="externalVisa2Forecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input@type text
click //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
click //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input 1
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[2]/td[6]/div
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']/input
assertAttribute //*[@formcontrolname='financialInitiationVisaForecast']/input@type radio
assertElementPresent //input[@name="financialInitiationVisaForecast" and@value="0"]
assertText //input[@name="financialInitiationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="financialInitiationVisaForecast" and@value="0"]
assertElementPresent //input[@name="financialInitiationVisaForecast" and@value="1"]
assertText //input[@name="financialInitiationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input@type text
click //input[@name="financialInitiationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="financialInitiationVisaForecast" and@value="0"]
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input
type //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetaryunit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/ux-button/button
click //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/input
assertAttribute //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/input@type radio
assertElementPresent //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertText //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertElementPresent //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]
assertText //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input
assertAttribute //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input@type text
click //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']/select
click //*[@formcontrolname='financialVerifyingAgentId']/select
select //*[@formcontrolname='financialVerifyingAgentId']/select label=Eric WEIN
click //option[@value='1512']
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertSelectOptions //*[@formcontrolname='suspensionId']/select Yes,No
assertElementPresent //*[@formcontrolname='suspensionId']/select
click //*[@formcontrolname='suspensionId']/select
select //*[@formcontrolname='suspensionId']/select label=No
click //option[@value='1']
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[6]/div
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']/input
assertAttribute //*[@formcontrolname='financialVerificationVisaForecast']/input@type radio
assertElementPresent //input[@name="financialVerificationVisaForecast" and@value="0"]
assertText //input[@name="financialVerificationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="financialVerificationVisaForecast" and@value="0"]
assertElementPresent //input[@name="financialVerificationVisaForecast" and@value="1"]
assertText //input[@name="financialVerificationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input@type text
click //input[@name="financialVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
click //input[@name="financialVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input 3
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[1]/ux-form-group/div/label/span Signature of contract
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtSignatureOfContract']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[2]/div
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']/input
assertAttribute //*[@formcontrolname='signatureOfContractForecast']/input@type radio
assertElementPresent //input[@name="signatureOfContractForecast" and @value="0"]
assertText //input[@name="signatureOfContractForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="signatureOfContractForecast" and @value="0"]
assertElementPresent //input[@name="signatureOfContractForecast" and @value="1"]
assertText //input[@name="signatureOfContractForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']/span/input
assertAttribute //*[@formcontrolname='signatureOfContractTimeGap']/span/input@type text
click //input[@name="signatureOfContractForecast" and @value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="signatureOfContractForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='signatureOfContractTimeGap']/span/input
type //*[@formcontrolname='signatureOfContractTimeGap']/span/input 4
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label/span First forecast of sign. of contract
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[3]/div
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label/span Date of sign. of contract by contractor
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/ux-button/button
click //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[6]/div
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/input
assertAttribute //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/input@type radio
assertElementPresent //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertText //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertElementPresent //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]
assertText //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input
assertAttribute //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input@type text
click //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]
assertElementNotPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input
type //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input 2
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group/div/label/span Date reception contract signed by contractor
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/ux-button/button
click //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[5]/td[1]/div
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']/input
assertAttribute //*[@formcontrolname='receptionAgreementSignedForecast']/input@type radio
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="1"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="2"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="2"]/following-sibling::label N/A
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input
assertAttribute //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input@type text
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="receptionAgreementSignedForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input
type //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input 1
assertElementPresent //*[@label='Simap date']
assertText //*[@label='Simap date']/div/label/span Simap date
assertElementPresent //*[@formcontrolname='dtSimap']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtSimap']/div/div/ux-button/button
click //*[@formcontrolname='dtSimap']/div/div/ux-button/button
click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[5]/td[3]/div
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertElementPresent //*[@formcontrolname='simapForecast']/input
assertAttribute //*[@formcontrolname='simapForecast']/input@type radio
assertElementPresent //input[@name="simapForecast" and @value="0"]
assertText //input[@name="simapForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="simapForecast" and @value="1"]
assertText //input[@name="simapForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="simapForecast" and @value="2"]
assertText //input[@name="simapForecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="simapForecast" and @value="0"]
click //input[@name="simapForecast" and @value="2"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="simapForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group/div/label/span/ Time gap
assertElementPresent //*[@formcontrolname='simapTimeGap']/span/input
assertAttribute //*[@formcontrolname='simapTimeGap']/span/input@type text
type //*[@formcontrolname='simapTimeGap']/span/input 5
assertElementPresent //*[@label='Contract award notice']
assertText //*[@label='Contract award notice']/div/label/span Contract award notice
assertElementPresent //*[@formcontrolname='dtContractAwardNotice']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtContractAwardNotice']/div/div/ux-button/button
click //*[@formcontrolname='dtContractAwardNotice']/div/div/ux-button/button
click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[6]/td[2]/div
assertElementPresent //*[@formcontrolname='contractAwardNoticeForecast']
assertElementPresent //*[@formcontrolname='contractAwardNoticeForecast']/input
assertAttribute //*[@formcontrolname='contractAwardNoticeForecast']/input@type radio
assertElementPresent //input[@name="contractAwardNoticeForecast" and @value="0"]
assertText //input[@name="contractAwardNoticeForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="contractAwardNoticeForecast" and @value="1"]
assertText //input[@name="contractAwardNoticeForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="contractAwardNoticeForecast" and @value="2"]
assertText //input[@name="contractAwardNoticeForecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="contractAwardNoticeForecast" and @value="0"]
click //input[@name="contractAwardNoticeForecast" and @value="2"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="contractAwardNoticeForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group Time gap
assertElementPresent //*[@formcontrolname='contractAwardNoticeTimeGap']/span/input
assertAttribute //*[@formcontrolname='contractAwardNoticeTimeGap']/span/input@type text
type //*[@formcontrolname='contractAwardNoticeTimeGap']/span/input 2
assertElementPresent //*[@label='Ref contract award notice']
assertText //*[@label='Ref contract award notice']/div/label/span Ref contract award notice
assertElementPresent //*[@formcontrolname='referenceContractAwardNotice']
assertAttribute //*[@formcontrolname='referenceContractAwardNotice']/span/input@type text
assertValue //*[@formcontrolname='referenceContractAwardNotice']/span/input n/c
click //*[@formcontrolname='referenceContractAwardNotice']/span/input
type //*[@formcontrolname='referenceContractAwardNotice']/span/input Ref.award PROV.274068.TEST
click //*[@typeclass='warning']/button/span[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Contract
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundEdContractBadge
assertEval "${backgroundEdContractBadge}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b New Contract
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/div
assertText //*[@formcontrolname='year']/span/div 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/div
assertText //*[@formcontrolname='orgId']/div ESTAT.B.4
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/div
assertText //*[@formcontrolname='bifiStatusId']/div Active
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference
storeText //*[@formcontrolname='si2Reference']/div SI2ReferenceDisplayed
assertEval "${SI2ReferenceDisplayed}"=="${SI2Reference}.TEST" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Contract type
assertElementPresent //*[@formcontrolname='typeId']/div
assertText //*[@formcontrolname='typeId']/div Direct Contract
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Contract reference
storeText //*[@formcontrolname='reference']/div ContractReferenceDisplayed
assertEval "${ContractReferenceDisplayed}"=="${ContractReference}.TEST" true
assertElementPresent //*[@label='Number of months']/div/label
assertText //*[@label='Number of months']/div/label/span Number of months
assertElementPresent //*[@formcontrolname='monthsNumber']/span/div
assertText //*[@formcontrolname='monthsNumber']/span/div 6
assertElementPresent //*[@label='End of contract']/div/label
assertText //*[@label='End of contract']/div/label/span End of contract
assertElementPresent //*[@formcontrolname='dtEndOfContract']
assertElementPresent //*[@label='Foreign framework contract']
assertText //*[@label='Foreign framework contract']/div/label/span Foreign framework contract
assertElementPresent //*[@formcontrolname='foreignFrameworkContractId']/div
assertText //*[@formcontrolname='foreignFrameworkContractId']/div DI/05720
assertElementPresent //*[@label='Framework contact info']/div/label
assertText //*[@label='Framework contact info']/div/label/span Framework contact info
assertElementPresent //*[@label='Framework contact info']/div/div/div/div
assertText //*[@label='Framework contact info']/div/div/div/div Lot 3A: Quality, security, requirement analysis and specific studies(intra et extra-muros)
assertElementPresent //*[@label='Selected candidate']/div/label/span
assertText //*[@label='Selected candidate']/div/label/ Selected candidate
assertElementPresent //*[@label='Selected candidate']/div/div/div/div
assertText //*[@label='Selected candidate']/div/div/div/div Logica CMG SA
assertElementPresent //*[@label='Renewal']/div/label
assertText //*[@label='Renewal']/div/label/span Renewal
assertElementPresent //*[@formcontrolname='renewalId']/span/div
assertText //*[@formcontrolname='renewalId']/span/div 2
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='userReference']/div
assertText //*[@formcontrolname='userReference']/div/div Reference for new contract ${SI2Reference} - Bilal
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/div
assertText //*[@formcontrolname='dataEntryAgentId']/div Sébastien AMADEI
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/div
assertText //*[@formcontrolname='userReference']/div Reference for new contract ${SI2Reference} - Bilal
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/div
assertText //*[@formcontrolname='bifiComment']/div Comment for new contract ${SI2Reference} - Bilal
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
assertElementPresent //*[@formarrayname='budget']
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] B5711-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] European Statistics Competition 2020/2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //*[@formcontrolname='amount']
assertText //*[@formcontrolname='amount']/span/div 1000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadge
assertEval "${backgroundRealBadge}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@class SwitchDisabled
assertEval storedVars["SwitchDisabled"].includes("disabled") true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5740-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Eurostat website and continuous adaptation of dissemination productsand services to user needs
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/div 3000
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@class SwitchDisabledLine2
assertEval storedVars["SwitchDisabledLine2"].includes("disabled") true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertText //*[@formcontrolname='operationalInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']
assertText //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertText //*[@formcontrolname='operationalVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']
assertText //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/div 1
assertElementPresent //*[@label='External visa 1']
assertText //*[@label='External visa 1']/div/label/span External visa 1
assertElementPresent //*[@formcontrolname='dtExternalVisa1']
assertElementPresent //*[@formcontrolname='externalVisa1Forecast']
assertText //*[@formcontrolname='externalVisa1Forecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='externalVisa1TimeGap']
assertText //*[@formcontrolname='externalVisa1TimeGap']/span/div 1
assertElementPresent //*[@label='External visa type 1']
assertText //*[@label='External visa type 1']/div/label/span External visa type 1
assertElementPresent //*[@formcontrolname='externalVisaType1']
assertText //*[@formcontrolname='externalVisaType1'] Ext.Visa.Tp1
assertElementPresent //*[@label='External visa 1']
assertText //*[@label='External visa 1']/div/label/span External visa 1
assertElementPresent //*[@formcontrolname='dtExternalVisa2']
assertElementPresent //*[@formcontrolname='externalVisa2Forecast']
assertText //*[@formcontrolname='externalVisa2Forecast']/div Real
assertElementPresent //*[@label='External visa type 2']
assertText //*[@label='External visa type 2']/div/label/span External visa type 2
assertElementPresent //*[@formcontrolname='externalVisaType2']
assertText //*[@formcontrolname='externalVisaType2']/div Ext.Visa.Tp2
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertText //*[@formcontrolname='financialInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']
assertText //*[@formcontrolname='financialInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetaryunit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/div Real
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']
assertText //*[@formcontrolname='financialVerifyingAgentId']/div Eric WEIN
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertElementPresent //*[@formcontrolname='suspensionId']
assertText //*[@formcontrolname='suspensionId']/div No
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertText //*[@formcontrolname='financialVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']
assertText //*[@formcontrolname='financialVerificationVisaTimeGap']/span/div 3
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[1]/ux-form-group/div/label/span Signature of contract
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertText //*[@formcontrolname='signatureOfContractForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']
assertText //*[@formcontrolname='signatureOfContractTimeGap']/span/div 4
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label
assertText //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label/span First forecast of sign. of contract
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label/span Date of sign. of contract by contractor
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/div Forecast
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/div 2
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group/div/label/span Date reception contract signed by contractor
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertText //*[@formcontrolname='receptionAgreementSignedForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']
assertText //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/div 1
assertElementPresent //*[@label='Simap date']
assertText //*[@label='Simap date']/div/label/span Simap date
assertElementPresent //*[@formcontrolname='dtSimap']
assertElementPresent //*[@formcontrolname='simapForecast']
assertText //*[@formcontrolname='simapForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='simapTimeGap']
assertText //*[@formcontrolname='simapTimeGap']/span/div 5
assertElementPresent //*[@label='Contract award notice']
assertText //*[@label='Contract award notice']/div/label/span Contract award notice
assertElementPresent //*[@formcontrolname='dtContractAwardNotice']
assertElementPresent //*[@formcontrolname='contractAwardNoticeForecast']
assertText //*[@formcontrolname='contractAwardNoticeForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='contractAwardNoticeTimeGap']
assertText //*[@formcontrolname='contractAwardNoticeTimeGap']/span/div 2
assertElementPresent //*[@label='Ref contract award notice']
assertText //*[@label='Ref contract award notice']/div/label/span Ref contract award notice
assertElementPresent //*[@formcontrolname='referenceContractAwardNotice']
assertText //*[@formcontrolname='referenceContractAwardNotice']/div Ref.award PROV.274068.TEST
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button/span[2] Save
storeEval getComputedStyle(document.querySelector(".ux-modal--full-screen >div:nth-child(1) > div:nth-child(1) > div:nth-child(3) >uxmodalfooter:nth-child(1) > ux-layout-horizontal:nth-child(1)> div:nth-child(1) > div:nth-child(3) >uxlayouthorizontalright:nth-child(1) > ux-button:nth-child(1)> button:nth-child(1)")).backgroundColor backgroundSaveButton
assertEval "${backgroundSaveButton}" == "rgb(70, 122, 57)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[2]/button/span Close
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div
storeAttribute //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div@class validationAlertBox
assertEval storedVars["validationAlertBox"].includes("success") true
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/span Create Success
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/p
assertText //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/p Contract created successfully
pause 3000
assertElementNotPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div
Create a new Grant Execution
click link=Contracts and Grants Execution
click xpath=(//button[@type='button'])[3]
click //html/body/div/div[2]/div/div/div/span[2]/span/ux-dropdown-button-item/div/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
click xpath=(//button[@type='button'])[3]
click //html/body/div/div[2]/div/div/div/span[2]/span/ux-dropdown-button-item/div/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Grant
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundGrantBadge
assertEval "${backgroundGrantBadge}" == "rgb(255, 214, 23)" true
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b New Grant
assertElementPresent //*[@typeclass='warning']/button
assertText //*[@typeclass='warning']/button/span[2] Check data
storeEval getComputedStyle(document.querySelector(".ux-button--warning")).backgroundColor backgroundCheckDataButton
assertEval "${backgroundCheckDataButton}" == "rgb(242, 149, 39)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/input
assertAttribute //*[@formcontrolname='year']/span/input@type text
click //*[@formcontrolname='year']/span/input
type //*[@formcontrolname='year']/span/input 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/select
click //*[@formcontrolname='orgId']/select
select //*[@formcontrolname='orgId']/select label=ESTAT.B.4
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/select
assertSelectOptions //*[@formcontrolname='bifiStatusId']/select Deleted,Active
click //*[@formcontrolname='bifiStatusId']/select
select //*[@formcontrolname='bifiStatusId']/select label=Active
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference to commitment
assertElementPresent //*[@formcontrolname='si2Reference']/span/input
assertAttribute //*[@formcontrolname='si2Reference']/span/input@type text
storeValue //*[@formcontrolname='si2Reference']/span/input SI2Reference
click //*[@formcontrolname='si2Reference']/span/input
type //*[@formcontrolname='si2Reference']/span/input ${SI2Reference}.TEST
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Grant type
assertElementPresent //*[@formcontrolname='typeId']/select
assertSelectOptions //*[@formcontrolname='typeId']/select Grant,Global commitment,Grant on Globalcommitment,Mono,FPA,SGA,MBGA,Other
select //*[@formcontrolname='typeId']/select label=Global commitment
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Grant agreement reference
assertElementPresent //*[@formcontrolname='reference']/span/input
assertAttribute //*[@formcontrolname='reference']/span/input@type text
storeValue //*[@formcontrolname='reference']/span/input GrantReference
click //*[@formcontrolname='reference']/span/input
type //*[@formcontrolname='reference']/span/input ${GrantReference}.TEST
assertElementPresent //*[@label='Beneficiary']/div/label
assertText //*[@label='Beneficiary']/div/label/span Beneficiary
assertElementPresent //*[@formcontrolname='beneficiary']/span/input
assertAttribute //*[@formcontrolname='beneficiary']/span/input@type text
click //*[@formcontrolname='beneficiary']/span/input
type //*[@formcontrolname='beneficiary']/span/input Bene
assertElementPresent //*[@label='Estat co-financing (%)']/div/label/span
assertText //*[@label='Estat co-financing (%)']/div/label/span Estat co-financing (%)
assertElementPresent //*[@formcontrolname='coFinancingEstat']
assertAttribute //*[@formcontrolname='coFinancingEstat']/span/input@type text
click //*[@formcontrolname='coFinancingEstat']/span/input
type //*[@formcontrolname='coFinancingEstat']/span/input 60
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']/select
click //*[@formcontrolname='projectManagerId']/select
select //*[@formcontrolname='projectManagerId']/select label=Cecilia POP
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/select
click //*[@formcontrolname='dataEntryAgentId']/select
select //*[@formcontrolname='dataEntryAgentId']/select label=Ana AMIGO
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/span/textarea
click //*[@formcontrolname='userReference']/span/textarea
type //*[@formcontrolname='userReference']/span/textarea Reference for new Grant ${GrantReference} - Bilal
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/span/textarea
click //*[@formcontrolname='bifiComment']/span/textarea
type //*[@formcontrolname='bifiComment']/span/textarea Comment for new Grant ${GrantReference} - Bilal
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[3] BudgetTabOpened
if ${BudgetTabOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/span/span
endIf
assertElementPresent //*[@formarrayname='budget']
assertElementPresent //*[@formarrayname='budget']/ux-dropdown-tree
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertText //div[@class='cdk-overlay-container']
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button/button/span/span
assertElementPresent //div[@class='cdk-overlay-connected-position-bounding-box']
click //div[@id='undefined']/div/ux-tree/ul/ux-tree-node[2]/li/div/span/label
click //div[@id='undefined']/div/ux-tree/ul/ux-tree-node[6]/li/div/span/label
click //body/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button/button/span/span A5740-2021, A5964-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] A5740-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] Eurostat website and continuous adaptation of dissemination productsand services to user needs
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
type //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 4000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(1) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadge
assertEval "${backgroundForecastBadge}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked true
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadge
pause 500
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadge
assertEval "${backgroundRealBadge}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5964-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Publications
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
type //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 7000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundRealBadgeLine2
pause 500
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked false
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadgeLine2
assertEval "${backgroundRealBadgeLine2}" == "rgb(0, 111, 180)" true
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
pause 500
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[3] calendarOpened
if ${calendarOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/span/span
endIf
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/ux-button/button
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[4]/div
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']/input
assertAttribute //*[@formcontrolname='operationalInitiationVisaForecast']/input@type radio
assertElementPresent //input[@name="operationalInitiationVisaForecast"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="operationalInitiationVisaForecast" and@value="0"]
assertElementPresent //input[@name="operationalInitiationVisaForecast" and@value="1"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="operationalInitiationVisaForecast" and@value="2"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="2"]/following-sibling::label N/A
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input@type text
click //input[@name="operationalInitiationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="operationalInitiationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input
type //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input 2
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtOperationalVerificationVisa']/div/ux-button/button
doubleClick //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[5]/div
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaForecast']/input@type radio
assertElementPresent //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertText //input[@name="operationalVerificationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertText //input[@name="operationalVerificationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input@type text
click //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
click //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input 1
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtFinancialInitiationVisa']/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[2]/td[6]/div
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']/input
assertAttribute //*[@formcontrolname='financialInitiationVisaForecast']/input@type radio
assertElementPresent //input[@name="financialInitiationVisaForecast" and@value="0"]
assertText //input[@name="financialInitiationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="financialInitiationVisaForecast" and@value="0"]
assertElementPresent //input[@name="financialInitiationVisaForecast" and@value="1"]
assertText //input[@name="financialInitiationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input@type text
click //input[@name="financialInitiationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="financialInitiationVisaForecast" and@value="0"]
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input
type //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetaryunit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/ux-button/button
click //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/input
assertAttribute //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/input@type radio
assertElementPresent //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertText //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertElementPresent //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]
assertText //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input
assertAttribute //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input@type text
click //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']/select
click //*[@formcontrolname='financialVerifyingAgentId']/select
select //*[@formcontrolname='financialVerifyingAgentId']/select label=Eric WEIN
click //option[@value='1512']
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertSelectOptions //*[@formcontrolname='suspensionId']/select Yes,No
assertElementPresent //*[@formcontrolname='suspensionId']/select
click //*[@formcontrolname='suspensionId']/select
select //*[@formcontrolname='suspensionId']/select label=No
click //option[@value='1']
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtFinancialVerificationVisa']/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[6]/div
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']/input
assertAttribute //*[@formcontrolname='financialVerificationVisaForecast']/input@type radio
assertElementPresent //input[@name="financialVerificationVisaForecast" and@value="0"]
assertText //input[@name="financialVerificationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="financialVerificationVisaForecast" and@value="0"]
assertElementPresent //input[@name="financialVerificationVisaForecast" and@value="1"]
assertText //input[@name="financialVerificationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input@type text
click //input[@name="financialVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div/div[2]/div[2]/ux-form-group
click //input[@name="financialVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input 3
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label/span Date of signature of agreement by Estat
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtSignatureOfContract']/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[2]/div
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']/input
assertAttribute //*[@formcontrolname='signatureOfContractForecast']/input@type radio
assertElementPresent //input[@name="signatureOfContractForecast" and @value="0"]
assertText //input[@name="signatureOfContractForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="signatureOfContractForecast" and @value="0"]
assertElementPresent //input[@name="signatureOfContractForecast" and @value="1"]
assertText //input[@name="signatureOfContractForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']/span/input
assertAttribute //*[@formcontrolname='signatureOfContractTimeGap']/span/input@type text
click //input[@name="signatureOfContractForecast" and @value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="signatureOfContractForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='signatureOfContractTimeGap']/span/input
type //*[@formcontrolname='signatureOfContractTimeGap']/span/input 4
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label/span First forecast of agreement sign. Estat
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[3]/div
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label/span Date of sign. of agreement by beneficiary
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/ux-button/button
click //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[6]/div
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/input
assertAttribute //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/input@type radio
assertElementPresent //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertText //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertElementPresent //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]
assertText //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input
assertAttribute //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input@type text
click //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input
type //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input 2
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label/span Date of reception of grant agreement signed
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/ux-button/button
click //*[@formcontrolname='dtReceptionAgreementSigned']/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[5]/td[1]/div
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']/input
assertAttribute //*[@formcontrolname='receptionAgreementSignedForecast']/input@type radio
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="1"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="2"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="2"]/following-sibling::label N/A
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input
assertAttribute //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input@type text
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="receptionAgreementSignedForecast" and@value="1"]
assertElementNotPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input
type //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input 1
click //*[@typeclass='warning']/button/span[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Grant
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundGrantBadge
assertEval "${backgroundGrantBadge}" == "rgb(255, 214, 23)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b New Grant
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/div
assertText //*[@formcontrolname='year']/span/div 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/div
assertText //*[@formcontrolname='orgId']/div ESTAT.B.4
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/div
assertText //*[@formcontrolname='bifiStatusId']/div Active
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference to commitment
storeText //*[@formcontrolname='si2Reference']/div SI2ReferenceDisplayed
assertEval "${SI2ReferenceDisplayed}"=="${SI2Reference}.TEST" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Grant type
assertElementPresent //*[@formcontrolname='typeId']/div
assertText //*[@formcontrolname='typeId']/div Global commitment
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Grant agreement reference
storeText //*[@formcontrolname='reference']/div GrantReferenceDisplayed
assertEval "${GrantReferenceDisplayed}"=="${GrantReference}.TEST" true
assertElementPresent //*[@label='Beneficiary']/div/label
assertText //*[@label='Beneficiary']/div/label/span Beneficiary
assertElementPresent //*[@formcontrolname='beneficiary']/
assertText //*[@formcontrolname='beneficiary']/div Bene
assertElementPresent //*[@label='Estat co-financing (%)']/div/label
assertText //*[@label='Estat co-financing (%)']/div/label/span Estat co-financing (%)
assertElementPresent //*[@formcontrolname='coFinancingEstat']/
assertText //*[@formcontrolname='coFinancingEstat']/ 60
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']/div
assertText //*[@formcontrolname='projectManagerId']/div Cecilia POP
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/div
assertText //*[@formcontrolname='dataEntryAgentId']/div Ana AMIGO
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/div
assertText //*[@formcontrolname='userReference']/div Reference for new Grant ${GrantReference} - Bilal
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/div
assertText //*[@formcontrolname='bifiComment']/div Comment for new Grant ${GrantReference} - Bilal
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
assertElementPresent //*[@formarrayname='budget']
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] A5740-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] Eurostat website and continuous adaptation of dissemination productsand services to user needs
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //*[@formcontrolname='amount']
assertText //*[@formcontrolname='amount']/span/div 4000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadge
assertEval "${backgroundRealBadge}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@class SwitchDisabled
assertEval storedVars["SwitchDisabled"].includes("disabled") true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5964-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Publications
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/div 7000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@class SwitchDisabledLine2
assertEval storedVars["SwitchDisabledLine2"].includes("disabled") true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']
assertValue //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input 12/05/2021
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertText //*[@formcontrolname='operationalInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']
assertText //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']
assertValue //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input 20/05/2021
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertText //*[@formcontrolname='operationalVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']
assertText //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/div 1
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']
assertValue //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input 05/06/2021
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertText //*[@formcontrolname='financialInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']
assertText //*[@formcontrolname='financialInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetaryunit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']
assertValue //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input 07/06/2021
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/div Real
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']
assertText //*[@formcontrolname='financialVerifyingAgentId']/div Eric WEIN
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertElementPresent //*[@formcontrolname='suspensionId']
assertText //*[@formcontrolname='suspensionId']/div No
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']
assertValue //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input 11/06/2021
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertText //*[@formcontrolname='financialVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']
assertText //*[@formcontrolname='financialVerificationVisaTimeGap']/span/div 3
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label Date of signature of agreement by Estat
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']
assertValue //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input 14/06/2021
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertText //*[@formcontrolname='signatureOfContractForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']
assertText //*[@formcontrolname='signatureOfContractTimeGap']/span/div 4
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label First forecast of agreement sign. Estat
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']
assertValue //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input 15/06/2021
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label Date of sign. of agreement by beneficiary
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']
assertValue //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input 18/06/2021
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/div 2
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label Date of reception of grant agreement signed
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']
assertValue //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input 20/06/2021
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertText //*[@formcontrolname='receptionAgreementSignedForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']
assertText //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/div 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button/span[2] Save
storeEval getComputedStyle(document.querySelector(".ux-modal--full-screen >div:nth-child(1) > div:nth-child(1) > div:nth-child(3) >uxmodalfooter:nth-child(1) > ux-layout-horizontal:nth-child(1)> div:nth-child(1) > div:nth-child(3) >uxlayouthorizontalright:nth-child(1) > ux-button:nth-child(1)> button:nth-child(1)")).backgroundColor backgroundSaveButton
assertEval "${backgroundSaveButton}" == "rgb(70, 122, 57)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[2]/button/span Close
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div
storeAttribute //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div@class validationAlertBox
assertEval storedVars["validationAlertBox"].includes("success") true
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/span Create Success
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/p
assertText //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/p Grant created successfully
pause 3000
assertElementNotPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div
Display a Contract Execution
storeLocation url
click link=Contracts and Grants Execution
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.274481.TEST
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[5] textDisplayed
assertEval storedVars["textDisplayed"].includes("Display Contract") true
assertElementPresent xpath=(//button[@type='button'])[4]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[1]@title titleViewButton
verifyEval storedVars['titleViewButton']=='View' true
click xpath=(//button[@type='button'])[4]
assertElementPresent Xpath=//*[@id="bifi-modal"]
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Contract
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundEdContractBadge
assertEval "${backgroundEdContractBadge}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b Details of Contract Reference PROV.275071.TEST
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/div
assertText //*[@formcontrolname='year']/span/div 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/div
assertText //*[@formcontrolname='orgId']/div ESTAT.B.3
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/div
assertText //*[@formcontrolname='bifiStatusId']/div Active
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference
assertElementPresent //*[@formcontrolname='si2Reference']/div
assertText //*[@formcontrolname='si2Reference']/div PROV.274481.TEST
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Contract type
assertElementPresent //*[@formcontrolname='typeId']/div
assertText //*[@formcontrolname='typeId']/div Specific contract
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Contract reference
assertElementPresent //*[@formcontrolname='reference']
assertText //*[@formcontrolname='reference']/div PROV.275071.TEST
assertElementPresent //*[@label='Number of months']/div/label
assertText //*[@label='Number of months']/div/label/span Number of months
assertElementPresent //*[@formcontrolname='monthsNumber']/span/div
assertText //*[@formcontrolname='monthsNumber']/span/div 9
assertElementPresent //*[@label='End of contract']/div/label
assertText //*[@label='End of contract']/div/label/span End of contract
assertElementPresent //*[@formcontrolname='dtEndOfContract']
assertValue //*[@formcontrolname='dtEndOfContract']/div/div/div/input 03/01/2022
assertElementPresent //*[@label='Foreign framework contract']
assertText //*[@label='Foreign framework contract']/div/label/span Foreign framework contract
assertElementPresent //*[@formcontrolname='foreignFrameworkContractId']/div
assertText //*[@formcontrolname='foreignFrameworkContractId']/div DI/05715
assertElementPresent //*[@label='Framework contact info']/div/label
assertText //*[@label='Framework contact info']/div/label/span Framework contact info
assertElementPresent //*[@label='Framework contact info']/div/div/div/div
assertText //*[@label='Framework contact info']/div/div/div/div Lot 1C: Development expertise in data warehouse, reporting and statistical tools (intra-muros)
assertElementPresent //*[@label='Selected candidate']/div/label/span
assertText //*[@label='Selected candidate']/div/label/ Selected candidate
assertElementPresent //*[@label='Selected candidate']/div/div/div/div
assertText //*[@label='Selected candidate']/div/div/div/div Consortium: One4EU (UNISYS BELGIUM, IRIS, REGGIANI Spa, SOGETI)
assertElementPresent //*[@label='Renewal']/div/label
assertText //*[@label='Renewal']/div/label/span Renewal
assertElementPresent //*[@formcontrolname='renewalId']
assertText //*[@formcontrolname='renewalId']/span/div 4
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']
assertText //*[@formcontrolname='projectManagerId']/div Raluca CARA
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']
assertText //*[@formcontrolname='dataEntryAgentId']/div Marta VASARIETE
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']
assertText //*[@formcontrolname='userReference']/div Test Case - Display Contract - A5970-2021
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']
assertText //*[@formcontrolname='bifiComment']/div Comment for contract A5970-2021
assertElementPresent //*[@label='Update date']/div/label
assertText //*[@label='Update date']/div/label/span Update date
assertElementPresent //*[@formcontrolname='dtUpdate']
assertText //*[@formcontrolname='dtUpdate']/div 09/07/2021 13:47:47
assertElementPresent //*[@label='Creation date']/div/label
assertText //*[@label='Creation date']/div/label/span Creation date
assertElementPresent //*[@formcontrolname='dtCreate']
assertText //*[@formcontrolname='dtCreate']/div 08/07/2021 00:00:00
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[3] BudgetTabOpened
if ${BudgetTabOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/span/span
endIf
assertElementPresent //*[@formarrayname='budget']
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] A5717-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] High-level seminars for senior management of the EECCA countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //*[@formcontrolname='amount']
assertText //*[@formcontrolname='amount']/span/div 3500
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundForecastBadge
assertEval "${backgroundForecastBadge}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked true
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@class SwitchDisabled
assertEval storedVars["SwitchDisabled"].includes("disabled") true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5742-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Communication with ENP countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/div 1200
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundRealBadgeLine2
assertEval "${backgroundRealBadgeLine2}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked false
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[3] calendarOpened
if ${calendarOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/span/span
endIf
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']
assertValue //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input 08/04/2021
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertText //*[@formcontrolname='operationalInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']
assertText //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/div 1
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']
assertValue //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input 11/04/2021
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertText //*[@formcontrolname='operationalVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']
assertText //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='External visa 1']
assertText //*[@label='External visa 1']/div/label/span External visa 1
assertElementPresent //*[@formcontrolname='dtExternalVisa1']
assertValue //*[@formcontrolname='dtExternalVisa1']/div/div/div/input 20/04/2021
assertElementPresent //*[@formcontrolname='externalVisa1Forecast']
assertText //*[@formcontrolname='externalVisa1Forecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='externalVisa1TimeGap']
assertText //*[@formcontrolname='externalVisa1TimeGap']/span/div 3
assertElementPresent //*[@label='External visa type 1']
assertText //*[@label='External visa type 1']/div/label/span External visa type 1
assertElementPresent //*[@formcontrolname='externalVisaType1']
assertText //*[@formcontrolname='externalVisaType1'] Ext.Visa.Tp1
assertElementPresent //*[@label='External visa 2']
assertText //*[@label='External visa 2']/div/label/span External visa 2
assertElementPresent //*[@formcontrolname='dtExternalVisa2']
assertValue //*[@formcontrolname='dtExternalVisa2']/div/div/div/input 24/04/2021
assertElementPresent //*[@formcontrolname='externalVisa2Forecast']
assertText //*[@formcontrolname='externalVisa2Forecast']/div Forecast
assertElementPresent //*[@label='External visa type 2']
assertText //*[@label='External visa type 2']/div/label/span External visa type 2
assertElementPresent //*[@formcontrolname='externalVisaType2']
assertText //*[@formcontrolname='externalVisaType2']/div Ext.Visa.Tp2
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']
assertValue //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input 30/04/2021
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertText //*[@formcontrolname='financialInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']
assertText //*[@formcontrolname='financialInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetary unit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']
assertValue //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input 03/05/2021
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/div 1
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']
assertText //*[@formcontrolname='financialVerifyingAgentId']/div Eric WEIN
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertElementPresent //*[@formcontrolname='suspensionId']
assertText //*[@formcontrolname='suspensionId']/div Yes
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']
assertValue //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input 07/05/2021
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertText //*[@formcontrolname='financialVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']
assertText //*[@formcontrolname='financialVerificationVisaTimeGap']/span/div 4
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[1]/ux-form-group/div/label/span Signature of contract
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']
assertValue //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input 14/05/2021
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertText //*[@formcontrolname='signatureOfContractForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']
assertText //*[@formcontrolname='signatureOfContractTimeGap']/span/div 3
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label
assertText //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label/span First forecast of sign. of contract
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']
assertValue //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input 11/05/2021
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label/span Date of sign. of contract by contractor
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/div Forecast
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/div 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group/div/label/span Date reception contract signed by contractor
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']
assertValue //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input 19/05/2021
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertText //*[@formcontrolname='receptionAgreementSignedForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']
assertText //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/div 2
assertElementPresent //*[@label='Simap date']
assertText //*[@label='Simap date']/div/label/span Simap date
assertElementPresent //*[@formcontrolname='dtSimap']
assertValue //*[@formcontrolname='dtSimap']/div/div/div/input 21/05/2021
assertElementPresent //*[@formcontrolname='simapForecast']
assertText //*[@formcontrolname='simapForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='simapTimeGap']
assertText //*[@formcontrolname='simapTimeGap']/span/div 1
assertElementPresent //*[@label='Contract award notice']
assertText //*[@label='Contract award notice']/div/label/span Contract award notice
assertElementPresent //*[@formcontrolname='dtContractAwardNotice']
assertValue //*[@formcontrolname='dtContractAwardNotice']/div/div/div/input 24/05/2021
assertElementPresent //*[@formcontrolname='contractAwardNoticeForecast']
assertText //*[@formcontrolname='contractAwardNoticeForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='contractAwardNoticeTimeGap']
assertText //*[@formcontrolname='contractAwardNoticeTimeGap']/span/div 3
assertElementPresent //*[@label='Ref contract award notice']
assertText //*[@label='Ref contract award notice']/div/label/span Ref contract award notice
assertElementPresent //*[@formcontrolname='referenceContractAwardNotice']
assertText //*[@formcontrolname='referenceContractAwardNotice']/div Ref.award - A5970-2021
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button/span Close
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertElementPresent Xpath=//*[@id="bifi-modal"]
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
Display a Grant Execution
storeLocation url
click link=Contracts and Grants Execution
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.275048
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[5] textDisplayed
assertEval storedVars["textDisplayed"].includes("CSB - B.3 - Display Grant") true
assertElementPresent xpath=(//button[@type='button'])[4]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[1]@title titleViewButton
verifyEval storedVars['titleViewButton']=='View' true
click xpath=(//button[@type='button'])[4]
assertElementPresent Xpath=//*[@id="bifi-modal"]
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Grant
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundGrantBadge
assertEval "${backgroundGrantBadge}" == "rgb(255, 214, 23)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b Details of Grant Reference PROV.275772
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/div
assertText //*[@formcontrolname='year']/span/div 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/div
assertText //*[@formcontrolname='orgId']/div ESTAT.B.3
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/div
assertText //*[@formcontrolname='bifiStatusId']/div Active
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference to commitment
assertElementPresent //*[@formcontrolname='si2Reference']/div
assertText //*[@formcontrolname='si2Reference']/div PROV.275048
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Grant type
assertElementPresent //*[@formcontrolname='typeId']/div
assertText //*[@formcontrolname='typeId']/div Grant on Global commitment
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Grant agreement reference
assertElementPresent //*[@formcontrolname='reference']/div
assertText //*[@formcontrolname='reference']/div PROV.275772
assertElementPresent //*[@label='Beneficiary']/div/label
assertText //*[@label='Beneficiary']/div/label/span Beneficiary
assertElementPresent //*[@formcontrolname='beneficiary']/
assertText //*[@formcontrolname='beneficiary']/div Bene
assertElementPresent //*[@label='Estat co-financing (%)']/div/label
assertText //*[@label='Estat co-financing (%)']/div/label/span Estat co-financing (%)
assertElementPresent //*[@formcontrolname='coFinancingEstat']/
assertText //*[@formcontrolname='coFinancingEstat']/ 50
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']/div
assertText //*[@formcontrolname='projectManagerId']/div Bilal EL YOUSFI
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/div
assertText //*[@formcontrolname='dataEntryAgentId']/div Bilal EL YOUSFI
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/div
assertText //*[@formcontrolname='userReference']/div Test Case - CSB - B.3 - Display Grant - PROV.275048 - Bilal
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/div
assertText //*[@formcontrolname='bifiComment']/div Comment for new Grant PROV.275048
assertElementPresent //*[@label='Update date']/div/label
assertText //*[@label='Update date']/div/label/span Update date
assertElementPresent //*[@formcontrolname='dtUpdate']
assertText //*[@formcontrolname='dtUpdate']/div 20/07/2021 09:03:34
assertElementPresent //*[@label='Creation date']/div/label
assertText //*[@label='Creation date']/div/label/span Creation date
assertElementPresent //*[@formcontrolname='dtCreate']
assertText //*[@formcontrolname='dtCreate']/div 14/07/2021 00:00:00
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[3] BudgetTabOpened
if ${BudgetTabOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/span/span
endIf
assertElementPresent //*[@formarrayname='budget']
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] A5742-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] Communication with ENP countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //*[@formcontrolname='amount']
assertText //*[@formcontrolname='amount']/span/div 4000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(1) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadge
assertEval "${backgroundForecastBadge}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked true
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@class SwitchDisabled
assertEval storedVars["SwitchDisabled"].includes("disabled") true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5969-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Statistical assessments for the ENP-countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/div 7000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastRealLine2
assertEval "${backgroundForecastRealLine2}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked false
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@class SwitchDisabledLine2
assertEval storedVars["SwitchDisabledLine2"].includes("disabled") true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[3] calendarOpened
if ${calendarOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/span/span
endIf
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']
assertValue //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input 11/05/2021
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertText //*[@formcontrolname='operationalInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']
assertText //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']
assertValue //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input 19/05/2021
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertText //*[@formcontrolname='operationalVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']
assertText //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/div 1
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']
assertValue //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input 04/06/2021
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertText //*[@formcontrolname='financialInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']
assertText //*[@formcontrolname='financialInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetary unit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']
assertValue //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input 06/06/2021
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/div Real
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']
assertText //*[@formcontrolname='financialVerifyingAgentId']/div Eric WEIN
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertElementPresent //*[@formcontrolname='suspensionId']
assertText //*[@formcontrolname='suspensionId']/div No
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']
assertValue //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input 10/06/2021
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertText //*[@formcontrolname='financialVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']
assertText //*[@formcontrolname='financialVerificationVisaTimeGap']/span/div 3
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label Date of signature of agreement by Estat
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']
assertValue //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input 13/06/2021
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertText //*[@formcontrolname='signatureOfContractForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']
assertText //*[@formcontrolname='signatureOfContractTimeGap']/span/div 4
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label First forecast of agreement sign. Estat
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']
assertValue //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input 14/06/2021
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label Date of sign. of agreement by beneficiary
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']
assertValue //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input 17/06/2021
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/div 2
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label Date of reception of grant agreement signed
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']
assertValue //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input 19/06/2021
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertText //*[@formcontrolname='receptionAgreementSignedForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']
assertText //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/div 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button/span Close
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertElementPresent Xpath=//*[@id="bifi-modal"]
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
Edit a Contract Execution
click link=Contracts and Grants Execution
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.275201
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[5] textDisplayed
assertEval storedVars["textDisplayed"].includes("Test Case - Edit Contract -PROV.275201 - Bilal") true
assertElementPresent xpath=(//button[@type='button'])[4]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[1]@title titleViewButton
verifyEval storedVars['titleViewButton']=='View' true
click xpath=(//button[@type='button'])[4]
assertElementPresent Xpath=//*[@id="bifi-modal"]
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Contract
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundContractBadge
assertEval "${backgroundContractBadge}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b Details of Contract Reference PROV.276004
assertElementPresent //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
click xpath=(//button[@type='button'])[4]
click //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button
pause 1000
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[2]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[1]/button/span[2] Cancel
storeEval getComputedStyle(document.querySelector(".flex-container >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundCancelButton
assertEval "${backgroundCancelButton}" == "rgb(218, 33, 49)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[2]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[2]/button/span[2] Check data
storeEval getComputedStyle(document.querySelector(".ux-button--warning")).backgroundColor backgroundCheckDataButton
assertEval "${backgroundCheckDataButton}" == "rgb(242, 149, 39)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[3] BudgetTabOpened
if ${BudgetTabOpened}==false
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/span/span
endIf
assertElementPresent //*[@formarrayname='budget']
assertElementPresent //*[@formarrayname='budget']/ux-dropdown-tree
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] A5717-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] High-level seminars for senior management of the EECCA countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
assertValue //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 2000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(1) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundRealBadge
assertEval "${backgroundRealBadge}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5742-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Communication with ENP countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
assertValue //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 3000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[2] A5773-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[3] Seminars, meetings and events for ENP-South countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
assertValue //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 5000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tr.ng-star-inserted:nth-child(3)> td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine3
assertEval "${backgroundForecastBadgeLine3}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[7]/ux-switch
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[3]/td[7]/ux-switch/span@aria-checked true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/input
assertAttribute //*[@formcontrolname='year']/span/input@type text
assertValue //*[@formcontrolname='year']/span/input 2021
click //*[@formcontrolname='year']/span/input
type //*[@formcontrolname='year']/span/input 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/select
assertSelectedLabel //*[@formcontrolname='orgId']/select ESTAT.B.3
assertSelectedValue //*[@formcontrolname='orgId']/select 7261
click //*[@formcontrolname='orgId']/select
select //*[@formcontrolname='orgId']/select label=ESTAT.A.1
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/select
assertSelectOptions //*[@formcontrolname='bifiStatusId']/select Deleted,Active
assertSelectedLabel //*[@formcontrolname='bifiStatusId']/select Active
assertSelectedValue //*[@formcontrolname='bifiStatusId']/select 1
click //*[@formcontrolname='bifiStatusId']/select
select //*[@formcontrolname='bifiStatusId']/select label=Active
click //option[@value='2']
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference
assertElementPresent //*[@formcontrolname='si2Reference']/span/input
assertAttribute //*[@formcontrolname='si2Reference']/span/input@type text
assertValue //*[@formcontrolname='si2Reference']/span/input PROV.275201
storeValue //*[@formcontrolname='si2Reference']/span/input SI2Reference
click //*[@formcontrolname='si2Reference']/span/input
type //*[@formcontrolname='si2Reference']/span/input ${SI2Reference}.TT
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Contract type
assertElementPresent //*[@formcontrolname='typeId']/select
assertSelectOptions //*[@formcontrolname='typeId']/select Framework contract,Contract,Other,Specific contract,Purchaseorder,Contract on a global commitment,Direct Contract,DirectContract Renewal,PN1C,PN3C,PN5C
assertSelectedLabel //*[@formcontrolname='typeId']/select Specific contract
assertSelectedValue //*[@formcontrolname='typeId']/select 2
assertSelectOptions //*[@formcontrolname='typeId']/select Framework contract,Contract,Other,Specific contract,Purchaseorder,Contract on a global commitment,Direct Contract,DirectContract Renewal,PN1C,PN3C,PN5C
select //*[@formcontrolname='typeId']/select label=Direct Contract Renewal
click //option[@value='6']
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Contract reference
assertElementPresent //*[@formcontrolname='reference']/span/input
assertAttribute //*[@formcontrolname='reference']/span/input@type text
assertValue //*[@formcontrolname='reference']/span/input PROV.276004
storeValue //*[@formcontrolname='reference']/span/input ContractReference
click //*[@formcontrolname='reference']/span/input
type //*[@formcontrolname='reference']/span/input ${ContractReference}.TT
assertElementPresent //*[@label='Number of months']/div/label
assertText //*[@label='Number of months']/div/label/span Number of months
assertElementPresent //*[@formcontrolname='monthsNumber']/span/input
assertAttribute //*[@formcontrolname='monthsNumber']/span/input@type text
assertValue //*[@formcontrolname='monthsNumber']/span/input 6
click //*[@formcontrolname='monthsNumber']/span/input
type //*[@formcontrolname='monthsNumber']/span/input 5
assertElementPresent //*[@label='End of contract']/div/label/span
assertText //*[@label='End of contract']/div/label/span End of contract
assertElementPresent //*[@formcontrolname='dtEndOfContract']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtEndOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtEndOfContract']/div/div/ux-button/button
click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[3]
click //mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[2]/td[2]/div
assertElementPresent //*[@label='Foreign framework contract']/div/label/span
assertText //*[@label='Foreign framework contract']/div/label/span Foreign framework contract
assertElementPresent //*[@formcontrolname='foreignFrameworkContractId']/select
assertSelectedLabel //*[@formcontrolname='foreignFrameworkContractId']/select DI/05720
assertSelectedValue //*[@formcontrolname='foreignFrameworkContractId']/select 11
assertElementPresent //*[@label='Framework contact info']/div/label
assertText //*[@label='Framework contact info']/div/label/span Framework contact info
assertElementPresent //*[@label='Framework contact info']/div/div/div/div
assertText //*[@label='Framework contact info']/div/div/div/div Lot 3A: Quality, security, requirement analysis and specific studies(intra et extra-muros)
assertText //*[@label='Selected candidate']/div/label/ Selected candidate
assertElementPresent //*[@label='Selected candidate']/div/div/div/div
assertText //*[@label='Selected candidate']/div/div/div/div Logica CMG SA
click //*[@formcontrolname='foreignFrameworkContractId']/select
select //*[@formcontrolname='foreignFrameworkContractId']/select label=DI/05720
assertText //*[@label='Framework contact info']/div/div/div/div Lot 3A: Quality, security, requirement analysis and specific studies(intra et extra-muros)
assertText //*[@label='Selected candidate']/div/div/div/div Logica CMG SA
assertElementPresent //*[@label='Renewal']/div/label/span
assertText //*[@label='Renewal']/div/label/span Renewal
assertElementPresent //*[@formcontrolname='renewalId']/span/input
assertAttribute //*[@formcontrolname='renewalId']/span/input@type text
assertValue //*[@formcontrolname='renewalId']/span/input 2
click //*[@formcontrolname='renewalId']/span/input
type //*[@formcontrolname='renewalId']/span/input 3
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']/select
assertSelectedLabel //*[@formcontrolname='projectManagerId']/select Bilal EL YOUSFI
assertSelectedValue //*[@formcontrolname='projectManagerId']/select 90235331
click //*[@formcontrolname='projectManagerId']/select
select //*[@formcontrolname='projectManagerId']/select label=Daniela COMINI
click //option[@value='2042']
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/select
assertSelectedLabel //*[@formcontrolname='dataEntryAgentId']/select Bilal EL YOUSFI
assertSelectedValue //*[@formcontrolname='dataEntryAgentId']/select 90235331
click //*[@formcontrolname='dataEntryAgentId']/select
select //*[@formcontrolname='dataEntryAgentId']/select label=Paul KONIJN
click //option[@value='1973']
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/span/textarea
assertValue //*[@formcontrolname='userReference']/span/textarea Test Case - Edit Contract - PROV.275201 - Bilal
click //*[@formcontrolname='userReference']/span/textarea
type //*[@formcontrolname='userReference']/span/textarea Test Case - Edit Contract - PROV.275132.TEST - Update Test
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/span/textarea
assertValue //*[@formcontrolname='bifiComment']/span/textarea Comment for contract PROV.275201 - Updated
click //*[@formcontrolname='bifiComment']/span/textarea
type //*[@formcontrolname='bifiComment']/span/textarea Comment for contract PROV.275201 - Updated - Update Test
assertElementPresent //*[@label='Update date']/div/label
assertText //*[@label='Update date']/div/label/span Update date
assertElementPresent //*[@formcontrolname='dtUpdate']
assertElementPresent //*[@label='Creation date']/div/label
assertText //*[@label='Creation date']/div/label/span Creation date
assertElementPresent //*[@formcontrolname='dtCreate']
assertText //div[@class='cdk-overlay-container']
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button/button/span/span Select a Project
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button
assertElementPresent //div[@class='cdk-overlay-connected-position-bounding-box']
click //html/body/div/div[2]/div/div/div/div/div/ux-tree/ul/ux-tree-node[1]/li/div/span[1]/input
click //html/body/div/div[2]/div/div/div/div/div/ux-tree/ul/ux-tree-node[3]/li/div/span[1]/input
click //html/body/div/div[2]/div/div/div/div/div/ux-tree/ul/ux-tree-node[5]/li/div/span[1]/input
click //body/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button/button/span/span A5742-2021, A5943-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] A5742-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] Communication with ENP countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
type //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 2000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(1) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadge
assertEval "${backgroundForecastBadge}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked true
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector("html body.modal-openapp-root ux-layout-app-shelldiv#app-wrapper.sidebar--open.sidebar-state-close-with-icons.xxldiv#main div#main-content bifi-home.ng-star-inserted bifi-modalux-modal#bifi-modaldiv#bifi-modal.eui-u-anim.ux-modal.ux-modal--full-screen.eui-u-anim--slideInDown.eui-u-anim--fast.showdiv.cdk-drag.ux-modal__dialog.cdk-drag-disableddiv.ux-modal__content div.ux-modal__body uxmodalbodybifi-form.ng-star-inserted form.ng-valid.ng-dirty.ng-touched ux-carddiv.ux-card.ux-card--accent div.ux-card__body.ng-star-insertedbudget-card div.container-fluid.ng-valid.ng-dirty.ng-toucheddiv.ng-valid.ng-dirty.ng-touched table.ux-tabletbody.ng-star-inserted tr.ng-star-insertedtd.text-center.ng-star-inserted ux-badgespan.ux-badge.ux-badge--pill.ux-badge--info")).backgroundColor backgroundRealBadgeNewLine1
assertEval "${backgroundRealBadgeNewLine1}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5943-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Maintenance, support and helpdesk services for tools
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
type //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 3000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[3] calendarOpened
if ${calendarOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/span/span
endIf
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input
assertValue //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input 29/12/2020
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/ux-button/button
click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[6]/td[4]/div
assertValue //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input 11/11/2020
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']/input
assertAttribute //*[@formcontrolname='operationalInitiationVisaForecast']/input@type radio
assertElementPresent //input[@name="operationalInitiationVisaForecast"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="operationalInitiationVisaForecast" and@value="0"]
assertElementPresent //input[@name="operationalInitiationVisaForecast" and@value="1"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="operationalInitiationVisaForecast" and@value="2"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="2"]/following-sibling::label N/A
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input@type text
assertValue //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input 3
click //input[@name="operationalInitiationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="operationalInitiationVisaForecast" and@value="0"]
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input
assertValue //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input 07/02/2021
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertValue //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input 08/02/2021
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaForecast']/input@type radio
assertElementPresent //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertText //input[@name="operationalVerificationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertText //input[@name="operationalVerificationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input@type text
click //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertValue //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input 1
click //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input 1
assertElementPresent //*[@label='External visa 1']
assertText //*[@label='External visa 1']/div/label/span External visa 1
assertElementPresent //*[@formcontrolname='dtExternalVisa1']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtExternalVisa1']/div/div/ux-button/button
assertValue //*[@formcontrolname='dtExternalVisa1']/div/div/div/input 10/02/2021
click //*[@formcontrolname='dtExternalVisa1']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[5]/div
assertValue //*[@formcontrolname='dtExternalVisa1']/div/div/div/input 11/02/2021
assertElementPresent //*[@formcontrolname='externalVisa1Forecast']
assertElementPresent //*[@formcontrolname='externalVisa1Forecast']/input
assertAttribute //*[@formcontrolname='externalVisa1Forecast']/input@type radio
assertElementPresent //input[@name="externalVisa1Forecast" and @value="0"]
assertChecked //input[@name="externalVisa1Forecast" and @value="0"]
assertText //input[@name="externalVisa1Forecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="externalVisa1Forecast" and @value="1"]
assertText //input[@name="externalVisa1Forecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="externalVisa1Forecast" and @value="2"]
assertText //input[@name="externalVisa1Forecast" and@value="2"]/following-sibling::label N/A
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="externalVisa1Forecast" and @value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="externalVisa1Forecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='externalVisa1TimeGap']/span/input
assertAttribute //*[@formcontrolname='externalVisa1TimeGap']/span/input@type text
assertValue //*[@formcontrolname='externalVisa1TimeGap']/span/input 2
click //*[@formcontrolname='externalVisa1TimeGap']/span/input
type //*[@formcontrolname='externalVisa1TimeGap']/span/input 3
assertElementPresent //*[@label='External visa type 1']
assertText //*[@label='External visa type 1']/div/label/span External visa type 1
assertElementPresent //*[@formcontrolname='externalVisaType1']/span/input
assertAttribute //*[@formcontrolname='externalVisaType1']/span/input@type text
assertValue //*[@formcontrolname='externalVisaType1']/span/input Ext.Visa.T1
click //*[@formcontrolname='externalVisaType1']/span/input
type //*[@formcontrolname='externalVisaType1']/span/input Ext.Visa.T.1
assertElementPresent //*[@label='External visa 2']
assertText //*[@label='External visa 2']/div/label/span External visa 2
assertElementPresent //*[@formcontrolname='dtExternalVisa2']/div/div/div/input
assertElementPresent //*[@formcontrolname='dtExternalVisa2']/div/div/ux-button/button
assertValue //*[@formcontrolname='dtExternalVisa2']/div/div/div/input 13/02/2021
click //*[@formcontrolname='dtExternalVisa2']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td/div
assertValue //*[@formcontrolname='dtExternalVisa2']/div/div/div/input 17/01/2021
assertElementPresent //*[@formcontrolname='externalVisa2Forecast']
assertElementPresent //*[@formcontrolname='externalVisa2Forecast']/input
assertAttribute //*[@formcontrolname='externalVisa2Forecast']/input@type radio
assertElementPresent //input[@name="externalVisa2Forecast" and @value="0"]
assertText //input[@name="externalVisa2Forecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="externalVisa2Forecast" and @value="1"]
assertText //input[@name="externalVisa2Forecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="externalVisa2Forecast" and @value="2"]
assertText //input[@name="externalVisa2Forecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="externalVisa2Forecast" and @value="0"]
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[3]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="externalVisa2Forecast" and @value="1"]
assertElementNotPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[3]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="externalVisa2Forecast" and @value="0"]
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[3]/div[1]/div[2]/div[2]/ux-form-group/div
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[3]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='externalVisa2TimeGap']/span/input
assertAttribute //*[@formcontrolname='externalVisa2TimeGap']/span/input@type text
click //*[@formcontrolname='externalVisa2TimeGap']/span/input
type //*[@formcontrolname='externalVisa2TimeGap']/span/input 3
assertElementPresent //*[@label='External visa type 2']
assertText //*[@label='External visa type 2']/div/label/span External visa type 2
assertElementPresent //*[@formcontrolname='externalVisaType2']/span/input
assertAttribute //*[@formcontrolname='externalVisaType2']/span/input@type text
assertValue //*[@formcontrolname='externalVisaType2']/span/input Ext.Visa.T2
click //*[@formcontrolname='externalVisaType2']/span/input
type //*[@formcontrolname='externalVisaType2']/span/input Ext.Visa.T.2
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input
assertValue //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input 28/02/2021
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[2]/td[2]/div
assertValue //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input 01/02/2021
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']/input
assertAttribute //*[@formcontrolname='financialInitiationVisaForecast']/input@type radio
assertElementPresent //input[@name="financialInitiationVisaForecast" and@value="0"]
assertText //input[@name="financialInitiationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="financialInitiationVisaForecast" and@value="1"]
assertElementPresent //input[@name="financialInitiationVisaForecast" and@value="1"]
assertText //input[@name="financialInitiationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementNotPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="financialInitiationVisaForecast" and@value="0"]
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input@type text
assertValue //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input 1
click //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input
type //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetaryunit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input
assertValue //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input 07/03/2021
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/ux-button/button
click //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertValue //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input 08/03/2021
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/input
assertAttribute //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/input@type radio
assertElementPresent //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertText //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]
assertElementPresent //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]
assertText //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]/following-sibling::label Real
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input
assertAttribute //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input@type text
assertValue //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input 5
click //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input
type //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input 2
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']/select
assertSelectedLabel //*[@formcontrolname='financialVerifyingAgentId']/select Eric WEIN
assertSelectedValue //*[@formcontrolname='financialVerifyingAgentId']/select 1512
click //*[@formcontrolname='financialVerifyingAgentId']/select
select //*[@formcontrolname='financialVerifyingAgentId']/select label=Didier DUPRE
click //option[@value='1566']
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertElementPresent //*[@formcontrolname='suspensionId']/select
assertSelectOptions //*[@formcontrolname='suspensionId']/select Yes,No
assertSelectedLabel //*[@formcontrolname='suspensionId']/select Yes
assertSelectedValue //*[@formcontrolname='suspensionId']/select 0
click //*[@formcontrolname='suspensionId']/select
select //*[@formcontrolname='suspensionId']/select label=No
click //option[@value='1']
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input
assertValue //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input 22/03/2021
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[5]/td[3]/div
assertValue //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input 23/02/2021
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']/input
assertAttribute //*[@formcontrolname='financialVerificationVisaForecast']/input@type radio
assertElementPresent //input[@name="financialVerificationVisaForecast" and@value="0"]
assertText //input[@name="financialVerificationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="financialVerificationVisaForecast" and@value="0"]
assertElementPresent //input[@name="financialVerificationVisaForecast" and@value="1"]
assertText //input[@name="financialVerificationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input@type text
assertValue //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input 1
click //input[@name="financialVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
click //input[@name="financialVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input 3
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[1]/ux-form-group/div/label/span Signature of contract
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input
assertValue //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input 31/03/2021
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtSignatureOfContract']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[1]/td[2]/div
assertValue //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input 15/03/2021
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']/input
assertAttribute //*[@formcontrolname='signatureOfContractForecast']/input@type radio
assertElementPresent //input[@name="signatureOfContractForecast" and @value="0"]
assertText //input[@name="signatureOfContractForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="signatureOfContractForecast" and @value="1"]
assertText //input[@name="signatureOfContractForecast" and@value="1"]/following-sibling::label Real
assertChecked //input[@name="signatureOfContractForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="signatureOfContractForecast" and @value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="signatureOfContractForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']/span/input
assertAttribute //*[@formcontrolname='signatureOfContractTimeGap']/span/input@type text
click //*[@formcontrolname='signatureOfContractTimeGap']/span/input
type //*[@formcontrolname='signatureOfContractTimeGap']/span/input 5
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label/span First forecast of sign. of contract
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input
assertValue //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input 19/04/2021
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/ux-button/button
Click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[3]/div
assertValue //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input 16/03/2021
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label/span Date of sign. of contract by contractor
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input
assertValue //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input 04/05/2021
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/ux-button/button
click //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[2]/td[4]/div
assertValue //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input 05/05/2021
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/input
assertAttribute //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/input@type radio
assertElementPresent //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertText //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertElementPresent //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]
assertText //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input
assertAttribute //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input@type text
assertValue //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input 2
click //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]
assertElementNotPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
click //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input
type //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group/div/label/span Date reception contract signed by contractor
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input
assertValue //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input 09/05/2021
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/ux-button/button
click //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertValue //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input 10/05/2021
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']/input
assertAttribute //*[@formcontrolname='receptionAgreementSignedForecast']/input@type radio
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="1"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="2"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="receptionAgreementSignedForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input
assertAttribute //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input@type text
click //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input
type //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input 4
assertElementPresent //*[@label='Simap date']
assertText //*[@label='Simap date']/div/label/span Simap date
assertElementPresent //*[@formcontrolname='dtSimap']/div/div/div/input
assertValue //*[@formcontrolname='dtSimap']/div/div/div/input 16/05/2021
assertElementPresent //*[@formcontrolname='dtSimap']/div/div/ux-button/button
click //*[@formcontrolname='dtSimap']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[2]/div
assertValue //*[@formcontrolname='dtSimap']/div/div/div/input 17/05/2021
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertElementPresent //*[@formcontrolname='simapForecast']/input
assertAttribute //*[@formcontrolname='simapForecast']/input@type radio
assertElementPresent //input[@name="simapForecast" and @value="0"]
assertText //input[@name="simapForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="simapForecast" and @value="1"]
assertText //input[@name="simapForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="simapForecast" and @value="2"]
assertText //input[@name="simapForecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="simapForecast" and @value="0"]
click //input[@name="simapForecast" and @value="2"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group
click //input[@name="simapForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group/div/label/span/ Time gap
assertElementPresent //*[@formcontrolname='simapTimeGap']/span/input
assertAttribute //*[@formcontrolname='simapTimeGap']/span/input@type text
assertValue //*[@formcontrolname='simapTimeGap']/span/input 2
click //*[@formcontrolname='simapTimeGap']/span/input
type //*[@formcontrolname='simapTimeGap']/span/input 1
assertElementPresent //*[@label='Contract award notice']
assertText //*[@label='Contract award notice']/div/label/span Contract award notice
assertElementPresent //*[@formcontrolname='dtContractAwardNotice']/div/div/div/input
assertValue //*[@formcontrolname='dtContractAwardNotice']/div/div/div/input 31/05/2021
assertElementPresent //*[@formcontrolname='dtContractAwardNotice']/div/div/ux-button/button
click //*[@formcontrolname='dtContractAwardNotice']/div/div/ux-button/button
click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[3]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[2]/td[2]/div
assertValue //*[@formcontrolname='dtContractAwardNotice']/div/div/div/input 01/06/2021
assertElementPresent //*[@formcontrolname='contractAwardNoticeForecast']
assertElementPresent //*[@formcontrolname='contractAwardNoticeForecast']/input
assertAttribute //*[@formcontrolname='contractAwardNoticeForecast']/input@type radio
assertElementPresent //input[@name="contractAwardNoticeForecast" and @value="0"]
assertText //input[@name="contractAwardNoticeForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="contractAwardNoticeForecast" and @value="1"]
assertText //input[@name="contractAwardNoticeForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="contractAwardNoticeForecast" and @value="2"]
assertText //input[@name="contractAwardNoticeForecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="contractAwardNoticeForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="contractAwardNoticeForecast" and @value="2"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="contractAwardNoticeForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group Time gap
assertElementPresent //*[@formcontrolname='contractAwardNoticeTimeGap']/span/input
assertAttribute //*[@formcontrolname='contractAwardNoticeTimeGap']/span/input@type text
type //*[@formcontrolname='contractAwardNoticeTimeGap']/span/input 3
assertElementPresent //*[@label='Ref contract award notice']
assertText //*[@label='Ref contract award notice']/div/label/span Ref contract award notice
assertElementPresent //*[@formcontrolname='referenceContractAwardNotice']
assertAttribute //*[@formcontrolname='referenceContractAwardNotice']/span/input@type text
assertValue //*[@formcontrolname='referenceContractAwardNotice']/span/input Ref.award PROV.275201
click //*[@formcontrolname='referenceContractAwardNotice']/span/input
type //*[@formcontrolname='referenceContractAwardNotice']/span/input Ref.award PROV.275201 UP
click //*[@typeclass='warning']/button/span[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Contract
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundEdContractBadge
assertEval "${backgroundEdContractBadge}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b Details of Contract Reference PROV.276004
assertElementPresent //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[2]/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[2]/button/span[2] Cancel
storeEval getComputedStyle(document.querySelector("ux-button.ng-star-inserted:nth-child(2)> button:nth-child(1)")).backgroundColor backgroundCancelButton
assertEval "${backgroundCancelButton}" == "rgb(218, 33, 49)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/div
assertText //*[@formcontrolname='year']/span/div 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/div
assertText //*[@formcontrolname='orgId']/div ESTAT.B.3
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/div
assertText //*[@formcontrolname='bifiStatusId']/div Active
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference
storeText //*[@formcontrolname='si2Reference']/div SI2ReferenceDisplayed
assertEval "${SI2ReferenceDisplayed}"=="${SI2Reference}.TT" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Contract type
assertElementPresent //*[@formcontrolname='typeId']/div
assertText //*[@formcontrolname='typeId']/div Direct Contract Renewal
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Contract reference
storeText //*[@formcontrolname='reference']/div ContractReferenceDisplayed
assertEval "${ContractReferenceDisplayed}"=="${ContractReference}.TT" true
assertElementPresent //*[@label='Number of months']/div/label
assertText //*[@label='Number of months']/div/label/span Number of months
assertElementPresent //*[@formcontrolname='monthsNumber']/span/div
assertText //*[@formcontrolname='monthsNumber']/span/div 5
assertElementPresent //*[@label='End of contract']/div/label
assertText //*[@label='End of contract']/div/label/span End of contract
assertElementPresent //*[@formcontrolname='dtEndOfContract']/div/div/div/input
assertValue //*[@formcontrolname='dtEndOfContract']/div/div/div/input 01/02/2022
assertElementPresent //*[@label='Foreign framework contract']
assertText //*[@label='Foreign framework contract']/div/label/span Foreign framework contract
assertElementPresent //*[@formcontrolname='foreignFrameworkContractId']/div
assertText //*[@formcontrolname='foreignFrameworkContractId']/div DI/05720
assertElementPresent //*[@label='Framework contact info']/div/label
assertText //*[@label='Framework contact info']/div/label/span Framework contact info
assertElementPresent //*[@label='Framework contact info']/div/div/div/div
assertText //*[@label='Framework contact info']/div/div/div/div Lot 3A: Quality, security, requirement analysis and specific studies(intra et extra-muros)
assertElementPresent //*[@label='Selected candidate']/div/label/span
assertText //*[@label='Selected candidate']/div/label/ Selected candidate
assertElementPresent //*[@label='Selected candidate']/div/div/div/div
assertText //*[@label='Selected candidate']/div/div/div/div Logica CMG SA
assertElementPresent //*[@label='Renewal']/div/label
assertText //*[@label='Renewal']/div/label/span Renewal
assertElementPresent //*[@formcontrolname='renewalId']/span/div
assertText //*[@formcontrolname='renewalId']/span/div 3
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']
assertText //*[@formcontrolname='projectManagerId']/div Daniela COMINI
assertText //*[@formcontrolname='userReference']/div/div Test Case - Edit Contract - PROV.275132.TEST - Update Test
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/div
assertText //*[@formcontrolname='dataEntryAgentId']/div Paul KONIJN
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/div
assertText //*[@formcontrolname='userReference']/div Test Case - Edit Contract - PROV.275132.TEST - Update Test
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/div
assertText //*[@formcontrolname='bifiComment']/div Comment for contract PROV.275201 - Updated - Update Test
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
assertElementPresent //*[@formarrayname='budget']
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] A5742-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] Communication with ENP countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //*[@formcontrolname='amount']
assertText //*[@formcontrolname='amount']/span/div 2000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadge
assertEval "${backgroundRealBadge}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@class SwitchDisabled
assertEval storedVars["SwitchDisabled"].includes("disabled") true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5943-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Maintenance, support and helpdesk services for tools
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/div 3000
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@class SwitchDisabledLine2
assertEval storedVars["SwitchDisabledLine2"].includes("disabled") true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']
assertValue //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input 11/11/2020
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertText //*[@formcontrolname='operationalInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']
assertText //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/div 3
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']
assertValue //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input 08/02/2021
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertText //*[@formcontrolname='operationalVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']
assertText //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/div 1
assertElementPresent //*[@label='External visa 1']
assertText //*[@label='External visa 1']/div/label/span External visa 1
assertElementPresent //*[@formcontrolname='dtExternalVisa1']
assertValue //*[@formcontrolname='dtExternalVisa1']/div/div/div/input 11/02/2021
assertElementPresent //*[@formcontrolname='externalVisa1Forecast']
assertText //*[@formcontrolname='externalVisa1Forecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='externalVisa1TimeGap']
assertText //*[@formcontrolname='externalVisa1TimeGap']/span/div 3
assertElementPresent //*[@label='External visa type 1']
assertText //*[@label='External visa type 1']/div/label/span External visa type 1
assertElementPresent //*[@formcontrolname='externalVisaType1']
assertText //*[@formcontrolname='externalVisaType1'] Ext.Visa.T.1
assertElementPresent //*[@label='External visa 1']
assertText //*[@label='External visa 1']/div/label/span External visa 1
assertElementPresent //*[@formcontrolname='dtExternalVisa2']
assertValue //*[@formcontrolname='dtExternalVisa2']/div/div/div/input 17/01/2021
assertElementPresent //*[@formcontrolname='externalVisa2Forecast']
assertText //*[@formcontrolname='externalVisa2Forecast']/div Forecast
assertElementPresent //*[@label='External visa type 2']
assertText //*[@label='External visa type 2']/div/label/span External visa type 2
assertElementPresent //*[@formcontrolname='externalVisaType2']
assertText //*[@formcontrolname='externalVisaType2']/div Ext.Visa.T.2
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']
assertValue //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input 01/02/2021
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertText //*[@formcontrolname='financialInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']
assertText //*[@formcontrolname='financialInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetaryunit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']
assertValue //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input 08/03/2021
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group/div
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/div 2
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']
assertText //*[@formcontrolname='financialVerifyingAgentId']/div Didier DUPRE
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertElementPresent //*[@formcontrolname='suspensionId']
assertText //*[@formcontrolname='suspensionId']/div No
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']
assertValue //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input 23/02/2021
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertText //*[@formcontrolname='financialVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']
assertText //*[@formcontrolname='financialVerificationVisaTimeGap']/span/div 3
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[1]/ux-form-group/div/label/span Signature of contract
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']
assertValue //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input 15/03/2021
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertText //*[@formcontrolname='signatureOfContractForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']
assertText //*[@formcontrolname='signatureOfContractTimeGap']/span/div 5
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label
assertText //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[2]/ux-form-group/div/label/span First forecast of sign. of contract
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']
assertValue //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input 16/03/2021
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[1]/ux-form-group/div/label/span Date of sign. of contract by contractor
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']
assertValue //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input 05/05/2021
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/div Forecast
assertElementPresent //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/div 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[1]/ux-form-group/div/label/span Date reception contract signed by contractor
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']
assertValue //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input 10/05/2021
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertText //*[@formcontrolname='receptionAgreementSignedForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[8]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']
assertText //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/div 4
assertElementPresent //*[@label='Simap date']
assertText //*[@label='Simap date']/div/label/span Simap date
assertElementPresent //*[@formcontrolname='dtSimap']
assertValue //*[@formcontrolname='dtSimap']/div/div/div/input 17/05/2021
assertElementPresent //*[@formcontrolname='simapForecast']
assertText //*[@formcontrolname='simapForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='simapTimeGap']
assertText //*[@formcontrolname='simapTimeGap']/span/div 1
assertElementPresent //*[@label='Contract award notice']
assertText //*[@label='Contract award notice']/div/label/span Contract award notice
assertElementPresent //*[@formcontrolname='dtContractAwardNotice']
assertValue //*[@formcontrolname='dtContractAwardNotice']/div/div/div/input 01/06/2021
assertElementPresent //*[@formcontrolname='contractAwardNoticeForecast']
assertText //*[@formcontrolname='contractAwardNoticeForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[9]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='contractAwardNoticeTimeGap']
assertText //*[@formcontrolname='contractAwardNoticeTimeGap']/span/div 3
assertElementPresent //*[@label='Ref contract award notice']
assertText //*[@label='Ref contract award notice']/div/label/span Ref contract award notice
assertElementPresent //*[@formcontrolname='referenceContractAwardNotice']
assertText //*[@formcontrolname='referenceContractAwardNotice']/div Ref.award PROV.275201 UP
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button/span[2] Save
storeEval getComputedStyle(document.querySelector(".ux-modal--full-screen >div:nth-child(1) > div:nth-child(1) > div:nth-child(3) >uxmodalfooter:nth-child(1) > ux-layout-horizontal:nth-child(1)> div:nth-child(1) > div:nth-child(3) >uxlayouthorizontalright:nth-child(1) > ux-button:nth-child(1)> button:nth-child(1)")).backgroundColor backgroundSaveButton
assertEval "${backgroundSaveButton}" == "rgb(70, 122, 57)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[2]/button/span Close
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div[2]
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div
storeAttribute //html/body/app-root/ux-layout-app-shell/div/div[2]/div@class validationAlertBox
assertEval storedVars["validationAlertBox"].includes("success") true
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/div[2]/div/div/div/span Update Success
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div/div/div/p
assertText //html/body/app-root/ux-layout-app-shell/div/div[2]/div/div/div/p Contract updated successfully
pause 3000
assertElementNotPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div
Edit a Grant Execution
storeLocation url
click link=Contracts and Grants Execution
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.275217
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[5] textDisplayed
assertEval storedVars["textDisplayed"].includes("Test Case - CSB - B.1 - EditGrant - PROV.275217 - Bilal") true
assertElementPresent xpath=(//button[@type='button'])[4]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[1]@title titleViewButton
verifyEval storedVars['titleViewButton']=='View' true
click xpath=(//button[@type='button'])[4]
assertElementPresent Xpath=//*[@id="bifi-modal"]
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Grant
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundGrantBadge
assertEval "${backgroundGrantBadge}" == "rgb(255, 214, 23)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b Details of Grant Reference PROV.275217
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
click xpath=(//button[@type='button'])[4]
click //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button
pause 1000
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[2]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[1]/button/span[2] Cancel
storeEval getComputedStyle(document.querySelector(".flex-container >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundCancelButton
assertEval "${backgroundCancelButton}" == "rgb(218, 33, 49)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[2]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button[2]/button/span[2] Check data
storeEval getComputedStyle(document.querySelector(".ux-button--warning")).backgroundColor backgroundCheckDataButton
assertEval "${backgroundCheckDataButton}" == "rgb(242, 149, 39)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[3] BudgetTabOpened
if ${BudgetTabOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/span/span
endIf
assertElementPresent //*[@formarrayname='budget']
assertElementPresent //*[@formarrayname='budget']/ux-dropdown-tree
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] B5694-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] National deployment of ESS standards supporting the implementationof SDMX, validation and metadata management
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
assertValue //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 1000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(1) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadge
assertEval "${backgroundForecastBadge}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] A5730-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Capacity building for integration and documentation of ESTATproduction processes
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
assertValue //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 4000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundRealBadgeLine2
assertEval "${backgroundRealBadgeLine2}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked false
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/input
assertAttribute //*[@formcontrolname='year']/span/input@type text
assertValue //*[@formcontrolname='year']/span/input 2021
click //*[@formcontrolname='year']/span/input
type //*[@formcontrolname='year']/span/input 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/select
assertSelectedLabel //*[@formcontrolname='orgId']/select ESTAT.B.1
assertSelectedValue //*[@formcontrolname='orgId']/select 7259
click //*[@formcontrolname='orgId']/select
select //*[@formcontrolname='orgId']/select label=ESTAT.B.1
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/select
assertSelectOptions //*[@formcontrolname='bifiStatusId']/select Deleted,Active
assertSelectedLabel //*[@formcontrolname='bifiStatusId']/select Active
assertSelectedValue //*[@formcontrolname='bifiStatusId']/select 1
click //*[@formcontrolname='bifiStatusId']/select
select //*[@formcontrolname='bifiStatusId']/select label=Active
click //option[@value='2']
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference to commitment
assertElementPresent //*[@formcontrolname='si2Reference']/span/input
assertAttribute //*[@formcontrolname='si2Reference']/span/input@type text
assertValue //*[@formcontrolname='si2Reference']/span/input PROV.275217
storeValue //*[@formcontrolname='si2Reference']/span/input SI2Reference
click //*[@formcontrolname='si2Reference']/span/input
type //*[@formcontrolname='si2Reference']/span/input ${SI2Reference}.TT
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Grant type
assertElementPresent //*[@formcontrolname='typeId']/select
assertSelectOptions //*[@formcontrolname='typeId']/select Grant,Global commitment,Grant on Globalcommitment,Mono,FPA,SGA,MBGA,Other
assertSelectedLabel //*[@formcontrolname='typeId']/select FPA
assertSelectedValue //*[@formcontrolname='typeId']/select 5
select //*[@formcontrolname='typeId']/select label=Grant
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Grant agreement reference
assertElementPresent //*[@formcontrolname='reference']/span/input
assertAttribute //*[@formcontrolname='reference']/span/input@type text
assertValue //*[@formcontrolname='reference']/span/input PROV.275217
storeValue //*[@formcontrolname='reference']/span/input GrantReference
click //*[@formcontrolname='reference']/span/input
type //*[@formcontrolname='reference']/span/input ${GrantReference}.TT
assertElementPresent //*[@label='Beneficiary']/div/label
assertText //*[@label='Beneficiary']/div/label/span Beneficiary
assertElementPresent //*[@formcontrolname='beneficiary']/span/input
assertAttribute //*[@formcontrolname='beneficiary']/span/input@type text
assertValue //*[@formcontrolname='beneficiary']/span/input Benefi
click //*[@formcontrolname='beneficiary']/span/input
type //*[@formcontrolname='beneficiary']/span/input Be
assertElementPresent //*[@label='Estat co-financing (%)']/div/label/span
assertText //*[@label='Estat co-financing (%)']/div/label/span Estat co-financing (%)
assertElementPresent //*[@formcontrolname='coFinancingEstat']
assertAttribute //*[@formcontrolname='coFinancingEstat']/span/input@type text
assertValue //*[@formcontrolname='coFinancingEstat']/span/input 75
click //*[@formcontrolname='coFinancingEstat']/span/input
type //*[@formcontrolname='coFinancingEstat']/span/input 50
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']/select
assertSelectedLabel //*[@formcontrolname='projectManagerId']/select Bilal EL YOUSFI
assertSelectedValue //*[@formcontrolname='projectManagerId']/select 90235331
click //*[@formcontrolname='projectManagerId']/select
select //*[@formcontrolname='projectManagerId']/select label=Daniela COMINI
click //option[@value='2042']
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/select
assertSelectedLabel //*[@formcontrolname='dataEntryAgentId']/select Bilal EL YOUSFI
assertSelectedValue //*[@formcontrolname='dataEntryAgentId']/select 90235331
click //*[@formcontrolname='dataEntryAgentId']/select
select //*[@formcontrolname='dataEntryAgentId']/select label=Paul KONIJN
click //option[@value='1973']
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/span/textarea
assertValue //*[@formcontrolname='userReference']/span/textarea Test Case - CSB - B.1 - Edit Grant - PROV.275217 - Bilal
click //*[@formcontrolname='userReference']/span/textarea
type //*[@formcontrolname='userReference']/span/textarea Test Case - CSB - B.1 - Edit Grant - PROV.275217 - Bilal - UpdateTest
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/span/textarea
assertValue //*[@formcontrolname='bifiComment']/span/textarea Comment for the contract PROV.275217
click //*[@formcontrolname='bifiComment']/span/textarea
type //*[@formcontrolname='bifiComment']/span/textarea Comment for the contract PROV.275217 - Update Test
assertElementPresent //*[@label='Update date']/div/label
assertText //*[@label='Update date']/div/label/span Update date
assertElementPresent //*[@formcontrolname='dtUpdate']
assertText //*[@formcontrolname='dtUpdate']/ 14/06/2021 09:23:43
assertElementPresent //*[@label='Creation date']/div/label
assertText //*[@label='Creation date']/div/label/span Creation date
assertElementPresent //*[@formcontrolname='dtCreate']
assertText //*[@formcontrolname='dtCreate']/ 13/06/2021 00:00:00
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button/button/span/span Select a Project
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button
assertElementPresent //div[@class='cdk-overlay-connected-position-bounding-box']
click //html/body/div/div[2]/div/div/div/div/div/ux-tree/ul/ux-tree-node[1]/li/div/span[1]/input
pause 2000
click //html/body/div/div[2]/div/div/div/div/div/ux-tree/ul/ux-tree-node[2]/li/div/span[1]/input
click //body/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/ux-dropdown-tree/ux-dropdown-button/ux-button/button/span/span B5694-2021, A5730-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] A5717-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] High-level seminars for senior management of the EECCA countries
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
type //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[1]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 6000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(1) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadge
assertEval "${backgroundForecastBadge}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked true
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(1) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeNewLine1
assertEval "${backgroundForecastBadgeNewLine1}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] B6119-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Preparation and development of EPSAS
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
assertAttribute //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input@type text
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input
type //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/input 3000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
storeElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[3] calendarOpened
if ${calendarOpened}==false
click //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/span/span
endIf
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input
assertValue //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input 20/05/2021
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/ux-button/button
click //html/body/div[1]/div[2]/div/mat-datepicker-content/mat-calendar/mat-calendar-header/div/div/button[2]
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[6]/td[4]/div
assertValue //*[@formcontrolname='dtOperationalInitiationVisa']/div/div/div/input 14/04/2021
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']/input
assertAttribute //*[@formcontrolname='operationalInitiationVisaForecast']/input@type radio
assertElementPresent //input[@name="operationalInitiationVisaForecast"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="operationalInitiationVisaForecast" and@value="0"]
assertElementPresent //input[@name="operationalInitiationVisaForecast" and@value="1"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="operationalInitiationVisaForecast" and@value="2"]
assertText //input[@name="operationalInitiationVisaForecast" and@value="2"]/following-sibling::label N/A
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input@type text
assertValue //*[@formcontrolname='operationalInitiationVisaTimeGap']/span/input 1
click //input[@name="operationalInitiationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[1]/div[2]/div[2]/ux-form-group
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input
assertValue //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input 23/05/2021
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertValue //*[@formcontrolname='dtOperationalVerificationVisa']/div/div/div/input 10/05/2021
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaForecast']/input@type radio
assertElementPresent //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertText //input[@name="operationalVerificationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertText //input[@name="operationalVerificationVisaForecast" and@value="1"]/following-sibling::label Real
assertChecked //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
click //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input@type text
click //input[@name="operationalVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
click //input[@name="operationalVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertValue //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input 1
click //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/input 2
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input
assertValue //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input 08/06/2021
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/ux-button/button
click //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[2]/td[2]/div
assertValue //*[@formcontrolname='dtFinancialInitiationVisa']/div/div/div/input 01/06/2021
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']/input
assertAttribute //*[@formcontrolname='financialInitiationVisaForecast']/input@type radio
assertElementPresent //input[@name="financialInitiationVisaForecast" and@value="0"]
assertText //input[@name="financialInitiationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="financialInitiationVisaForecast" and@value="0"]
assertElementPresent //input[@name="financialInitiationVisaForecast" and@value="1"]
assertText //input[@name="financialInitiationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]
click //input[@name="financialInitiationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="financialInitiationVisaForecast" and@value="0"]
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div
assertText //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input@type text
assertValue //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input 4
click //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input
type //*[@formcontrolname='financialInitiationVisaTimeGap']/span/input 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetaryunit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input
assertValue //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input 10/06/2021
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/ux-button/button
click //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[2]/div
assertValue //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']/div/div/div/input 07/06/2021
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/input
assertAttribute //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/input@type radio
assertElementPresent //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertText //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertElementPresent //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]
assertText //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div
click //input[@name="entranceDateInBudgetaryUnitForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div
click //input[@name="entranceDateInBudgetaryUnitForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input
assertAttribute //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input@type text
assertValue //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input 3
click //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input
type //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/input 2
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']/select
assertSelectedLabel //*[@formcontrolname='financialVerifyingAgentId']/select Dorothea JUNG
assertSelectedValue //*[@formcontrolname='financialVerifyingAgentId']/select 1715
click //*[@formcontrolname='financialVerifyingAgentId']/select
select //*[@formcontrolname='financialVerifyingAgentId']/select label=Didier DUPRE
click //option[@value='1566']
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertElementPresent //*[@formcontrolname='suspensionId']/select
assertSelectOptions //*[@formcontrolname='suspensionId']/select Yes,No
assertSelectedLabel //*[@formcontrolname='suspensionId']/select No
assertSelectedValue //*[@formcontrolname='suspensionId']/select 1
click //*[@formcontrolname='suspensionId']/select
select //*[@formcontrolname='suspensionId']/select label=Yes
click //option[@value='0']
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input
assertValue //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input 11/06/2021
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/ux-button/button
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div/div[1]/ux-form-group/div/div/div/div/ux-datepicker/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[3]/div
assertValue //*[@formcontrolname='dtFinancialVerificationVisa']/div/div/div/input 08/06/2021
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']/input
assertAttribute //*[@formcontrolname='financialVerificationVisaForecast']/input@type radio
assertElementPresent //input[@name="financialVerificationVisaForecast" and@value="0"]
assertText //input[@name="financialVerificationVisaForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="financialVerificationVisaForecast" and@value="0"]
assertElementPresent //input[@name="financialVerificationVisaForecast" and@value="1"]
assertText //input[@name="financialVerificationVisaForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input
assertAttribute //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input@type text
assertValue //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input 3
click //input[@name="financialVerificationVisaForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div/div[2]/div[2]/ux-form-group/div
click //input[@name="financialVerificationVisaForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div/div[2]/div[2]/ux-form-group/div
click //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input
type //*[@formcontrolname='financialVerificationVisaTimeGap']/span/input 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label/span
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label/span Date of signature of agreement by Estat
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input
assertValue //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input 13/06/2021
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']/div/div/ux-button/button
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/div/div/div/ux-datepicker/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[3]/td[4]/div
assertValue //*[@formcontrolname='dtSignatureOfContract']/div/div/div/input 09/06/2021
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']/input
assertAttribute //*[@formcontrolname='signatureOfContractForecast']/input@type radio
assertElementPresent //input[@name="signatureOfContractForecast" and @value="0"]
assertText //input[@name="signatureOfContractForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="signatureOfContractForecast" and @value="1"]
assertText //input[@name="signatureOfContractForecast" and@value="1"]/following-sibling::label Real
assertChecked //input[@name="signatureOfContractForecast" and @value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="signatureOfContractForecast" and @value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="signatureOfContractForecast" and @value="0"]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[7]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']/span/input
assertAttribute //*[@formcontrolname='signatureOfContractTimeGap']/span/input@type text
click //*[@formcontrolname='signatureOfContractTimeGap']/span/input
type //*[@formcontrolname='signatureOfContractTimeGap']/span/input 2
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label/span First forecast of agreement sign. Estat
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input
assertValue //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input 14/06/2021
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/ux-button/button
click //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[3]/div
assertValue //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']/div/div/div/input 15/06/2021
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label/span Date of sign. of agreement by beneficiary
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input
assertValue //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input 17/06/2021
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/ux-button/button
click //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[4]/td[5]/div
assertValue //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']/div/div/div/input 17/06/2021
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/input
assertAttribute //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/input@type radio
assertElementPresent //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertText //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]/following-sibling::label Forecast
assertChecked //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertElementPresent //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]
assertText //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input
assertAttribute //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input@type text
assertValue //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input 2
click //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div
click //input[@name="signatureOfAgreementByBeneficiaryForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div
click //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input
type //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/input 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label/span Date of reception of grant agreement signed
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input
assertValue //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input 19/06/2021
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/ux-button/button
click //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/ux-button/button
click xpath=//mat-calendar[starts-with(@id,'mat-datepicker-')]/div/mat-month-view/table/tbody/tr[5]/td[5]/div
assertValue //*[@formcontrolname='dtReceptionAgreementSigned']/div/div/div/input 24/06/2021
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']/input
assertAttribute //*[@formcontrolname='receptionAgreementSignedForecast']/input@type radio
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="0"]/following-sibling::label Forecast
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="1"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="1"]/following-sibling::label Real
assertElementPresent //input[@name="receptionAgreementSignedForecast" and@value="2"]
assertText //input[@name="receptionAgreementSignedForecast" and@value="2"]/following-sibling::label N/A
assertChecked //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div
click //input[@name="receptionAgreementSignedForecast" and@value="1"]
assertElementNotPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div
click //input[@name="receptionAgreementSignedForecast" and@value="0"]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label/span Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input
assertAttribute //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input@type text
click //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input
type //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/input 4
click //*[@typeclass='warning']/button/span[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Grant
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundGrantBadge
assertEval "${backgroundGrantBadge}" == "rgb(255, 214, 23)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b Details of Grant Reference PROV.275372.TEST
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[1]/div/div/uxcardtitle Reference
assertElementPresent //*[@label='Year']/div/label
assertText //*[@label='Year']/div/label/span Year
assertElementPresent //*[@formcontrolname='year']/span/div
assertText //*[@formcontrolname='year']/span/div 2021
assertElementPresent //*[@label='Unit']/div/label
assertText //*[@label='Unit']/div/label/span Unit
assertElementPresent //*[@formcontrolname='orgId']/div
assertText //*[@formcontrolname='orgId']/div ESTAT.C.1
assertElementPresent //*[@label='Status']/div/label
assertText //*[@label='Status']/div/label/span Status
assertElementPresent //*[@formcontrolname='bifiStatusId']/div
assertText //*[@formcontrolname='bifiStatusId']/div Active
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[2]/div[2]/ux-form-group/div/label/span SI2 reference to commitment
storeText //*[@formcontrolname='si2Reference']/div SI2ReferenceDisplayed
assertEval "${SI2ReferenceDisplayed}"=="${SI2Reference}.TEST" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[1]/ux-form-group/div/label/span Grant type
assertElementPresent //*[@formcontrolname='typeId']/div
assertText //*[@formcontrolname='typeId']/div MBGA
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[1]/div/div[2]/reference-card/div/div/ux-fieldset/div/div/div[3]/div[2]/ux-form-group/div/label/span Grant agreement reference
storeText //*[@formcontrolname='reference']/div GrantReferenceDisplayed
assertEval "${GrantReferenceDisplayed}"=="${GrantReference}.TEST" true
assertElementPresent //*[@label='Beneficiary']/div/label
assertText //*[@label='Beneficiary']/div/label/span Beneficiary
assertElementPresent //*[@formcontrolname='beneficiary']/
assertText //*[@formcontrolname='beneficiary']/div Be
assertElementPresent //*[@label='Estat co-financing (%)']/div/label
assertText //*[@label='Estat co-financing (%)']/div/label/span Estat co-financing (%)
assertElementPresent //*[@formcontrolname='coFinancingEstat']/
assertText //*[@formcontrolname='coFinancingEstat']/ 50
assertElementPresent //*[@label='Proj. manager']/div/label
assertText //*[@label='Proj. manager']/div/label/span Proj. manager
assertElementPresent //*[@formcontrolname='projectManagerId']/div
assertText //*[@formcontrolname='projectManagerId']/div Daniela COMINI
assertElementPresent //*[@label='Data entry agent']/div/label
assertText //*[@label='Data entry agent']/div/label/span Data entry agent
assertElementPresent //*[@formcontrolname='dataEntryAgentId']/div
assertText //*[@formcontrolname='dataEntryAgentId']/div Paul KONIJN
assertElementPresent //*[@label='User Reference']/div/label
assertText //*[@label='User Reference']/div/label/span User Reference
assertElementPresent //*[@formcontrolname='userReference']/div
assertText //*[@formcontrolname='userReference']/div Test Case - Edit Grant - ${GrantReference} - Update Test
assertElementPresent //*[@label='Comment']/div/label
assertText //*[@label='Comment']/div/label/span Comment
assertElementPresent //*[@formcontrolname='bifiComment']/div
assertText //*[@formcontrolname='bifiComment']/div Comment - Edit Grant - ${GrantReference} - Update Test
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[1]/div/div/uxcardtitle Budget
assertElementPresent //*[@formarrayname='budget']
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th Year
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[2] Project ID
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3] Project Name
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[4] Budget Line
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[5] Amount
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[6] Forecast / Real
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[2] B5693-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/thead/tr/th[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[3] Preparation and development of EPSAS
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[5]
assertElementPresent //*[@formcontrolname='amount']
assertText //*[@formcontrolname='amount']/span/div 6000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[6]/ux-badge Real
storeEval getComputedStyle(document.querySelector(".ux-badge--info")).backgroundColor backgroundRealBadge
assertEval "${backgroundRealBadge}" == "rgb(0, 111, 180)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@aria-checked false
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr/td[7]/ux-switch/span@class SwitchDisabled
assertEval storedVars["SwitchDisabled"].includes("disabled") true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td 2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[2] B6119-2021
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[3] Preparation and development of EPSAS
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[4]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[5]/ux-form-group/div/div[2]/div/div/ux-form-control/span/div 3000
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge
assertText //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[6]/ux-badge Forecast
storeEval getComputedStyle(document.querySelector("tbody.ng-star-inserted >tr:nth-child(2) > td:nth-child(6) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundForecastBadgeLine2
assertEval "${backgroundForecastBadgeLine2}" == "rgb(242, 149, 39)" true
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]
assertElementPresent //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch
assertAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@aria-checked true
storeAttribute //div[@id='bifi-modal']/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[2]/div/div[2]/budget-card/div/div/table/tbody/tr[2]/td[7]/ux-switch/span@class SwitchDisabledLine2
assertEval storedVars["SwitchDisabledLine2"].includes("disabled") true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[1]/div/div/uxcardtitle Calendar
assertElementPresent //*[@formgroupname='calendar']
assertElementPresent //*[@label='Operational initiation visa']
assertText //*[@label='Operational initiation visa']/div/label/span Operational initiation visa
assertElementPresent //*[@formcontrolname='dtOperationalInitiationVisa']
assertElementPresent //*[@formcontrolname='operationalInitiationVisaForecast']
assertText //*[@formcontrolname='operationalInitiationVisaForecast']/div Real
assertElementPresent //*[@label='Operational verification visa']
assertText //*[@label='Operational verification visa']/div/label/span Operational verification visa
assertElementPresent //*[@formcontrolname='dtOperationalVerificationVisa']
assertElementPresent //*[@formcontrolname='operationalVerificationVisaForecast']
assertText //*[@formcontrolname='operationalVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[1]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='operationalVerificationVisaTimeGap']
assertText //*[@formcontrolname='operationalVerificationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Financial initiation visa']
assertText //*[@label='Financial initiation visa']/div/label/span Financial initiation visa
assertElementPresent //*[@formcontrolname='dtFinancialInitiationVisa']
assertElementPresent //*[@formcontrolname='financialInitiationVisaForecast']
assertText //*[@formcontrolname='financialInitiationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[4]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialInitiationVisaTimeGap']
assertText //*[@formcontrolname='financialInitiationVisaTimeGap']/span/div 2
assertElementPresent //*[@label='Entrance date in Budgetary unit']
assertText //*[@label='Entrance date in Budgetaryunit']/div/label/span Entrance date in Budgetary unit
assertElementPresent //*[@formcontrolname='dtEntranceDateInBudgetaryUnit']
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[2]/div[2]/div[2]/div[2]/ux-form-group/div/label/ Time gap
assertElementPresent //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']
assertText //*[@formcontrolname='entranceDateInBudgetaryUnitTimeGap']/span/div 2
assertElementPresent //*[@label='Financial verifying agent']
assertText //*[@label='Financial verifying agent']/div/label/span Financial verifying agent
assertElementPresent //*[@formcontrolname='financialVerifyingAgentId']
assertText //*[@formcontrolname='financialVerifyingAgentId']/div Didier DUPRE
assertElementPresent //*[@label='Suspension']
assertText //*[@label='Suspension']/div/label/span Suspension
assertElementPresent //*[@formcontrolname='suspensionId']
assertText //*[@formcontrolname='suspensionId']/div Yes
assertElementPresent //*[@label='Financial verification visa']
assertText //*[@label='Financial verification visa']/div/label/span Financial verification visa
assertElementPresent //*[@formcontrolname='dtFinancialVerificationVisa']
assertElementPresent //*[@formcontrolname='financialVerificationVisaForecast']
assertText //*[@formcontrolname='financialVerificationVisaForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='financialVerificationVisaTimeGap']
assertText //*[@formcontrolname='financialVerificationVisaTimeGap']/span/div 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[1]/ux-form-group/div/label Date of signature of agreement by Estat
assertElementPresent //*[@formcontrolname='dtSignatureOfContract']
assertElementPresent //*[@formcontrolname='signatureOfContractForecast']
assertText //*[@formcontrolname='signatureOfContractForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfContractTimeGap']
assertText //*[@formcontrolname='signatureOfContractTimeGap']/span/div 2
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[5]/div[2]/ux-form-group/div/label First forecast of agreement sign. Estat
assertElementPresent //*[@formcontrolname='dtFirstForecastOfSignatureOfContract']
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[1]/ux-form-group/div/label Date of sign. of agreement by beneficiary
assertElementPresent //*[@formcontrolname='dtSignatureOfAgreementByBeneficiary']
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[1]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']
assertText //*[@formcontrolname='signatureOfAgreementByBeneficiaryTimeGap']/span/div 1
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[1]/ux-form-group/div/label Date of reception of grant agreement signed
assertElementPresent //*[@formcontrolname='dtReceptionAgreementSigned']
assertElementPresent //*[@formcontrolname='receptionAgreementSignedForecast']
assertText //*[@formcontrolname='receptionAgreementSignedForecast']/div Forecast
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[2]/uxmodalbody/bifi-form/form/ux-card[3]/div/div[2]/calendar-card/div/div/ux-fieldset/div/div/div[6]/div[2]/div[2]/div[2]/ux-form-group/div/label Time gap
assertElementPresent //*[@formcontrolname='receptionAgreementSignedTimeGap']
assertText //*[@formcontrolname='receptionAgreementSignedTimeGap']/span/div 4
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button/span[2] Save
storeEval getComputedStyle(document.querySelector(".ux-modal--full-screen >div:nth-child(1) > div:nth-child(1) > div:nth-child(3) >uxmodalfooter:nth-child(1) > ux-layout-horizontal:nth-child(1)> div:nth-child(1) > div:nth-child(3) >uxlayouthorizontalright:nth-child(1) > ux-button:nth-child(1)> button:nth-child(1)")).backgroundColor backgroundSaveButton
assertEval "${backgroundSaveButton}" == "rgb(70, 122, 57)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[2]/button/span Close
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button[1]/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div[2]
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div
storeAttribute //html/body/app-root/ux-layout-app-shell/div/div[2]/div@class validationAlertBox
assertEval storedVars["validationAlertBox"].includes("success") true
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/div[2]/div/div/div/span Update Success
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div/div/div/p
assertText //html/body/app-root/ux-layout-app-shell/div/div[2]/div/div/div/p Grant updated successfully
pause 3000
assertElementNotPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div
Contract - Close when creating
storeLocation url
click link=Contracts and Grants Execution
click xpath=(//button[@type='button'])[3]
click //div[starts-with(@id,'mat-menu-panel-')]/div/span/span/ux-dropdown-button-item/div/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //div[@id='bifi-modal']/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button/span Close
Click //div[@id='bifi-modal']/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button Click
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
Grant - Close when creating
storeLocation url
click link=Contracts and Grants Execution
click xpath=(//button[@type='button'])[3]
click //html/body/div/div[2]/div/div/div/span[2]/span/ux-dropdown-button-item/div/button
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //div[@id='bifi-modal']/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button/span Close
Click //div[@id='bifi-modal']/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button Click
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
Contract - Close when editing
storeLocation url
click link=Contracts and Grants Execution
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.274481.TEST
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[4] textDisplayed
assertEval storedVars["textDisplayed"].includes("PROV.274481.TEST") true
assertElementPresent xpath=(//button[@type='button'])[4]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[1]@title titleViewButton
verifyEval storedVars['titleViewButton']=='View' true
click xpath=(//button[@type='button'])[4]
assertElementPresent Xpath=//*[@id="bifi-modal"]
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Contract
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundEdContractBadge
assertEval "${backgroundEdContractBadge}" == "rgb(0, 68, 148)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b Details of Contract Reference PROV.275071.TEST
assertElementPresent //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //div[@id='bifi-modal']/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button/span Close
Click //div[@id='bifi-modal']/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button Click
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
Grant - Close when editing
storeLocation url
click link=Contracts and Grants Execution
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.274729.TEST
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[4] textDisplayed
assertEval storedVars["textDisplayed"].includes("PROV.274729.TEST") true
assertElementPresent xpath=(//button[@type='button'])[4]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[1]@title titleViewButton
verifyEval storedVars['titleViewButton']=='View' true
click xpath=(//button[@type='button'])[4]
assertElementPresent Xpath=//*[@id="bifi-modal"]
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: block;
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[1]/uxlayouthorizontalleft/div/ux-badge/span Grant
storeEval getComputedStyle(document.querySelector("uxmodalheader.ng-star-inserted> ux-layout-horizontal:nth-child(1) > div:nth-child(1) >div:nth-child(1) > uxlayouthorizontalleft:nth-child(1) >div:nth-child(1) > ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundGrantBadge
assertEval "${backgroundGrantBadge}" == "rgb(255, 214, 23)" true
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b
assertText //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[2]/uxlayouthorizontalcenter/span/b Details of Grant Reference PROV.275350.TEST
assertElementPresent //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button
assertText //div[@id='bifi-modal']/div/div/div/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button/span[2] Edit
storeEval getComputedStyle(document.querySelector(".button-actions >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundEditButton
assertEval "${backgroundEditButton}" == "rgb(0, 68, 148)" true
click //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[1]/uxmodalheader/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/div/ux-button/button
assertElementPresent //bifi-home/bifi-modal/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button
assertText //div[@id='bifi-modal']/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button/span Close
Click //div[@id='bifi-modal']/div/div/div[3]/uxmodalfooter/ux-layout-horizontal/div/div[3]/uxlayouthorizontalright/ux-button/button Click
assertAttribute //*[@id="bifi-modal"]/div[2]@style display: none;
Delete a Grant Execution
storeLocation url
click link=Contracts and Grants Execution
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.275027
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[2]
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge
assertAttribute //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge@typeclass success
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge/span Active
storeEval getComputedStyle(document.querySelector(".ux-badge--success")).backgroundColor backgroundActiveBadge
assertEval "${backgroundActiveBadge}" == "rgb(70, 122, 57)" true
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[5]
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[5] Test Case - CSB - B.3 - Delete Grant - PROV.275027 - Bilal
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[4] textDisplayed
assertEval storedVars["textDisplayed"].includes("PROV.275027") true
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]@title titleDeleteButton
verifyEval storedVars['titleDeleteButton']=='Remove Bifi' true
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: none;
click //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]/button
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: block;
assertElementPresent //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div/div
assertText //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div/div Delete BIFI
assertElementPresent //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[2]
assertText //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[2] Are you sure that you want to delete the item ${textDisplayed}?
assertElementPresent //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[1]/button
assertText //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[1]/button/span[2] Yes
storeEval getComputedStyle(document.querySelector("div.show:nth-child(2) >div:nth-child(1) > div:nth-child(1) > div:nth-child(3) >uxmodalfooter:nth-child(1) > uxmessageboxfooter:nth-child(1) >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundCancellationYes
assertEval "${backgroundCancellationYes}" == "rgb(70, 122, 57)" true
assertElementPresent //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[2]/button
assertText //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[2]/button/span[2] No
storeEval getComputedStyle(document.querySelector("div.show:nth-child(2) >div:nth-child(1) > div:nth-child(1) > div:nth-child(3) >uxmodalfooter:nth-child(1) > uxmessageboxfooter:nth-child(1) >ux-button:nth-child(2) >button:nth-child(1)")).backgroundColor backgroundCancellationNo
assertEval "${backgroundCancellationNo}" == "rgb(218, 33, 49)" true
click //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[2]/button
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: none;
click //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]/button
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: block;
click //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[1]/button
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: none;
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div
storeAttribute //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div@class validationAlertBox
assertEval storedVars["validationAlertBox"].includes("success") true
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/span Update Success
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/p
assertText //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/p Grant updated successfully
pause 3000
assertElementNotPresent //html/body/app-root/ux-layout-app-shell/div/div[2]/div
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.275027
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[5]
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[5] Test Case - CSB - B.3 - Delete Grant - PROV.275027 - Bilal
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[4] textDisplayed
assertEval storedVars["textDisplayed"].includes("PROV.275027") true
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]@title titleDeleteButton
verifyEval storedVars['titleDeleteButton']=='Remove Bifi' true
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: none;
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[5]
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[5] Test Case - CSB - B.4 - Delete Grant - PROV.275027 - Bilal
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[4] textDisplayed
assertEval storedVars["textDisplayed"].includes("PROV.275027") true
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[2]
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge
assertAttribute //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge@typeclass danger
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge/span Deleted
storeEval getComputedStyle(document.querySelector("td.text-center:nth-child(2)> ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundDeletedBadge
assertEval "${backgroundDeletedBadge}" == "rgb(218, 33, 49)" true
assertAttribute //html/body/app-root/ux-layout-app-shell/div/div/div/bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]@hidden
Delete a Contract Execution
storeLocation url
click link=Contracts and Grants Execution
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.274851
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[2]
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge
assertAttribute //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge@typeclass success
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge/span Active
storeEval getComputedStyle(document.querySelector(".ux-badge--success")).backgroundColor backgroundActiveBadge
assertEval "${backgroundActiveBadge}" == "rgb(70, 122, 57)" true
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[5]
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[5] Test Case - CSB - Delete Contract - PROV.274851 - Bilal
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[4] textDisplayed
assertEval storedVars["textDisplayed"].includes("PROV.274851") true
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]@title titleDeleteButton
verifyEval storedVars['titleDeleteButton']=='Remove Bifi' true
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: none;
click //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]/button
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: block;
assertElementPresent //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div/div
assertText //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div/div Delete BIFI
assertElementPresent //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[2]
assertText //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[2] Are you sure that you want to delete the item ${textDisplayed}?
assertElementPresent //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[1]/button
assertText //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[1]/button/span[2] Yes
storeEval getComputedStyle(document.querySelector("div.show:nth-child(2) >div:nth-child(1) > div:nth-child(1) > div:nth-child(3) >uxmodalfooter:nth-child(1) > uxmessageboxfooter:nth-child(1) >ux-button:nth-child(1) >button:nth-child(1)")).backgroundColor backgroundCancellationYes
assertEval "${backgroundCancellationYes}" == "rgb(70, 122, 57)" true
assertElementPresent //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[2]/button
assertText //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[2]/button/span[2] No
storeEval getComputedStyle(document.querySelector("div.show:nth-child(2) >div:nth-child(1) > div:nth-child(1) > div:nth-child(3) >uxmodalfooter:nth-child(1) > uxmessageboxfooter:nth-child(1) >ux-button:nth-child(2) >button:nth-child(1)")).backgroundColor backgroundCancellationNo
assertEval "${backgroundCancellationNo}" == "rgb(218, 33, 49)" true
click //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[2]/button
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: none;
click //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]/button
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: block;
click //*[@titlelabel="DeleteBIFI"]/ux-modal/div[2]/div/div/div[3]/uxmodalfooter/uxmessageboxfooter/ux-button[1]/button
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: none;
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div
storeAttribute //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div@class validationAlertBox
assertEval storedVars["validationAlertBox"].includes("success") true
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div
assertText //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/span Update Success
assertElementPresent //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/p
assertText //html/body/app-root/ux-layout-app-shell/div/ux-growl/div/div/div/div/p Contract updated successfully
pause 3000
click //*[@placeholder='Type an SI2 Reference']
type //*[@placeholder='Type an SI2 Reference'] PROV.274851
pause 2000
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[5]
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[5] Test Case - CSB - Delete Contract - PROV.274851 - Bilal
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[4] textDisplayed
assertEval storedVars["textDisplayed"].includes("PROV.274851") true
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]
storeAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]@title titleDeleteButton
verifyEval storedVars['titleDeleteButton']=='Remove Bifi' true
assertAttribute //*[@titlelabel="Delete BIFI"]/ux-modal/div[2]@style display: none;
assertElementPresent //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[5]
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[5] Test Case - CSB - Delete Contract - PROV.274851 - Bilal
storeText //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[4] textDisplayed
assertEval storedVars["textDisplayed"].includes("PROV.274851") true
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[2]
assertElementPresent //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge
assertAttribute //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge@typeclass danger
assertText //bifi-table/p-table/div/div/table/tbody/tr/td[2]/ux-badge/span Deleted
storeEval getComputedStyle(document.querySelector("td.text-center:nth-child(2)> ux-badge:nth-child(1) >span:nth-child(1)")).backgroundColor backgroundDeletedBadge
assertEval "${backgroundDeletedBadge}" == "rgb(218, 33, 49)" true
assertAttribute //bifi-home/ux-panel/div[2]/div/div[2]/div/ux-panels/ul/bifi-table/p-table/div/div/table/tbody/tr/td[10]/div/ux-button[2]@hidden