Skip to content

Commit 0dedbbd

Browse files
committed
fix e2e testing
1 parent d49c45c commit 0dedbbd

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

cypress/e2e/CohortSearch/cohort-search.feature

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,21 @@ Feature: Cohort Search
66
And I set the language to German
77

88
Scenario Outline: Search for Criterium "<criterium>"
9-
And the table should have 50 rows
9+
And the table should have 20 rows
1010
And the button "<button1>" should be disabled
1111
And the button "<button2>" should be disabled
1212
When I type "<criterium>" in the search input field
1313
Then I should see a row containing "<criterium>"
1414
When I clear the search input field
15-
Then the table should have 50 rows
15+
Then the table should have 20 rows
1616

1717
Examples: Search Criteria
18-
| criterium | button1 | button2 |
19-
| Aktuelles chronologisches Alter | Zur Kohortenselektion hinzufügen | Kohortenselektion anzeigen |
20-
| Diabetes | Zur Kohortenselektion hinzufügen | Kohortenselektion anzeigen |
21-
18+
| criterium | button1 | button2 |
19+
| Aktuelles chronologisches Alter | Zur Kohortenselektion hinzufügen | Kohortenselektion anzeigen |
20+
| Diabetes | Zur Kohortenselektion hinzufügen | Kohortenselektion anzeigen |
2221

2322
Scenario Outline: Select Cohort elements
24-
Given I type "<criterium>" in the search input field
23+
Given I type "<criterium>" in the search input field
2524
Then I select the checkbox in the row containing "<criterium>"
2625
And I click on the button "<button1>"
2726
Then the button "<button2>" should be enabled
@@ -30,5 +29,5 @@ Feature: Cohort Search
3029
Then I am on the "Feasibility Editor" page
3130

3231
Examples: Selection Criteria
33-
| criterium | button1 | button2 |
34-
| Aktuelles chronologisches Alter| Zur Kohortenselektion hinzufügen | Kohortenselektion anzeigen |
32+
| criterium | button1 | button2 |
33+
| Aktuelles chronologisches Alter | Zur Kohortenselektion hinzufügen | Kohortenselektion anzeigen |

src/assets/config/config.dev.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"lowerboundarylocationresult": 1,
5050
"lowerboundarypatientresult": 20,
5151
"pollingintervallinseconds": 10,
52-
"pollingtimeinseconds": 60,
52+
"pollingtimeinseconds": 10,
5353
"sendsqcontexttobackend": true
5454
},
5555
"proposalPortalLink": "https://antrag.dev.forschen-fuer-gesundheit.de",

0 commit comments

Comments
 (0)