-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PN-9433-e-2-e-destinatario-sezione-stato-piattaforma-disservizi-risol…
…ti (#147) * test(waitTime): add more time to the implicitlyWait() and loadComponentWaitTime `test-config.properties` Signed-off-by: Andrea Fuso <[email protected]> * test(PN-9237): update method `checkDisserviziInCorso()` less complex Signed-off-by: Andrea Fuso <[email protected]> * test(PN-9237): update method feature file name Signed-off-by: Andrea Fuso <[email protected]> * test(PN-9242): add new feature test file Signed-off-by: Andrea Fuso <[email protected]> * test(PN-9242): update all method and add new ones related to the new feature file test Signed-off-by: Andrea Fuso <[email protected]> * test: rename feature test folders Signed-off-by: Andrea Fuso <[email protected]> * test: change request Signed-off-by: Andrea Fuso <[email protected]> * test: change request Signed-off-by: Andrea Fuso <[email protected]> * test: change request + new enums Signed-off-by: Andrea Fuso <[email protected]> * test(PN-9232): add new feature test file Signed-off-by: Andrea Fuso <[email protected]> * test(PN-9433): add new feature test file Signed-off-by: Andrea Fuso <[email protected]> * test(PN-9433): add enum and update `handleService()` Signed-off-by: Andrea Fuso <[email protected]> * test: fix `getDigitalAddress()` into `RestContact` Signed-off-by: Andrea Fuso <[email protected]> --------- Signed-off-by: Andrea Fuso <[email protected]>
- Loading branch information
Showing
9 changed files
with
152 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/java/it/pn/frontend/e2e/model/enums/Disservice.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package it.pn.frontend.e2e.model.enums; | ||
|
||
public enum Disservice { | ||
CREAZIONE_NOTIFICHE("Creazione Notifiche"), | ||
VISUALIZZAZIONE_NOTIFICHE("Visualizzazione Notifiche"), | ||
WORKFLOW_NOTIFICHE("Workflow Notifiche"); | ||
private final String value; | ||
|
||
Disservice(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package it.pn.frontend.e2e.model.enums; | ||
|
||
public enum Status { | ||
OK("OK"), | ||
KO("KO"); | ||
private final String value; | ||
|
||
Status(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...3-destinatario/personaFisica/disservizi/053_A1_visualizzazioneDisserviziRisoltiPF.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Feature: Il destinatario persona fisica visualizza i disservizi della piattaforma risolti | ||
|
||
@TestSuite | ||
@PF | ||
@disserviziPF | ||
@TA_PF_VisualizzaDisserviziRisolti | ||
|
||
Scenario: PN-9433 - Il destinatario persona fisica visualizza i disservizi della piattaforma risolti | ||
Given Login helpdesk con utente test "testHelpdesk" | ||
And Si visualizza correttamente home Helpdesk | ||
And Click su card monitoraggio piattaforma | ||
And Si visualizza correttamente home monitoraggio | ||
And Si annulla un disservizio in corso | ||
Given PF - Si effettua la login tramite token exchange come "delegante", e viene visualizzata la dashboard | ||
When Nella pagina Piattaforma Notifiche selezionare la voce 'stato della piattaforma' | ||
And Si visualizza correttamente la tabella dei disservizi | ||
And Si visualizzano tutti i record in elenco relativi a disservizi risolti | ||
And Logout da portale persona fisica |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters