Lines of Code | 19 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /** |
||
4 | import { CustomerFlow as Base } from 'wc-e2e-page-objects'; |
||
5 | |||
6 | /** |
||
7 | * Internal dependencies |
||
8 | */ |
||
9 | import CheckoutPage from './checkout-page.js'; |
||
10 | |||
11 | export default class CustomerFlow extends Base { |
||
12 | constructor( driver, args = {} ) { |
||
13 | super( driver, args ); |
||
14 | } |
||
15 | |||
16 | openCheckout() { |
||
17 | return this.open( { |
||
18 | object: CheckoutPage, |
||
19 | path: '/checkout' |
||
20 | } ); |
||
21 | } |
||
22 | } |
||
23 |