当前位置: 首页>>代码示例>>PHP>>正文


PHP SymfonyPage::getDefinedElements方法代码示例

本文整理汇总了PHP中Sylius\Behat\Page\SymfonyPage::getDefinedElements方法的典型用法代码示例。如果您正苦于以下问题:PHP SymfonyPage::getDefinedElements方法的具体用法?PHP SymfonyPage::getDefinedElements怎么用?PHP SymfonyPage::getDefinedElements使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Sylius\Behat\Page\SymfonyPage的用法示例。


在下文中一共展示了SymfonyPage::getDefinedElements方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['instructions' => '#sylius-payment-method-instructions', 'thank_you' => '#sylius-thank-you']);
 }
开发者ID:starspire,项目名称:Sylius,代码行数:7,代码来源:ThankYouPage.php

示例2: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['address' => '.steps a:contains("Address")', 'checkout_subtotal' => '#checkout-subtotal', 'next_step' => '#next-step', 'order_cannot_be_shipped_message' => '#sylius-order-cannot-be-shipped', 'shipment' => '.items', 'shipping_method' => '[name="sylius_checkout_select_shipping[shipments][0][method]"]', 'shipping_method_fee' => '.item:contains("%shipping_method%") .fee', 'shipping_method_select' => '.item:contains("%shipping_method%") > .field > .ui.radio.checkbox', 'shipping_method_option' => '.item:contains("%shipping_method%") input', 'warning_no_shipping_methods' => '#sylius-order-cannot-be-shipped']);
 }
开发者ID:Niiko,项目名称:Sylius,代码行数:7,代码来源:SelectShippingPage.php

示例3: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['association' => 'h4:contains("%association-name%")', 'attributes' => '#sylius-product-attributes', 'average_rating' => '#average-rating', 'main_image' => '#main-image', 'name' => '#sylius-product-name', 'option_select' => '#sylius_cart_item_variant_%option-name%', 'out_of_stock' => '#sylius-product-out-of-stock', 'product_price' => '#product-price', 'reviews' => '[data-tab="reviews"] .comments', 'selecting_variants' => "#sylius-product-selecting-variant", 'validation_errors' => '.sylius-validation-error', 'variant_radio' => '#sylius-product-variants tbody tr:contains("%variant-name%") input']);
 }
开发者ID:loic425,项目名称:Sylius,代码行数:7,代码来源:ShowPage.php

示例4: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['attributes' => '#sylius-product-attributes', 'name' => '#sylius-product-name', 'out-of-stock' => '#sylius-product-out-of-stock', 'product_price' => '#product-price', 'selecting-variants' => "#sylius-product-selecting-variant", 'validation-errors' => '.sylius-validation-error']);
 }
开发者ID:ReissClothing,项目名称:Sylius,代码行数:7,代码来源:ShowPage.php

示例5: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['delete account button' => '.delete-action-form']);
 }
开发者ID:rpg600,项目名称:Sylius,代码行数:7,代码来源:ShowPage.php

示例6: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['addressing_step_label' => '.steps a:contains("Addressing")', 'billing_address' => '#addresses div:contains("Billing address") address', 'extra_notes' => '#sylius_checkout_summary_notes', 'items_table' => '#items table', 'order_total' => 'td:contains("Total")', 'payment_method' => '#sylius-checkout-summary-payment-method', 'payment_step_label' => '.steps a:contains("Payment")', 'product_row' => 'tbody tr:contains("%name%")', 'promotion_discounts' => '#promotion-discounts', 'promotion_total' => '#promotion-total', 'shipping_address' => '#addresses div:contains("Shipping address") address', 'shipping_method' => '#sylius-checkout-summary-shipping-method', 'shipping_step_label' => '.steps a:contains("Shipping")', 'shipping_total' => '#shipping-total', 'tax_total' => '#tax-total']);
 }
开发者ID:remyma,项目名称:Sylius,代码行数:7,代码来源:SummaryPage.php

