File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Onepage Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \Checkout \Test \Block \Onepage ;
8
8
9
- use Magento \Mtf \Client \Locator ;
10
-
11
9
/**
12
10
* One page checkout status review block.
13
11
*/
14
12
class Review extends AbstractReview
15
13
{
16
- /**
17
- * Review gift card line locator.
18
- *
19
- * @var string
20
- */
21
- private $ giftCardTotalSelector = '//div[contains(@class, "opc-block-summary")]//tr[contains(@class, "giftcard")] ' ;
22
-
23
- /**
24
- * Return if gift card is applied.
25
- *
26
- * @return bool
27
- */
28
- public function isGiftCardApplied ()
29
- {
30
- $ this ->waitForElementNotVisible ($ this ->waitElement );
31
14
32
- return $ this ->_rootElement ->find ($ this ->giftCardTotalSelector , Locator::SELECTOR_XPATH )->isVisible ();
33
- }
34
15
}
You can’t perform that action at this time.
0 commit comments