Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AdminStep.php
Go to the documentation of this file.
1 <?php
8 
9 require_once __DIR__ . '/../../Helper/AdminUrlList.php';
10 
16 class AdminStep extends \Magento\FunctionalTestingFramework\AcceptanceTester
17 {
18  public static $adminPageTitle = '.page-title';
19 
20  public function openNewTabGoToVerify($url)
21  {
22  $I = $this;
23  $I->openNewTab();
24  $I->amOnPage($url);
25  $I->waitForPageLoad();
26  $I->seeInCurrentUrl($url);
27  }
28 
29  public function closeNewTab()
30  {
31  $I = $this;
32  $I->closeTab();
33  }
34 
35  // Key Admin Pages
36  public function goToRandomAdminPage()
37  {
38  $I = $this;
39 
40  $admin_url_list = array(
41  "/admin/admin/dashboard/",
42  "/admin/sales/order/",
43  "/admin/sales/invoice/",
44  "/admin/sales/shipment/",
45  "/admin/sales/creditmemo/",
46  "/admin/paypal/billing_agreement/",
47  "/admin/sales/transactions/",
48  "/admin/catalog/product/",
49  "/admin/catalog/category/",
50  "/admin/customer/index/",
51  "/admin/customer/online/",
52  "/admin/catalog_rule/promo_catalog/",
53  "/admin/sales_rule/promo_quote/",
54  "/admin/admin/email_template/",
55  "/admin/newsletter/template/",
56  "/admin/newsletter/queue/",
57  "/admin/newsletter/subscriber/",
58  "/admin/admin/url_rewrite/index/",
59  "/admin/search/term/index/",
60  "/admin/search/synonyms/index/",
61  "/admin/admin/sitemap/",
62  "/admin/review/product/index/",
63  "/admin/cms/page/",
64  "/admin/cms/block/",
65  "/admin/admin/widget_instance/",
66  "/admin/theme/design_config/",
67  "/admin/admin/system_design_theme/",
68  "/admin/admin/system_design/",
69  "/admin/reports/report_shopcart/product/",
70  "/admin/search/term/report/",
71  "/admin/reports/report_shopcart/abandoned/",
72  "/admin/newsletter/problem/",
73  "/admin/reports/report_review/customer/",
74  "/admin/reports/report_review/product/",
75  "/admin/reports/report_sales/sales/",
76  "/admin/reports/report_sales/tax/",
77  "/admin/reports/report_sales/invoiced/",
78  "/admin/reports/report_sales/shipping/",
79  "/admin/reports/report_sales/refunded/",
80  "/admin/reports/report_sales/coupons/",
81  "/admin/paypal/paypal_reports/",
82  "/admin/braintree/report/",
83  "/admin/reports/report_customer/totals/",
84  "/admin/reports/report_customer/orders/",
85  "/admin/reports/report_customer/accounts/",
86  "/admin/reports/report_product/viewed/",
87  "/admin/reports/report_sales/bestsellers/",
88  "/admin/reports/report_product/lowstock/",
89  "/admin/reports/report_product/sold/",
90  "/admin/reports/report_product/downloads/",
91  "/admin/reports/report_statistics/",
92  "/admin/admin/system_store/",
93  "/admin/admin/system_config/",
94  "/admin/checkout/agreement/",
95  "/admin/sales/order_status/",
96  "/admin/tax/rule/",
97  "/admin/tax/rate/",
98  "/admin/admin/system_currency/",
99  "/admin/admin/system_currencysymbol/",
100  "/admin/catalog/product_attribute/",
101  "/admin/catalog/product_set/",
102  "/admin/review/rating/",
103  "/admin/customer/group/",
104  "/admin/admin/import/",
105  "/admin/admin/export/",
106  "/admin/tax/rate/importExport/",
107  "/admin/admin/history/",
108  "/admin/admin/integration/",
109  "/admin/admin/cache/",
110  "/admin/backup/index/",
111  "/admin/indexer/indexer/list/",
112  "/admin/admin/user/",
113  "/admin/admin/locks/",
114  "/admin/admin/user_role/",
115  "/admin/admin/notification/",
116  "/admin/admin/system_variable/",
117  "/admin/admin/crypt_key/"
118  );
119 
120  $random_admin_url = array_rand($admin_url_list, 1);
121 
122  $I->amOnPage($admin_url_list[$random_admin_url]);
123  $I->waitForPageLoad();
124 
125  return $admin_url_list[$random_admin_url];
126  }
127 
128  public function goToTheAdminLoginPage()
129  {
130  $I = $this;
131  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminLoginPage);
132  $I->waitForPageLoad();
133  }
134 
135  public function goToTheAdminLogoutPage()
136  {
137  $I = $this;
138  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminLogoutPage);
139  }
140 
141  // Sales
142  public function goToTheAdminOrdersGrid()
143  {
144  $I = $this;
145  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrdersGrid);
146  $I->waitForPageLoad();
147  }
148 
149  public function goToTheAdminOrderForIdPage($orderId)
150  {
151  $I = $this;
152  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderByIdPage . $orderId));
153  $I->waitForPageLoad();
154  }
155 
156  public function goToTheAdminAddOrderPage()
157  {
158  $I = $this;
159  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddOrderPage);
160  $I->waitForPageLoad();
161  }
162 
164  {
165  $I = $this;
166  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddOrderForCustomerIdPage . $customerId));
167  $I->waitForPageLoad();
168  }
169 
170  public function goToTheAdminInvoicesGrid()
171  {
172  $I = $this;
173  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminInvoicesGrid);
174  $I->waitForPageLoad();
175  }
176 
177  public function goToTheAdminAddInvoiceForOrderIdPage($orderId)
178  {
179  $I = $this;
180  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddInvoiceForOrderIdPage . $orderId));
181  $I->waitForPageLoad();
182  }
183 
184  public function goToTheAdminShipmentsGrid()
185  {
186  $I = $this;
187  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminShipmentsGrid);
188  $I->waitForPageLoad();
189  }
190 
191  public function goToTheAdminShipmentForIdPage($shipmentId)
192  {
193  $I = $this;
194  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminShipmentForIdPage . $shipmentId));
195  $I->waitForPageLoad();
196  }
197 
198  public function goToTheAdminCreditMemosGrid()
199  {
200  $I = $this;
201  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreditMemosGrid);
202  $I->waitForPageLoad();
203  }
204 
205  public function goToTheAdminCreditMemoForIdPage($creditMemoId)
206  {
207  $I = $this;
208  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreditMemoForIdPage . $creditMemoId));
209  $I->waitForPageLoad();
210  }
211 
213  {
214  $I = $this;
215  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBillingAgreementsGrid);
216  $I->waitForPageLoad();
217  }
218 
220  {
221  $I = $this;
222  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTransactionsGrid);
223  $I->waitForPageLoad();
224  }
225 
226  // Products
227  public function goToTheAdminCatalogPage()
228  {
229  $I = $this;
230  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCatalogGrid);
231  $I->waitForPageLoad();
232  }
233 
235  {
236  $I = $this;
237  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductForIdPage . $productId));
238  $I->waitForPageLoad();
239  }
240 
242  {
243  $I = $this;
244  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddSimpleProductPage);
245  $I->waitForPageLoad();
246  }
247 
249  {
250  $I = $this;
251  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddConfigurableProductPage);
252  $I->waitForPageLoad();
253  }
254 
256  {
257  $I = $this;
258  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddGroupedProductPage);
259  $I->waitForPageLoad();
260  }
261 
263  {
264  $I = $this;
265  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddVirtualProductPage);
266  $I->waitForPageLoad();
267  }
268 
270  {
271  $I = $this;
272  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddBundleProductPage);
273  $I->waitForPageLoad();
274  }
275 
277  {
278  $I = $this;
279  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddDownloadableProductPage);
280  $I->waitForPageLoad();
281  }
282 
283  public function goToTheAdminCategoriesPage()
284  {
285  $I = $this;
286  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCategoriesPage);
287  $I->waitForPageLoad();
288  }
289 
290  public function goToTheAdminCategoryForIdPage($categoryId)
291  {
292  $I = $this;
293  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCategoryForIdPage . $categoryId));
294  $I->waitForPageLoad();
295  }
296 
298  {
299  $I = $this;
300  $I->amOnPage(('/admin/catalog/category/add/store/' . $storeId . '/parent/1'));
301  $I->waitForPageLoad();
302  }
303 
305  {
306  $I = $this;
307  $I->amOnPage(('/admin/catalog/category/add/store/' . $storeId . '/parent/2'));
308  $I->waitForPageLoad();
309  }
310 
311  // Customers
313  {
314  $I = $this;
315  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAllCustomersGrid);
316  $I->waitForPageLoad();
317  }
318 
320  {
321  $I = $this;
322  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomersNowOnlineGrid);
323  $I->waitForPageLoad();
324  }
325 
327  {
328  $I = $this;
329  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomerForCustomerIdPage . $customerId));
330  $I->waitForPageLoad();
331  }
332 
333  public function goToTheAdminAddCustomerPage()
334  {
335  $I = $this;
336  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCustomerPage);
337  $I->waitForPageLoad();
338  }
339 
340  // Marketing
342  {
343  $I = $this;
344  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCatalogPriceRuleGrid);
345  $I->waitForPageLoad();
346  }
347 
348  public function goToTheAdminCatalogPriceRuleForIdPage($catalogPriceRuleId)
349  {
350  $I = $this;
351  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCatalogPriceRuleForIdPage . $catalogPriceRuleId));
352  $I->waitForPageLoad();
353  }
354 
356  {
357  $I = $this;
358  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCatalogPriceRulePage);
359  $I->waitForPageLoad();
360  }
361 
363  {
364  $I = $this;
365  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCartPriceRulesGrid);
366  $I->waitForPageLoad();
367  }
368 
369  public function goToTheAdminCartPriceRuleForIdPage($cartPriceRuleId)
370  {
371  $I = $this;
372  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCartPriceRuleForIdPage . $cartPriceRuleId));
373  $I->waitForPageLoad();
374  }
375 
377  {
378  $I = $this;
379  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCartPriceRulePage);
380  $I->waitForPageLoad();
381  }
382 
384  {
385  $I = $this;
386  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminEmailTemplatesGrid);
387  $I->waitForPageLoad();
388  }
389 
390  public function goToTheAdminEmailTemplateForIdPage($emailTemplateId)
391  {
392  $I = $this;
393  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminEmailTemplateForIdPage . $emailTemplateId));
394  $I->waitForPageLoad();
395  }
396 
398  {
399  $I = $this;
400  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddEmailTemplatePage);
401  $I->waitForPageLoad();
402  }
403 
405  {
406  $I = $this;
407  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterTemplateGrid);
408  $I->waitForPageLoad();
409  }
410 
411  public function goToTheAdminNewsletterTemplateByIdPage($newsletterTemplateId)
412  {
413  $I = $this;
414  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterTemplateForIdPage . $newsletterTemplateId));
415  $I->waitForPageLoad();
416  }
417 
419  {
420  $I = $this;
421  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddNewsletterTemplatePage);
422  $I->waitForPageLoad();
423  }
424 
426  {
427  $I = $this;
428  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterQueueGrid);
429  $I->waitForPageLoad();
430  }
431 
433  {
434  $I = $this;
435  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterSubscribersGrid);
436  $I->waitForPageLoad();
437  }
438 
439  public function goToTheAdminURLRewritesGrid()
440  {
441  $I = $this;
442  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminURLRewritesGrid);
443  $I->waitForPageLoad();
444  }
445 
446  public function goToTheAdminURLRewriteForId($urlRewriteId)
447  {
448  $I = $this;
449  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminURLRewriteForIdPage . $urlRewriteId));
450  $I->waitForPageLoad();
451  }
452 
454  {
455  $I = $this;
456  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddURLRewritePage);
457  $I->waitForPageLoad();
458  }
459 
460  public function goToTheAdminSearchTermsGrid()
461  {
462  $I = $this;
463  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchTermsGrid);
464  $I->waitForPageLoad();
465  }
466 
467  public function goToTheAdminSearchTermForIdPage($searchTermId)
468  {
469  $I = $this;
470  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchTermForIdPage . $searchTermId));
471  $I->waitForPageLoad();
472  }
473 
475  {
476  $I = $this;
477  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddSearchTermPage);
478  $I->waitForPageLoad();
479  }
480 
482  {
483  $I = $this;
484  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchSynonymsGrid);
485  $I->waitForPageLoad();
486  }
487 
488  public function goToTheAdminSearchSynonymGroupByIdPage($searchSynonymId)
489  {
490  $I = $this;
491  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchSynonymGroupForIdPage . $searchSynonymId));
492  $I->waitForPageLoad();
493  }
494 
496  {
497  $I = $this;
498  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddSearchSynonymGroupPage);
499  $I->waitForPageLoad();
500  }
501 
502  public function goToTheAdminSiteMapGrid()
503  {
504  $I = $this;
505  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSiteMapGrid);
506  $I->waitForPageLoad();
507  }
508 
509  public function goToTheAdminSiteMapForIdPage($siteMapId)
510  {
511  $I = $this;
512  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSiteMapForIdPage . $siteMapId));
513  $I->waitForPageLoad();
514  }
515 
516  public function goToTheAdminAddSiteMapPage()
517  {
518  $I = $this;
519  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddSiteMapPage);
520  $I->waitForPageLoad();
521  }
522 
523  public function goToTheAdminReviewsGrid()
524  {
525  $I = $this;
526  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminReviewsGrid);
527  $I->waitForPageLoad();
528  }
529 
530  public function goToTheAdminReviewForIdPage($reviewId)
531  {
532  $I = $this;
533  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminReviewByIdPage . $reviewId));
534  $I->waitForPageLoad();
535  }
536 
537  public function goToTheAdminAddReviewPage()
538  {
539  $I = $this;
540  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddReviewPage);
541  $I->waitForPageLoad();
542  }
543 
544  // Content
545  public function goToTheAdminPagesGrid()
546  {
547  $I = $this;
548  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminPagesGrid);
549  $I->waitForPageLoad();
550  }
551 
552  public function goToTheAdminPageForIdPage($pageId)
553  {
554  $I = $this;
555  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminPageForIdPage . $pageId));
556  $I->waitForPageLoad();
557  }
558 
559  public function goToTheAdminAddPagePage()
560  {
561  $I = $this;
562  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddPagePage));
563  $I->waitForPageLoad();
564  }
565 
566  public function goToTheAdminBlocksGrid()
567  {
568  $I = $this;
569  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBlocksGrid);
570  $I->waitForPageLoad();
571  }
572 
573  public function goToTheAdminBlockForIdPage($blockId)
574  {
575  $I = $this;
576  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBlockForIdPage . $blockId));
577  $I->waitForPageLoad();
578  }
579 
580  public function goToTheAdminAddBlockPage()
581  {
582  $I = $this;
583  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddBlockPage);
584  $I->waitForPageLoad();
585  }
586 
587  public function goToTheAdminWidgetsGrid()
588  {
589  $I = $this;
590  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminWidgetsGrid);
591  $I->waitForPageLoad();
592  }
593 
594  public function goToTheAdminAddWidgetPage()
595  {
596  $I = $this;
597  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddWidgetPage);
598  $I->waitForPageLoad();
599  }
600 
602  {
603  $I = $this;
604  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminDesignConfigurationGrid);
605  $I->waitForPageLoad();
606  }
607 
608  public function goToTheAdminThemesGrid()
609  {
610  $I = $this;
611  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminThemesGrid);
612  $I->waitForPageLoad();
613  }
614 
615  public function goToTheAdminThemeByIdPage($themeId)
616  {
617  $I = $this;
618  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminThemeByIdPage . $themeId));
619  $I->waitForPageLoad();
620  }
621 
623  {
624  $I = $this;
625  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminStoreContentScheduleGrid);
626  $I->waitForPageLoad();
627  }
628 
629  public function goToTheAdminStoreContentScheduleForIdPage($storeContentScheduleId)
630  {
631  $I = $this;
632  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminStoreContentScheduleForIdPage . $storeContentScheduleId));
633  $I->waitForPageLoad();
634  }
635 
637  {
638  $I = $this;
639  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddStoreDesignChangePage);
640  $I->waitForPageLoad();
641  }
642 
643  // Reports
645  {
646  $I = $this;
647  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductsInCartGrid);
648  $I->waitForPageLoad();
649  }
650 
652  {
653  $I = $this;
654  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchTermsReportGrid);
655  $I->waitForPageLoad();
656  }
657 
659  {
660  $I = $this;
661  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAbandonedCartsGrid);
662  $I->waitForPageLoad();
663  }
664 
666  {
667  $I = $this;
668  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterProblemsReportGrid);
669  $I->waitForPageLoad();
670  }
671 
673  {
674  $I = $this;
675  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomerReviewsReportGrid);
676  $I->waitForPageLoad();
677  }
678 
680  {
681  $I = $this;
682  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductReviewsReportGrid);
683  $I->waitForPageLoad();
684  }
685 
687  {
688  $I = $this;
689  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductReviewsForProductIdPage . $productId));
690  $I->waitForPageLoad();
691  }
692 
693  public function goToTheAdminProductReviewIdForProductIdPage($productReviewId, $productId)
694  {
695  $I = $this;
696  $I->amOnPage(('/admin/review/product/edit/id/' . $productReviewId . '/productId/' . $productId));
697  $I->waitForPageLoad();
698  }
699 
701  {
702  $I = $this;
703  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrdersReportGrid);
704  $I->waitForPageLoad();
705  }
706 
707  public function goToTheAdminTaxReportGrid()
708  {
709  $I = $this;
710  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxReportGrid);
711  $I->waitForPageLoad();
712  }
713 
715  {
716  $I = $this;
717  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminInvoiceReportGrid);
718  $I->waitForPageLoad();
719  }
720 
722  {
723  $I = $this;
724  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminShippingReportGrid);
725  $I->waitForPageLoad();
726  }
727 
729  {
730  $I = $this;
731  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminRefundsReportGrid);
732  $I->waitForPageLoad();
733  }
734 
736  {
737  $I = $this;
738  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCouponsReportGrid);
739  $I->waitForPageLoad();
740  }
741 
743  {
744  $I = $this;
745  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminPayPalSettlementReportsGrid);
746  $I->waitForPageLoad();
747  }
748 
750  {
751  $I = $this;
752  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBraintreeSettlementReportGrid);
753  $I->waitForPageLoad();
754  }
755 
757  {
758  $I = $this;
759  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderTotalReportGrid);
760  $I->waitForPageLoad();
761  }
762 
764  {
765  $I = $this;
766  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderCountReportGrid);
767  $I->waitForPageLoad();
768  }
769 
771  {
772  $I = $this;
773  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewAccountsReportGrid);
774  $I->waitForPageLoad();
775  }
776 
778  {
779  $I = $this;
780  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductViewsReportGrid);
781  $I->waitForPageLoad();
782  }
783 
785  {
786  $I = $this;
787  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBestsellersReportGrid);
788  $I->waitForPageLoad();
789  }
790 
792  {
793  $I = $this;
794  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminLowStockReportGrid);
795  $I->waitForPageLoad();
796  }
797 
799  {
800  $I = $this;
801  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderedProductsReportGrid);
802  $I->waitForPageLoad();
803  }
804 
806  {
807  $I = $this;
808  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminDownloadsReportGrid);
809  $I->waitForPageLoad();
810  }
811 
813  {
814  $I = $this;
815  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminRefreshStatisticsGrid);
816  $I->waitForPageLoad();
817  }
818 
819  // Stores
820  public function goToTheAdminAllStoresGrid()
821  {
822  $I = $this;
823  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAllStoresGrid);
824  $I->waitForPageLoad();
825  }
826 
828  {
829  $I = $this;
830  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreateStoreViewPage);
831  $I->waitForPageLoad();
832  }
833 
834  public function goToTheAdminCreateStorePage()
835  {
836  $I = $this;
837  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreateStorePage);
838  $I->waitForPageLoad();
839  }
840 
842  {
843  $I = $this;
844  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreateWebsitePage);
845  $I->waitForPageLoad();
846  }
847 
849  {
850  $I = $this;
851  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminWebsiteByIdPage . $websiteId));
852  $I->waitForPageLoad();
853  }
854 
855  public function goToTheAdminStoreViewForIdPage($storeViewId)
856  {
857  $I = $this;
858  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminStoreViewByIdPage . $storeViewId));
859  $I->waitForPageLoad();
860  }
861 
863  {
864  $I = $this;
865  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminStoreByIdPage . $storeId));
866  $I->waitForPageLoad();
867  }
868 
870  {
871  $I = $this;
872  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminConfigurationGrid);
873  $I->waitForPageLoad();
874  }
875 
877  {
878  $I = $this;
879  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTermsAndConditionsGrid);
880  $I->waitForPageLoad();
881  }
882 
883  public function goToTheAdminTermsAndConditionForIdPage($termsAndConditionsId)
884  {
885  $I = $this;
886  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTermsAndConditionByIdPage . $termsAndConditionsId));
887  $I->waitForPageLoad();
888  }
889 
891  {
892  $I = $this;
893  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddNewTermsAndConditionPage);
894  $I->waitForPageLoad();
895  }
896 
897  public function goToTheAdminOrderStatusGrid()
898  {
899  $I = $this;
900  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderStatusGrid);
901  $I->waitForPageLoad();
902  }
903 
905  {
906  $I = $this;
907  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddOrderStatusPage);
908  $I->waitForPageLoad();
909  }
910 
911  public function goToTheAdminTaxRulesGrid()
912  {
913  $I = $this;
914  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxRulesGrid);
915  $I->waitForPageLoad();
916  }
917 
918  public function goToTheAdminTaxRuleForIdPage($taxRuleId)
919  {
920  $I = $this;
921  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxRuleByIdPage . $taxRuleId));
922  $I->waitForPageLoad();
923  }
924 
925  public function goToTheAdminAddTaxRulePage()
926  {
927  $I = $this;
928  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddTaxRulePage);
929  $I->waitForPageLoad();
930  }
931 
933  {
934  $I = $this;
935  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxZonesAndRatesGrid);
936  $I->waitForPageLoad();
937  }
938 
939  public function goToTheAdminTaxZoneAndRateForIdPage($taxZoneAndRateId)
940  {
941  $I = $this;
942  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxZoneAndRateByIdPage . $taxZoneAndRateId));
943  $I->waitForPageLoad();
944  }
945 
947  {
948  $I = $this;
949  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddTaxZoneAndRatePage);
950  $I->waitForPageLoad();
951  }
952 
954  {
955  $I = $this;
956  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCurrencyRatesPage);
957  $I->waitForPageLoad();
958  }
959 
961  {
962  $I = $this;
963  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCurrencySymbolsPage);
964  $I->waitForPageLoad();
965  }
966 
968  {
969  $I = $this;
970  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductAttributesGrid);
971  $I->waitForPageLoad();
972  }
973 
974  public function goToTheAdminProductAttributeForIdPage($productAttributeId)
975  {
976  $I = $this;
977  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductAttributeForIdPage . $productAttributeId));
978  $I->waitForPageLoad();
979  }
980 
982  {
983  $I = $this;
984  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddProductAttributePage);
985  $I->waitForPageLoad();
986  }
987 
989  {
990  $I = $this;
991  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAttributeSetsGrid);
992  $I->waitForPageLoad();
993  }
994 
996  {
997  $I = $this;
998  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAttributeSetByIdPage . $attributeSetId));
999  $I->waitForPageLoad();
1000  }
1001 
1003  {
1004  $I = $this;
1005  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddAttributeSetPage);
1006  $I->waitForPageLoad();
1007  }
1008 
1009  public function goToTheAdminRatingGrid()
1010  {
1011  $I = $this;
1012  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminRatingsGrid);
1013  $I->waitForPageLoad();
1014  }
1015 
1016  public function goToTheAdminRatingForIdPage($ratingId)
1017  {
1018  $I = $this;
1019  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminRatingForIdPage . $ratingId));
1020  $I->waitForPageLoad();
1021  }
1022 
1023  public function goToTheAdminAddRatingPage()
1024  {
1025  $I = $this;
1026  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddRatingPage);
1027  $I->waitForPageLoad();
1028  }
1029 
1031  {
1032  $I = $this;
1033  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomerGroupsGrid);
1034  $I->waitForPageLoad();
1035  }
1036 
1037  public function goToTheAdminCustomerGroupForIdPage($customerGroupId)
1038  {
1039  $I = $this;
1040  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomerGroupByIdPage . $customerGroupId));
1041  $I->waitForPageLoad();
1042  }
1043 
1045  {
1046  $I = $this;
1047  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCustomerGroupPage);
1048  $I->waitForPageLoad();
1049  }
1050 
1051  // System
1052  public function goToTheAdminImportPage()
1053  {
1054  $I = $this;
1055  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminImportPage);
1056  $I->waitForPageLoad();
1057  }
1058 
1059  public function goToTheAdminExportPage()
1060  {
1061  $I = $this;
1062  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminExportPage);
1063  $I->waitForPageLoad();
1064  }
1065 
1067  {
1068  $I = $this;
1069  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminImportAndExportTaxRatesPage);
1070  $I->waitForPageLoad();
1071  }
1072 
1074  {
1075  $I = $this;
1076  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminImportHistoryGrid);
1077  $I->waitForPageLoad();
1078  }
1079 
1081  {
1082  $I = $this;
1083  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminIntegrationsGrid);
1084  $I->waitForPageLoad();
1085  }
1086 
1087  public function goToTheAdminIntegrationForIdPage($integrationId)
1088  {
1089  $I = $this;
1090  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminIntegrationByIdPage . $integrationId));
1091  $I->waitForPageLoad();
1092  }
1093 
1095  {
1096  $I = $this;
1097  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddIntegrationPage);
1098  $I->waitForPageLoad();
1099  }
1100 
1102  {
1103  $I = $this;
1104  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCacheManagementGrid);
1105  $I->waitForPageLoad();
1106  }
1107 
1108  public function goToTheAdminBackupsGrid()
1109  {
1110  $I = $this;
1111  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBackupsGrid);
1112  $I->waitForPageLoad();
1113  }
1114 
1116  {
1117  $I = $this;
1118  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminIndexManagementGrid);
1119  $I->waitForPageLoad();
1120  }
1121 
1123  {
1124  $I = $this;
1125  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminWebSetupWizardPage);
1126  $I->waitForPageLoad();
1127  }
1128 
1129  public function goToTheAdminAllUsersGrid()
1130  {
1131  $I = $this;
1132  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAllUsersGrid);
1133  $I->waitForPageLoad();
1134  }
1135 
1136  public function goToTheAdminUserForIdPage($userId)
1137  {
1138  $I = $this;
1139  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminUserByIdPage . $userId));
1140  $I->waitForPageLoad();
1141  }
1142 
1143  public function goToTheAdminAddUserPage()
1144  {
1145  $I = $this;
1146  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddNewUserPage);
1147  $I->waitForPageLoad();
1148  }
1149 
1151  {
1152  $I = $this;
1153  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminLockedUsersGrid);
1154  $I->waitForPageLoad();
1155  }
1156 
1157  public function goToTheAdminUserRolesGrid()
1158  {
1159  $I = $this;
1160  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminUserRolesGrid);
1161  $I->waitForPageLoad();
1162  }
1163 
1164  public function goToTheAdminUserRoleForIdPage($userRoleId)
1165  {
1166  $I = $this;
1167  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminUserRoleByIdPage . $userRoleId));
1168  $I->waitForPageLoad();
1169  }
1170 
1172  {
1173  $I = $this;
1174  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddUserRolePage);
1175  $I->waitForPageLoad();
1176  }
1177 
1179  {
1180  $I = $this;
1181  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNotificationsGrid);
1182  $I->waitForPageLoad();
1183  }
1184 
1186  {
1187  $I = $this;
1188  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomVariablesGrid);
1189  $I->waitForPageLoad();
1190  }
1191 
1192  public function goToTheAdminCustomVariableForId($customVariableId)
1193  {
1194  $I = $this;
1195  $I->amOnPage((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomVariableByIdPage . $customVariableId));
1196  $I->waitForPageLoad();
1197  }
1198 
1200  {
1201  $I = $this;
1202  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCustomVariablePage);
1203  $I->waitForPageLoad();
1204  }
1205 
1207  {
1208  $I = $this;
1209  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminEncryptionKeyPage);
1210  $I->waitForPageLoad();
1211  }
1212 
1214  {
1215  $I = $this;
1216  $I->amOnPage(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminFindPartnersAndExtensions);
1217  $I->waitForPageLoad();
1218  }
1219 
1220  // Key Admin Pages
1222  {
1223  $I = $this;
1224  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminLoginPage);
1225  }
1226 
1228  {
1229  $I = $this;
1230  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminDashboardPage);
1231  $I->see('Dashboard', self::$adminPageTitle);
1232  }
1233 
1235  {
1236  $I = $this;
1237  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminForgotYourPasswordPage);
1238  }
1239 
1240  // Sales
1242  {
1243  $I = $this;
1244  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrdersGrid);
1245  $I->see('Orders', self::$adminPageTitle);
1246  }
1247 
1248  public function shouldBeOnTheAdminOrderForIdPage($orderId)
1249  {
1250  $I = $this;
1251  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderByIdPage . $orderId));
1252  $I->see($orderId, self::$adminPageTitle);
1253  }
1254 
1256  {
1257  $I = $this;
1258  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddOrderPage);
1259  $I->see('Create New Order', self::$adminPageTitle);
1260  }
1261 
1263  {
1264  $I = $this;
1265  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddOrderForCustomerIdPage . $customerId));
1266  $I->see('Create New Order', self::$adminPageTitle);
1267  }
1268 
1270  {
1271  $I = $this;
1272  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminInvoicesGrid);
1273  $I->see('Invoices', self::$adminPageTitle);
1274  }
1275 
1277  {
1278  $I = $this;
1279  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddInvoiceForOrderIdPage . $orderId));
1280  $I->see('New Invoice', self::$adminPageTitle);
1281  }
1282 
1284  {
1285  $I = $this;
1286  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminShipmentsGrid);
1287  $I->see('Shipments', self::$adminPageTitle);
1288  }
1289 
1290  public function shouldBeOnTheAdminShipmentForIdPage($shipmentId)
1291  {
1292  $I = $this;
1293  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminShipmentForIdPage . $shipmentId));
1294  $I->see('New Shipment');
1295  }
1296 
1298  {
1299  $I = $this;
1300  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreditMemosGrid);
1301  $I->see('Credit Memos', self::$adminPageTitle);
1302  }
1303 
1304  public function shouldBeOnTheAdminCreditMemoForIdPage($creditMemoId)
1305  {
1306  $I = $this;
1307  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreditMemoForIdPage . $creditMemoId));
1308  $I->see('View Memo', self::$adminPageTitle);
1309  }
1310 
1312  {
1313  $I = $this;
1314  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBillingAgreementsGrid);
1315  $I->see('Billing Agreements', self::$adminPageTitle);
1316  }
1317 
1319  {
1320  $I = $this;
1321  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTransactionsGrid);
1322  $I->see('Transactions', self::$adminPageTitle);
1323  }
1324 
1325  // Products
1327  {
1328  $I = $this;
1329  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCatalogGrid);
1330  $I->see('Catalog', self::$adminPageTitle);
1331  }
1332 
1333  public function shouldBeOnTheAdminProductForIdPage($productId, $productName)
1334  {
1335  $I = $this;
1336  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductForIdPage . $productId));
1337  $I->see($productName, self::$adminPageTitle);
1338  }
1339 
1341  {
1342  $I = $this;
1343  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddSimpleProductPage);
1344  $I->see('New Product', self::$adminPageTitle);
1345  }
1346 
1348  {
1349  $I = $this;
1350  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddConfigurableProductPage);
1351  $I->see('New Product', self::$adminPageTitle);
1352  }
1353 
1355  {
1356  $I = $this;
1357  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddGroupedProductPage);
1358  $I->see('New Product', self::$adminPageTitle);
1359  }
1360 
1362  {
1363  $I = $this;
1364  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddVirtualProductPage);
1365  $I->see('New Product', self::$adminPageTitle);
1366  }
1367 
1369  {
1370  $I = $this;
1371  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddBundleProductPage);
1372  $I->see('New Product', self::$adminPageTitle);
1373  }
1374 
1376  {
1377  $I = $this;
1378  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddDownloadableProductPage);
1379  $I->see('New Product', self::$adminPageTitle);
1380  }
1381 
1383  {
1384  $I = $this;
1385  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCategoriesPage);
1386  $I->see('Default Category', self::$adminPageTitle);
1387  }
1388 
1389  public function shouldBeOnTheAdminCategoryForIdPage($categoryId, $categoryName)
1390  {
1391  $I = $this;
1392  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCategoryForIdPage . $categoryId));
1393  $I->see($categoryName, self::$adminPageTitle);
1394  }
1395 
1397  {
1398  $I = $this;
1399  $I->seeInCurrentUrl(('/admin/catalog/category/add/store/' . $storeId . '/parent/1'));
1400  $I->see('New Category', self::$adminPageTitle);
1401  }
1402 
1404  {
1405  $I = $this;
1406  $I->seeInCurrentUrl(('/admin/catalog/category/add/store/' . $storeId . '/parent/2'));
1407  $I->see('New Category', self::$adminPageTitle);
1408  }
1409 
1410  // Customers
1412  {
1413  $I = $this;
1414  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAllCustomersGrid);
1415  $I->see('Customers', self::$adminPageTitle);
1416  }
1417 
1419  {
1420  $I = $this;
1421  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomersNowOnlineGrid);
1422  $I->see('Customers Now Online', self::$adminPageTitle);
1423  }
1424 
1425  public function shouldBeOnTheAdminCustomerForIdPage($customerId, $customerName)
1426  {
1427  $I = $this;
1428  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomerForCustomerIdPage . $customerId));
1429  $I->see($customerName, self::$adminPageTitle);
1430  }
1431 
1433  {
1434  $I = $this;
1435  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCustomerPage);
1436  $I->see('New Customer', self::$adminPageTitle);
1437  }
1438 
1439  // Marketing
1441  {
1442  $I = $this;
1443  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCatalogPriceRuleGrid);
1444  $I->see('Catalog Price Rule', self::$adminPageTitle);
1445  }
1446 
1447  public function shouldBeOnTheAdminCatalogPriceRuleForIdPage($catalogPriceRuleId, $catalogPriceRuleName)
1448  {
1449  $I = $this;
1450  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCatalogPriceRuleForIdPage . $catalogPriceRuleId));
1451  $I->see($catalogPriceRuleName, self::$adminPageTitle);
1452  }
1453 
1455  {
1456  $I = $this;
1457  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCatalogPriceRulePage);
1458  $I->see('New Catalog Price Rule', self::$adminPageTitle);
1459  }
1460 
1462  {
1463  $I = $this;
1464  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCartPriceRulesGrid);
1465  $I->see('Cart Price Rules', self::$adminPageTitle);
1466  }
1467 
1468  public function shouldBeOnTheAdminCartPriceRuleForIdPage($cartPriceRuleId, $cartPriceRuleName)
1469  {
1470  $I = $this;
1471  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCartPriceRuleForIdPage . $cartPriceRuleId));
1472  $I->see($cartPriceRuleName, self::$adminPageTitle);
1473  }
1474 
1476  {
1477  $I = $this;
1478  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCartPriceRulePage);
1479  $I->see('New Cart Price Rule', self::$adminPageTitle);
1480  }
1481 
1483  {
1484  $I = $this;
1485  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminEmailTemplatesGrid);
1486  $I->see('Email Templates', self::$adminPageTitle);
1487  }
1488 
1489  public function shouldBeOnTheAdminEmailTemplateForIdPage($emailTemplateId, $templateName)
1490  {
1491  $I = $this;
1492  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminEmailTemplateForIdPage . $emailTemplateId));
1493  $I->see($templateName, self::$adminPageTitle);
1494  }
1495 
1497  {
1498  $I = $this;
1499  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddEmailTemplatePage);
1500  $I->see('New Template', self::$adminPageTitle);
1501  }
1502 
1504  {
1505  $I = $this;
1506  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterTemplateGrid);
1507  $I->see('Newsletter Templates', self::$adminPageTitle);
1508  }
1509 
1510  public function shouldBeOnTheAdminNewsletterTemplateByIdPage($newsletterTemplateId, $templateName)
1511  {
1512  $I = $this;
1513  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterTemplateForIdPage . $newsletterTemplateId));
1514  $I->see($templateName, self::$adminPageTitle);
1515  }
1516 
1518  {
1519  $I = $this;
1520  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddNewsletterTemplatePage);
1521  $I->see('New Template', self::$adminPageTitle);
1522  }
1523 
1525  {
1526  $I = $this;
1527  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterQueueGrid);
1528  $I->see('Newsletter Queue', self::$adminPageTitle);
1529  }
1530 
1532  {
1533  $I = $this;
1534  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterSubscribersGrid);
1535  $I->see('Newsletter Subscribers', self::$adminPageTitle);
1536  }
1537 
1539  {
1540  $I = $this;
1541  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminURLRewritesGrid);
1542  $I->see('URL Rewrites', self::$adminPageTitle);
1543  }
1544 
1545  public function shouldBeOnTheAdminURLRewriteForId($urlRewriteId)
1546  {
1547  $I = $this;
1548  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminURLRewriteForIdPage . $urlRewriteId));
1549  $I->see('Edit URL Rewrite for a', self::$adminPageTitle);
1550  }
1551 
1553  {
1554  $I = $this;
1555  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddURLRewritePage);
1556  $I->see('Add New URL Rewrite', self::$adminPageTitle);
1557  }
1558 
1560  {
1561  $I = $this;
1562  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchTermsGrid);
1563  $I->see('Search Terms', self::$adminPageTitle);
1564  }
1565 
1566  public function shouldBeOnTheAdminSearchTermForIdPage($searchTermId, $searchQuery)
1567  {
1568  $I = $this;
1569  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchTermForIdPage . $searchTermId));
1570  $I->see($searchQuery, self::$adminPageTitle);
1571  }
1572 
1574  {
1575  $I = $this;
1576  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddSearchTermPage);
1577  $I->see('New Search', self::$adminPageTitle);
1578  }
1579 
1581  {
1582  $I = $this;
1583  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchSynonymsGrid);
1584  $I->see('Search Synonyms', self::$adminPageTitle);
1585  }
1586 
1587  public function shouldBeOnTheAdminSearchSynonymGroupByIdPage($searchSynonymId, $synonyms)
1588  {
1589  $I = $this;
1590  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchSynonymGroupForIdPage . $searchSynonymId));
1591  $I->see($synonyms, self::$adminPageTitle);
1592  }
1593 
1595  {
1596  $I = $this;
1597  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddSearchSynonymGroupPage);
1598  $I->see('New Synonym Group', self::$adminPageTitle);
1599  }
1600 
1602  {
1603  $I = $this;
1604  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSiteMapGrid);
1605  $I->see('Site Map', self::$adminPageTitle);
1606  }
1607 
1608  public function shouldBeOnTheAdminSiteMapForIdPage($siteMapId, $fileName)
1609  {
1610  $I = $this;
1611  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSiteMapForIdPage . $siteMapId));
1612  $I->see($fileName, self::$adminPageTitle);
1613  }
1614 
1616  {
1617  $I = $this;
1618  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddSiteMapPage);
1619  $I->see('New Site Map', self::$adminPageTitle);
1620  }
1621 
1623  {
1624  $I = $this;
1625  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminReviewsGrid);
1626  $I->see('Reviews', self::$adminPageTitle);
1627  }
1628 
1629  public function shouldBeOnTheAdminReviewForIdPage($reviewId)
1630  {
1631  $I = $this;
1632  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminReviewByIdPage . $reviewId));
1633  $I->see('Edit Review', self::$adminPageTitle);
1634  }
1635 
1637  {
1638  $I = $this;
1639  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddReviewPage);
1640  $I->see('New Review', self::$adminPageTitle);
1641  }
1642 
1643  // Content
1645  {
1646  $I = $this;
1647  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminPagesGrid);
1648  $I->see('Pages', self::$adminPageTitle);
1649  }
1650 
1651  public function shouldBeOnTheAdminPageForIdPage($pageId, $pageTitle)
1652  {
1653  $I = $this;
1654  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminPageForIdPage . $pageId));
1655  $I->see($pageTitle, self::$adminPageTitle);
1656  }
1657 
1659  {
1660  $I = $this;
1661  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddPagePage));
1662  $I->see('New Page', self::$adminPageTitle);
1663  }
1664 
1666  {
1667  $I = $this;
1668  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBlocksGrid);
1669  $I->see('Blocks', self::$adminPageTitle);
1670  }
1671 
1672  public function shouldBeOnTheAdminBlockForIdPage($blockId, $blockTitle)
1673  {
1674  $I = $this;
1675  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBlockForIdPage . $blockId));
1676  $I->see($blockTitle, self::$adminPageTitle);
1677  }
1678 
1680  {
1681  $I = $this;
1682  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddBlockPage);
1683  $I->see('New Block', self::$adminPageTitle);
1684  }
1685 
1687  {
1688  $I = $this;
1689  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminWidgetsGrid);
1690  $I->see('Widgets', self::$adminPageTitle);
1691  }
1692 
1694  {
1695  $I = $this;
1696  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddWidgetPage);
1697  $I->see('Widgets', self::$adminPageTitle);
1698  }
1699 
1701  {
1702  $I = $this;
1703  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminDesignConfigurationGrid);
1704  $I->see('Design Configuration', self::$adminPageTitle);
1705  }
1706 
1708  {
1709  $I = $this;
1710  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminThemesGrid);
1711  $I->see('Themes', self::$adminPageTitle);
1712  }
1713 
1714  public function shouldBeOnTheAdminThemeByIdPage($themeId, $themeTitle)
1715  {
1716  $I = $this;
1717  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminThemeByIdPage . $themeId));
1718  $I->see($themeTitle);
1719  }
1720 
1722  {
1723  $I = $this;
1724  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminStoreContentScheduleGrid);
1725  $I->see('Store Design Schedule', self::$adminPageTitle);
1726  }
1727 
1728  public function shouldBeOnTheAdminStoreContentScheduleForIdPage($storeContentScheduleId)
1729  {
1730  $I = $this;
1731  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminStoreContentScheduleForIdPage . $storeContentScheduleId));
1732  $I->see('Edit Store Design Change', self::$adminPageTitle);
1733  }
1734 
1736  {
1737  $I = $this;
1738  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddStoreDesignChangePage);
1739  $I->see('New Store Design Change');
1740  }
1741 
1742  // Reports
1744  {
1745  $I = $this;
1746  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductsInCartGrid);
1747  $I->see('Products in Carts', self::$adminPageTitle);
1748  }
1749 
1751  {
1752  $I = $this;
1753  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminSearchTermsReportGrid);
1754  $I->see('Search Terms Report', self::$adminPageTitle);
1755  }
1756 
1758  {
1759  $I = $this;
1760  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAbandonedCartsGrid);
1761  $I->see('Abandoned Carts', self::$adminPageTitle);
1762  }
1763 
1765  {
1766  $I = $this;
1767  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewsletterProblemsReportGrid);
1768  $I->see('Newsletter Problems Report', self::$adminPageTitle);
1769  }
1770 
1772  {
1773  $I = $this;
1774  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomerReviewsReportGrid);
1775  $I->see('Customer Reviews Report', self::$adminPageTitle);
1776  }
1777 
1779  {
1780  $I = $this;
1781  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductReviewsReportGrid);
1782  $I->see('Product Reviews Report', self::$adminPageTitle);
1783  }
1784 
1786  {
1787  $I = $this;
1788  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductReviewsForProductIdPage . $productId));
1789  $I->see('Reviews', self::$adminPageTitle);
1790  }
1791 
1793  {
1794  $I = $this;
1795  $I->seeInCurrentUrl(('/admin/review/product/edit/id/' . $productReviewId . '/productId/' . $productId));
1796  $I->see('Edit Review', self::$adminPageTitle);
1797  }
1798 
1800  {
1801  $I = $this;
1802  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrdersReportGrid);
1803  $I->see('Orders Report', self::$adminPageTitle);
1804  }
1805 
1807  {
1808  $I = $this;
1809  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxReportGrid);
1810  $I->see('Tax Report', self::$adminPageTitle);
1811  }
1812 
1814  {
1815  $I = $this;
1816  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminInvoiceReportGrid);
1817  $I->see('Invoice Report', self::$adminPageTitle);
1818  }
1819 
1821  {
1822  $I = $this;
1823  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminShippingReportGrid);
1824  $I->see('Shipping Report', self::$adminPageTitle);
1825  }
1826 
1828  {
1829  $I = $this;
1830  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminRefundsReportGrid);
1831  $I->see('Refunds Report', self::$adminPageTitle);
1832  }
1833 
1835  {
1836  $I = $this;
1837  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCouponsReportGrid);
1838  $I->see('Coupons Report', self::$adminPageTitle);
1839  }
1840 
1842  {
1843  $I = $this;
1844  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminPayPalSettlementReportsGrid);
1845  $I->see('PayPal Settlement Reports', self::$adminPageTitle);
1846  }
1847 
1849  {
1850  $I = $this;
1851  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBraintreeSettlementReportGrid);
1852  $I->see('Braintree Settlement Report', self::$adminPageTitle);
1853  }
1854 
1856  {
1857  $I = $this;
1858  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderTotalReportGrid);
1859  $I->see('Order Total Report', self::$adminPageTitle);
1860  }
1861 
1863  {
1864  $I = $this;
1865  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderCountReportGrid);
1866  $I->see('Order Count Report', self::$adminPageTitle);
1867  }
1868 
1870  {
1871  $I = $this;
1872  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNewAccountsReportGrid);
1873  $I->see('New Accounts Report', self::$adminPageTitle);
1874  }
1875 
1877  {
1878  $I = $this;
1879  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductViewsReportGrid);
1880  $I->see('Product Views Report', self::$adminPageTitle);
1881  }
1882 
1884  {
1885  $I = $this;
1886  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBestsellersReportGrid);
1887  $I->see('Bestsellers Report', self::$adminPageTitle);
1888  }
1889 
1891  {
1892  $I = $this;
1893  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminLowStockReportGrid);
1894  $I->see('Low Stock Report', self::$adminPageTitle);
1895  }
1896 
1898  {
1899  $I = $this;
1900  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderedProductsReportGrid);
1901  $I->see('Ordered Products Report', self::$adminPageTitle);
1902  }
1903 
1905  {
1906  $I = $this;
1907  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminDownloadsReportGrid);
1908  $I->see('Downloads Report', self::$adminPageTitle);
1909  }
1910 
1912  {
1913  $I = $this;
1914  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminRefreshStatisticsGrid);
1915  $I->see('Refresh Statistics', self::$adminPageTitle);
1916  }
1917 
1918  // Stores
1920  {
1921  $I = $this;
1922  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAllStoresGrid);
1923  $I->see('Stores', self::$adminPageTitle);
1924  }
1925 
1927  {
1928  $I = $this;
1929  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreateStoreViewPage);
1930  $I->see('Stores', self::$adminPageTitle);
1931  }
1932 
1934  {
1935  $I = $this;
1936  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreateStorePage);
1937  $I->see('Stores', self::$adminPageTitle);
1938  }
1939 
1941  {
1942  $I = $this;
1943  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCreateWebsitePage);
1944  $I->see('Stores');
1945  }
1946 
1948  {
1949  $I = $this;
1950  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminWebsiteByIdPage . $websiteId));
1951  }
1952 
1953  public function shouldBeOnTheAdminStoreViewForIdPage($storeViewId)
1954  {
1955  $I = $this;
1956  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminStoreViewByIdPage . $storeViewId));
1957  }
1958 
1960  {
1961  $I = $this;
1962  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminStoreByIdPage . $storeId));
1963  }
1964 
1966  {
1967  $I = $this;
1968  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminConfigurationGrid);
1969  $I->see('Configuration', self::$adminPageTitle);
1970  }
1971 
1973  {
1974  $I = $this;
1975  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTermsAndConditionsGrid);
1976  $I->see('Terms and Conditions', self::$adminPageTitle);
1977  }
1978 
1979  public function shouldBeOnTheAdminTermsAndConditionForIdPage($termsAndConditionsId, $conditionName)
1980  {
1981  $I = $this;
1982  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTermsAndConditionByIdPage . $termsAndConditionsId));
1983  $I->see($conditionName, self::$adminPageTitle);
1984  }
1985 
1987  {
1988  $I = $this;
1989  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddNewTermsAndConditionPage);
1990  $I->see('New Condition', self::$adminPageTitle);
1991  }
1992 
1994  {
1995  $I = $this;
1996  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminOrderStatusGrid);
1997  $I->see('Order Status', self::$adminPageTitle);
1998  }
1999 
2001  {
2002  $I = $this;
2003  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddOrderStatusPage);
2004  $I->see('Create New Order Status', self::$adminPageTitle);
2005  }
2006 
2008  {
2009  $I = $this;
2010  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxRulesGrid);
2011  $I->see('Tax Rules', self::$adminPageTitle);
2012  }
2013 
2014  public function shouldBeOnTheAdminTaxRuleForIdPage($taxRuleId, $taxRuleName)
2015  {
2016  $I = $this;
2017  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxRuleByIdPage . $taxRuleId));
2018  $I->see($taxRuleName, self::$adminPageTitle);
2019  }
2020 
2022  {
2023  $I = $this;
2024  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddTaxRulePage);
2025  $I->see('New Tax Rule', self::$adminPageTitle);
2026  }
2027 
2029  {
2030  $I = $this;
2031  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxZonesAndRatesGrid);
2032  $I->see('Tax Zones and Rates', self::$adminPageTitle);
2033  }
2034 
2035  public function shouldBeOnTheAdminTaxZoneAndRateForIdPage($taxZoneAndRateId, $taxIdentifier)
2036  {
2037  $I = $this;
2038  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminTaxZoneAndRateByIdPage . $taxZoneAndRateId));
2039  $I->see($taxIdentifier, self::$adminPageTitle);
2040  }
2041 
2043  {
2044  $I = $this;
2045  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddTaxZoneAndRatePage);
2046  $I->see('New Tax Rate', self::$adminPageTitle);
2047  }
2048 
2050  {
2051  $I = $this;
2052  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCurrencyRatesPage);
2053  $I->see('Currency Rates', self::$adminPageTitle);
2054  }
2055 
2057  {
2058  $I = $this;
2059  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCurrencySymbolsPage);
2060  $I->see('Currency Symbols', self::$adminPageTitle);
2061  }
2062 
2064  {
2065  $I = $this;
2066  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductAttributesGrid);
2067  $I->see('Product Attributes', self::$adminPageTitle);
2068  }
2069 
2070  public function shouldBeOnTheAdminProductAttributeForIdPage($productAttributeId, $productAttributeDefaultLabel)
2071  {
2072  $I = $this;
2073  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminProductAttributeForIdPage . $productAttributeId));
2074  $I->see($productAttributeDefaultLabel, self::$adminPageTitle);
2075  }
2076 
2078  {
2079  $I = $this;
2080  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddProductAttributePage);
2081  $I->see('New Product Attribute', self::$adminPageTitle);
2082  }
2083 
2085  {
2086  $I = $this;
2087  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAttributeSetsGrid);
2088  $I->see('Attribute Sets', self::$adminPageTitle);
2089  }
2090 
2091  public function shouldBeOnTheAdminAttributeSetByIdPage($attributeSetId, $attributeSetName)
2092  {
2093  $I = $this;
2094  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAttributeSetByIdPage . $attributeSetId));
2095  $I->see($attributeSetName, self::$adminPageTitle);
2096  }
2097 
2099  {
2100  $I = $this;
2101  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddAttributeSetPage);
2102  $I->see('New Attribute Set', self::$adminPageTitle);
2103  }
2104 
2106  {
2107  $I = $this;
2108  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminRatingsGrid);
2109  $I->see('Ratings', self::$adminPageTitle);
2110  }
2111 
2112  public function shouldBeOnTheAdminRatingForIdPage($ratingId, $ratingDefaultValue)
2113  {
2114  $I = $this;
2115  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminRatingForIdPage . $ratingId));
2116  $I->see($ratingDefaultValue, self::$adminPageTitle);
2117  }
2118 
2120  {
2121  $I = $this;
2122  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddRatingPage);
2123  $I->see('New Rating', self::$adminPageTitle);
2124  }
2125 
2127  {
2128  $I = $this;
2129  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomerGroupsGrid);
2130  $I->see('Customer Groups', self::$adminPageTitle);
2131  }
2132 
2133  public function shouldBeOnTheAdminCustomerGroupForIdPage($customerGroupId, $customerGroupName)
2134  {
2135  $I = $this;
2136  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomerGroupByIdPage . $customerGroupId));
2137  $I->see($customerGroupName, self::$adminPageTitle);
2138  }
2139 
2141  {
2142  $I = $this;
2143  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCustomerGroupPage);
2144  $I->see('New Customer Group', self::$adminPageTitle);
2145  }
2146 
2147  // System
2149  {
2150  $I = $this;
2151  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminImportPage);
2152  $I->see('Import', self::$adminPageTitle);
2153  }
2154 
2156  {
2157  $I = $this;
2158  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminExportPage);
2159  $I->see('Export', self::$adminPageTitle);
2160  }
2161 
2163  {
2164  $I = $this;
2165  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminImportAndExportTaxRatesPage);
2166  $I->see('Import and Export Tax Rates', self::$adminPageTitle);
2167  }
2168 
2170  {
2171  $I = $this;
2172  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminImportHistoryGrid);
2173  $I->see('Import History', self::$adminPageTitle);
2174  }
2175 
2177  {
2178  $I = $this;
2179  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminIntegrationsGrid);
2180  $I->see('Integrations', self::$adminPageTitle);
2181  }
2182 
2183  public function shouldBeOnTheAdminIntegrationForIdPage($integrationId, $integrationName)
2184  {
2185  $I = $this;
2186  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminIntegrationByIdPage . $integrationId));
2187  $I->see('Edit', self::$adminPageTitle);
2188  $I->see($integrationName, self::$adminPageTitle);
2189  $I->see('Integration', self::$adminPageTitle);
2190  }
2191 
2193  {
2194  $I = $this;
2195  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddIntegrationPage);
2196  $I->see('New Integration', self::$adminPageTitle);
2197  }
2198 
2200  {
2201  $I = $this;
2202  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCacheManagementGrid);
2203  $I->see('Cache Management', self::$adminPageTitle);
2204  }
2205 
2207  {
2208  $I = $this;
2209  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminBackupsGrid);
2210  $I->see('Backups', self::$adminPageTitle);
2211  }
2212 
2214  {
2215  $I = $this;
2216  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminIndexManagementGrid);
2217  $I->see('Index Management', self::$adminPageTitle);
2218  }
2219 
2221  {
2222  $I = $this;
2223  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminWebSetupWizardPage);
2224  $I->see('Setup Wizard', self::$adminPageTitle);
2225  }
2226 
2228  {
2229  $I = $this;
2230  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAllUsersGrid);
2231  $I->see('Users', self::$adminPageTitle);
2232  }
2233 
2234  public function shouldBeOnTheAdminUserForIdPage($userId, $userFirstAndLastName)
2235  {
2236  $I = $this;
2237  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminUserByIdPage . $userId));
2238  $I->see($userFirstAndLastName, self::$adminPageTitle);
2239  }
2240 
2242  {
2243  $I = $this;
2244  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddNewUserPage);
2245  $I->see('New User', self::$adminPageTitle);
2246  }
2247 
2249  {
2250  $I = $this;
2251  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminLockedUsersGrid);
2252  $I->see('Locked Users', self::$adminPageTitle);
2253  }
2254 
2256  {
2257  $I = $this;
2258  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminUserRolesGrid);
2259  $I->see('Roles', self::$adminPageTitle);
2260  }
2261 
2262  public function shouldBeOnTheAdminUserRoleForIdPage($userRoleId, $userRoleName)
2263  {
2264  $I = $this;
2265  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminUserRoleByIdPage . $userRoleId));
2266  $I->see($userRoleName, self::$adminPageTitle);
2267  }
2268 
2270  {
2271  $I = $this;
2272  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddUserRolePage);
2273  $I->see('New Role', self::$adminPageTitle);
2274  }
2275 
2277  {
2278  $I = $this;
2279  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminNotificationsGrid);
2280  $I->see('Notifications', self::$adminPageTitle);
2281  }
2282 
2284  {
2285  $I = $this;
2286  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomVariablesGrid);
2287  $I->see('Custom Variables', self::$adminPageTitle);
2288  }
2289 
2290  public function shouldBeOnTheAdminCustomVariableForId($customVariableId, $customVariableCode)
2291  {
2292  $I = $this;
2293  $I->seeInCurrentUrl((\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminCustomVariableByIdPage . $customVariableId));
2294  $I->see($customVariableCode, self::$adminPageTitle);
2295  }
2296 
2298  {
2299  $I = $this;
2300  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminAddCustomVariablePage);
2301  $I->see('New Custom Variable', self::$adminPageTitle);
2302  }
2303 
2305  {
2306  $I = $this;
2307  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminEncryptionKeyPage);
2308  $I->see('Encryption Key', self::$adminPageTitle);
2309  }
2310 
2312  $I = $this;
2313  $I->seeInCurrentUrl(\Magento\FunctionalTestingFramework\Helper\AdminUrlList::$adminFindPartnersAndExtensions);
2314  $I->see('Magento Marketplace', self::$adminPageTitle);
2315  }
2316 }
shouldBeOnTheAdminIntegrationForIdPage($integrationId, $integrationName)
Definition: AdminStep.php:2183
shouldBeOnTheAdminRatingForIdPage($ratingId, $ratingDefaultValue)
Definition: AdminStep.php:2112
shouldBeOnTheAdminCategoryForIdPage($categoryId, $categoryName)
Definition: AdminStep.php:1389
shouldBeOnTheAdminSearchTermForIdPage($searchTermId, $searchQuery)
Definition: AdminStep.php:1566
goToTheAdminStoreContentScheduleForIdPage($storeContentScheduleId)
Definition: AdminStep.php:629
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60
shouldBeOnTheAdminEmailTemplateForIdPage($emailTemplateId, $templateName)
Definition: AdminStep.php:1489
shouldBeOnTheAdminCustomVariableForId($customVariableId, $customVariableCode)
Definition: AdminStep.php:2290
shouldBeOnTheAdminNewsletterTemplateByIdPage($newsletterTemplateId, $templateName)
Definition: AdminStep.php:1510
shouldBeOnTheAdminCustomerGroupForIdPage($customerGroupId, $customerGroupName)
Definition: AdminStep.php:2133
shouldBeOnTheAdminStoreContentScheduleForIdPage($storeContentScheduleId)
Definition: AdminStep.php:1728
shouldBeOnTheAdminCatalogPriceRuleForIdPage($catalogPriceRuleId, $catalogPriceRuleName)
Definition: AdminStep.php:1447
shouldBeOnTheAdminAttributeSetByIdPage($attributeSetId, $attributeSetName)
Definition: AdminStep.php:2091
$fileName
Definition: translate.phtml:15
shouldBeOnTheAdminUserForIdPage($userId, $userFirstAndLastName)
Definition: AdminStep.php:2234
shouldBeOnTheAdminTermsAndConditionForIdPage($termsAndConditionsId, $conditionName)
Definition: AdminStep.php:1979
shouldBeOnTheAdminSearchSynonymGroupByIdPage($searchSynonymId, $synonyms)
Definition: AdminStep.php:1587
goToTheAdminProductReviewIdForProductIdPage($productReviewId, $productId)
Definition: AdminStep.php:693
shouldBeOnTheAdminProductReviewIdForProductIdPage($productReviewId, $productId)
Definition: AdminStep.php:1792
shouldBeOnTheAdminUserRoleForIdPage($userRoleId, $userRoleName)
Definition: AdminStep.php:2262
shouldBeOnTheAdminProductAttributeForIdPage($productAttributeId, $productAttributeDefaultLabel)
Definition: AdminStep.php:2070
shouldBeOnTheAdminCustomerForIdPage($customerId, $customerName)
Definition: AdminStep.php:1425
shouldBeOnTheAdminCartPriceRuleForIdPage($cartPriceRuleId, $cartPriceRuleName)
Definition: AdminStep.php:1468
shouldBeOnTheAdminTaxZoneAndRateForIdPage($taxZoneAndRateId, $taxIdentifier)
Definition: AdminStep.php:2035