示例7: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['billing_address' => '#billing-address', 'currency' => '#sylius-order-currency', 'customer' => '#customer', 'ip_address' => '#ipAddress', 'items_total' => '#items-total', 'order_notes' => '#sylius-order-notes', 'order_payment_state' => '#payment-state > span', 'order_state' => '#sylius-order-state', 'payments' => '#sylius-payments', 'promotion_discounts' => '#promotion-discounts', 'promotion_total' => '#promotion-total', 'shipments' => '#sylius-shipments', 'shipping_address' => '#shipping-address', 'shipping_charges' => '#shipping-charges', 'shipping_total' => '#shipping-total', 'table' => '.table', 'tax_total' => '#tax-total', 'taxes' => '#taxes', 'total' => '#total']);
 }
开发者ID:sylius,项目名称:sylius,代码行数:7,代码来源:ShowPage.php

示例8: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['code' => '#sylius_product_generate_variants_variants_%position%_code', 'price' => '#sylius_product_generate_variants_variants_%position%_channelPricings [data-form-collection="item"]:contains("%channel%") input', 'prices_validation_message' => '#sylius_product_generate_variants_variants_%position%_channelPricings ~ .sylius-validation-error']);
 }
开发者ID:sylius,项目名称:sylius,代码行数:7,代码来源:GeneratePage.php

示例9: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['apply_coupon_button' => 'button:contains("Apply coupon")', 'cart_items' => '#sylius-cart-items', 'cart_total' => '#sylius-cart-button', 'clear_button' => '#sylius-cart-clear', 'coupon_field' => '#sylius_cart_promotionCoupon', 'grand_total' => '#sylius-cart-grand-total', 'product_discounted_total' => '#sylius-cart-items tr:contains("%name%") .sylius-discounted-total', 'product_row' => '#sylius-cart-items tbody tr:contains("%name%")', 'product_total' => '#sylius-cart-items tr:contains("%name%") .sylius-total', 'product_unit_price' => '#sylius-cart-items tr:contains("%name%") .sylius-unit-price', 'product_unit_regular_price' => '#sylius-cart-items tr:contains("%name%") .sylius-regular-unit-price', 'promotion_total' => '#sylius-cart-promotion-total', 'save_button' => '#sylius-save', 'shipping_total' => '#sylius-cart-shipping-total', 'tax_total' => '#sylius-cart-tax-total', 'update_button' => '#sylius-cart-update', 'validation_errors' => '.sylius-validation-error']);
 }
开发者ID:origammi,项目名称:Sylius,代码行数:7,代码来源:SummaryPage.php

示例10: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['billing_address' => '#billing-address', 'number' => '#number', 'order_items' => '#sylius-order', 'payments' => '#payments', 'product_price' => '#sylius-order td:nth-child(2)', 'shipping_address' => '#shipping-address', 'subtotal' => '#subtotal', 'total' => '#total']);
 }
开发者ID:gabiudrescu,项目名称:Sylius,代码行数:7,代码来源:ShowPage.php

示例11: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['amount' => '#sylius_promotion_coupon_generate_instruction_amount', 'usage_limit' => '#sylius_promotion_coupon_generate_instruction_usageLimit', 'expires_at' => '#sylius_promotion_coupon_generate_instruction_expiresAt', 'code_length' => '#sylius_promotion_coupon_generate_instruction_codeLength', 'form' => '.two.column.stackable.grid']);
 }
开发者ID:ReissClothing,项目名称:Sylius,代码行数:7,代码来源:GeneratePage.php

示例12: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['currency_selector' => '#sylius-currency-selector', 'locale_selector' => '#sylius-locale-selector', 'logout_button' => '.sylius-logout-button', 'full_name' => '.right.menu .item']);
 }
开发者ID:Niiko,项目名称:Sylius,代码行数:7,代码来源:HomePage.php

