-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
36 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
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 |
---|---|---|
|
@@ -57,8 +57,7 @@ Feature: Create entry and add fieldgroups | |
And I click on "Datalynx field Team member select" item in the autocomplete list | ||
And I press "Save changes" | ||
When I follow "Views" | ||
And I click on "//table/tbody/tr[1]/td[9]/a" "xpath_element" | ||
Then I should see "Gridview" | ||
And I click on "Edit Gridview" "link" | ||
And I click on "Entry template" "link" | ||
Then I should see "Field tags" | ||
Then I add to "id_eparam2_editor" editor the text "[[Testfieldgroup1]] ##edit## ##delete##" | ||
|
@@ -70,12 +69,14 @@ Feature: Create entry and add fieldgroups | |
And I click on "Student 1 ([email protected])" item in the autocomplete list | ||
Then "Student 2 ([email protected])" "autocomplete_suggestions" should exist | ||
And I click on "Student 2 ([email protected])" item in the autocomplete list | ||
And I press the escape key | ||
|
||
## Add teammembers to the second line as well. | ||
And I click on "(//*[@class and contains(concat(' ', normalize-space(@class), ' '), ' form-autocomplete-downarrow ')])[2]" "xpath_element" | ||
And I click on "(//ul[@class='form-autocomplete-suggestions']//*[contains(concat('|', string(.), '|'),'|Student 1 ([email protected])|')])[1]" "xpath_element" | ||
And I click on "(//*[@class and contains(concat(' ', normalize-space(@class), ' '), ' form-autocomplete-downarrow ')])[2]" "xpath_element" | ||
And I click on "(//ul[@class='form-autocomplete-suggestions']//*[contains(concat('|', string(.), '|'),'|Student 2 ([email protected])|')])[1]" "xpath_element" | ||
And I press the escape key | ||
And I press "Save changes" | ||
Then I should see "updated" | ||
And I press "Continue" | ||
|
@@ -111,12 +112,10 @@ Feature: Create entry and add fieldgroups | |
And I press "Save changes" | ||
Then I should see "Testfieldgroup1" | ||
When I follow "Views" | ||
And I follow "Gridview" | ||
And I click on "Edit this view" "icon" | ||
|
||
Then I should see "Gridview" | ||
And I click on "Edit Gridview" "link" | ||
And I click on "Entry template" "link" | ||
Then I should see "Field tags" | ||
|
||
## Add fieldgroup and remove all other fields. | ||
Then I add to "id_eparam2_editor" editor the text "[[Testfieldgroup1]] ##edit## ##delete##" | ||
And I press "Save changes" | ||
|
@@ -127,12 +126,12 @@ Feature: Create entry and add fieldgroups | |
Then I should see "Datalynx field Text" | ||
## Names do not work bc. iterator. | ||
|
||
When I set the field with xpath "(//input[@type='text'])[2]" to "3" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "Text 1 in the first line" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "6" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "Text 1 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[6]" to "9" | ||
When I set the field with xpath "(//input[@type='text'])[7]" to "Text 1 in the third line" | ||
When I set the field with xpath "(//input[@type='text'])[1]" to "3" | ||
When I set the field with xpath "(//input[@type='text'])[2]" to "Text 1 in the first line" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "6" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "Text 1 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "9" | ||
When I set the field with xpath "(//input[@type='text'])[6]" to "Text 1 in the third line" | ||
|
||
And I press "Save changes" | ||
Then I should see "updated" | ||
|
@@ -141,27 +140,27 @@ Feature: Create entry and add fieldgroups | |
## Add a second entry | ||
When I follow "Add a new entry" | ||
|
||
When I set the field with xpath "(//input[@type='text'])[2]" to "12" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "Text 2 in the first line" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "15" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "Text 2 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[6]" to "18" | ||
When I set the field with xpath "(//input[@type='text'])[7]" to "Text 2 in the third line" | ||
When I set the field with xpath "(//input[@type='text'])[1]" to "12" | ||
When I set the field with xpath "(//input[@type='text'])[2]" to "Text 2 in the first line" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "15" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "Text 2 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "18" | ||
When I set the field with xpath "(//input[@type='text'])[6]" to "Text 2 in the third line" | ||
|
||
And I press "Save changes" | ||
Then I should see "updated" | ||
And I press "Continue" | ||
## Add a third entry | ||
When I follow "Add a new entry" | ||
|
||
When I set the field with xpath "(//input[@type='text'])[2]" to "21" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "Text 3 in the first line" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "24" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "Text 3 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[6]" to "27" | ||
When I set the field with xpath "(//input[@type='text'])[7]" to "Text 3 in the third line" | ||
When I set the field with xpath "(//input[@type='text'])[8]" to "30" | ||
When I set the field with xpath "(//input[@type='text'])[9]" to "Text 3 in the fourth line" | ||
When I set the field with xpath "(//input[@type='text'])[1]" to "21" | ||
When I set the field with xpath "(//input[@type='text'])[2]" to "Text 3 in the first line" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "24" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "Text 3 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "27" | ||
When I set the field with xpath "(//input[@type='text'])[6]" to "Text 3 in the third line" | ||
When I set the field with xpath "(//input[@type='text'])[7]" to "30" | ||
When I set the field with xpath "(//input[@type='text'])[8]" to "Text 3 in the fourth line" | ||
|
||
And I press "Save changes" | ||
Then I should see "updated" | ||
|
@@ -173,10 +172,10 @@ Feature: Create entry and add fieldgroups | |
And I click on "(//a/i[@title='Edit'])[2]" "xpath_element" | ||
|
||
## Change some values. | ||
When I set the field with xpath "(//input[@type='text'])[2]" to "33" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "Second Text 2 in the first line" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "Second Text 2 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[1]" to "33" | ||
When I set the field with xpath "(//input[@type='text'])[2]" to "Second Text 2 in the first line" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "Second Text 2 in the second line" | ||
|
||
## Save and check. | ||
And I press "Save changes" | ||
|
@@ -191,14 +190,14 @@ Feature: Create entry and add fieldgroups | |
## Edit the first entry and remove a whole line. | ||
And I click on "(//a/i[@title='Edit'])[1]" "xpath_element" | ||
|
||
When I set the field with xpath "(//input[@type='text'])[1]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[2]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "36" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "Second Text 1 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[3]" to "36" | ||
When I set the field with xpath "(//input[@type='text'])[4]" to "Second Text 1 in the second line" | ||
When I set the field with xpath "(//input[@type='text'])[5]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[6]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[7]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[8]" to "" | ||
When I set the field with xpath "(//input[@type='text'])[9]" to "" | ||
|
||
And I press "Save changes" | ||
Then I should see "updated" | ||
|
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