Passed
Push — develop ( 28c299...928e2a )
by Mathias
12:40
created

CvContext   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 2
dl 0
loc 22
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * YAWIK
4
 *
5
 * @filesource
6
 * @license MIT
7
 * @copyright  2013 - 2017 Cross Solution <http://cross-solution.de>
8
 */
9
10
namespace Yawik\Behat;
11
12
13
use Behat\Behat\Context\Context;
14
15
/**
16
 * Class CvContext
17
 *
18
 * @author Anthonius Munthi <[email protected]>
19
 *
20
 * @since   0.29
21
 * @package Yawik\Behat
22
 */
23
class CvContext implements Context
24
{
25
	use CommonContextTrait;
26
	
27
	
28
	/**
29
	 * @Given I go to manage my resume page
30
	 */
31
	public function iGoToManageResumePage()
32
	{
33
	    $url = $this->buildUrl('lang/my-cv');
34
		$this->visit($url);
35
	}
36
	
37
	/**
38
	 * @When I click edit on my personal information
39
	 */
40
	public function iClickEditOnPersonalInformations()
41
	{
42
		$this->summaryFormContext->iClickEditOnForm('resumePersonalInformations');
43
	}
44
}
45