示例13: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['billing_address' => '#billing-address', 'customer' => '#customer', 'items_total' => '#items-total', 'payments' => '#payments', 'promotion_discounts' => '#promotion-discounts', 'promotion_total' => '#promotion-total', 'shipments' => '#shipments', 'shipping_address' => '#shipping-address', 'shipping_charges' => '#shipping-charges', 'shipping_total' => '#shipping-total', 'table' => '.table', 'tax_total' => '#tax-total', 'taxes' => '#taxes', 'total' => '#total', 'order_state' => 'div.sub.header > span.ui.label', 'order_notes' => '#sylius-order-notes']);
 }
开发者ID:ReissClothing,项目名称:Sylius,代码行数:7,代码来源:ShowPage.php

示例14: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['addressing_step_label' => '.steps a:contains("Address")', 'billing_address' => '#billing-address', 'extra_notes' => '#sylius_checkout_complete_notes', 'items_table' => '#sylius-order', 'currency' => '#currency', 'locale' => '#locale', 'order_total' => 'td:contains("Total")', 'payment_method' => '#payment-method', 'payment_step_label' => '.steps a:contains("Payment")', 'product_row' => 'tbody tr:contains("%name%")', 'promotion_discounts' => '#promotion-discounts', 'promotion_total' => '#promotion-total', 'shipping_address' => '#shipping-address', 'shipping_method' => '#shipping-method', 'shipping_step_label' => '.steps a:contains("Shipping")', 'shipping_total' => '#shipping-total', 'tax_total' => '#tax-total', 'validation_errors' => '.sylius-validation-error']);
 }
开发者ID:ReissClothing,项目名称:Sylius,代码行数:7,代码来源:CompletePage.php

示例15: getDefinedElements

 /**
  * {@inheritdoc}
  */
 protected function getDefinedElements()
 {
     return array_merge(parent::getDefinedElements(), ['billing_address_book' => '#sylius-billing-address .ui.dropdown', 'billing_first_name' => '#sylius_checkout_address_billingAddress_firstName', 'billing_last_name' => '#sylius_checkout_address_billingAddress_lastName', 'billing_street' => '#sylius_checkout_address_billingAddress_street', 'billing_city' => '#sylius_checkout_address_billingAddress_city', 'billing_country' => '#sylius_checkout_address_billingAddress_countryCode', 'billing_country_province' => '[name="sylius_checkout_address[billingAddress][provinceCode]"]', 'billing_postcode' => '#sylius_checkout_address_billingAddress_postcode', 'billing_province' => '[name="sylius_checkout_address[billingAddress][provinceName]"]', 'checkout_subtotal' => '#sylius-checkout-subtotal', 'customer_email' => '#sylius_checkout_address_customer_email', 'different_billing_address' => '#sylius_checkout_address_differentBillingAddress', 'different_billing_address_label' => '#sylius_checkout_address_differentBillingAddress ~ label', 'login_button' => '#sylius-api-login-submit', 'login_password' => 'input[type=\'password\']', 'next_step' => '#next-step', 'shipping_address_book' => '#sylius-shipping-address .ui.dropdown', 'shipping_city' => '#sylius_checkout_address_shippingAddress_city', 'shipping_country' => '#sylius_checkout_address_shippingAddress_countryCode', 'shipping_country_province' => '[name="sylius_checkout_address[shippingAddress][provinceCode]"]', 'shipping_first_name' => '#sylius_checkout_address_shippingAddress_firstName', 'shipping_last_name' => '#sylius_checkout_address_shippingAddress_lastName', 'shipping_postcode' => '#sylius_checkout_address_shippingAddress_postcode', 'shipping_province' => '[name="sylius_checkout_address[shippingAddress][provinceName]"]', 'shipping_street' => '#sylius_checkout_address_shippingAddress_street']);
 }
开发者ID:sylius,项目名称:sylius,代码行数:7,代码来源:AddressPage.php


注:本文中的Sylius\Behat\Page\SymfonyPage::getDefinedElements方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。