@@ -690,6 +690,7 @@ Feature: GraphQL collection support
690690 fooDummies(page: 1) {
691691 collection {
692692 id
693+ name
693694 }
694695 paginationInfo {
695696 itemsPerPage
@@ -703,8 +704,11 @@ Feature: GraphQL collection support
703704 And the response should be in JSON
704705 And the JSON node "data.fooDummies.collection" should have 3 elements
705706 And the JSON node "data.fooDummies.collection[0].id" should exist
707+ And the JSON node "data.fooDummies.collection[0].name" should exist
706708 And the JSON node "data.fooDummies.collection[1].id" should exist
709+ And the JSON node "data.fooDummies.collection[1].name" should exist
707710 And the JSON node "data.fooDummies.collection[2].id" should exist
711+ And the JSON node "data.fooDummies.collection[2].name" should exist
708712 And the JSON node "data.fooDummies.paginationInfo.itemsPerPage" should be equal to the number 3
709713 And the JSON node "data.fooDummies.paginationInfo.lastPage" should be equal to the number 2
710714 And the JSON node "data.fooDummies.paginationInfo.totalCount" should be equal to the number 5
@@ -714,6 +718,7 @@ Feature: GraphQL collection support
714718 fooDummies(page: 2) {
715719 collection {
716720 id
721+ name
717722 }
718723 }
719724 }
@@ -727,6 +732,7 @@ Feature: GraphQL collection support
727732 fooDummies(page: 3) {
728733 collection {
729734 id
735+ name
730736 }
731737 }
732738 }
@@ -744,6 +750,7 @@ Feature: GraphQL collection support
744750 fooDummies(page: 1, itemsPerPage: 2) {
745751 collection {
746752 id
753+ name
747754 }
748755 }
749756 }
@@ -752,13 +759,16 @@ Feature: GraphQL collection support
752759 And the response should be in JSON
753760 And the JSON node "data.fooDummies.collection" should have 2 elements
754761 And the JSON node "data.fooDummies.collection[0].id" should exist
762+ And the JSON node "data.fooDummies.collection[0].name" should exist
755763 And the JSON node "data.fooDummies.collection[1].id" should exist
764+ And the JSON node "data.fooDummies.collection[1].name" should exist
756765 When I send the following GraphQL request:
757766 """
758767 {
759768 fooDummies(page: 2, itemsPerPage: 2) {
760769 collection {
761770 id
771+ name
762772 }
763773 }
764774 }
@@ -772,6 +782,7 @@ Feature: GraphQL collection support
772782 fooDummies(page: 3, itemsPerPage: 2) {
773783 collection {
774784 id
785+ name
775786 }
776787 }
777788 }
0 commit comments