Conditions | 1 |
Paths | 1 |
Total Lines | 23 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | public function configureModule() |
||
33 | { |
||
34 | // Click on edit |
||
35 | $button = WebDriverBy::id('tdb2'); |
||
36 | $condition = WebDriverExpectedCondition::visibilityOfElementLocated($button); |
||
37 | $this->waitUntil($condition); |
||
38 | $this->findById('tdb2')->click(); |
||
39 | |||
40 | $this->findByName('configuration[MODULE_PAYMENT_PAGANTIS_PK]') |
||
41 | ->clear() |
||
42 | ->sendKeys($this->configuration['publicKey']) |
||
43 | ; |
||
44 | |||
45 | $this->findByName('configuration[MODULE_PAYMENT_PAGANTIS_SK]') |
||
46 | ->clear() |
||
47 | ->sendKeys($this->configuration['secretKey']) |
||
48 | ; |
||
49 | |||
50 | // click on Save |
||
51 | $button = WebDriverBy::id('tdb2'); |
||
52 | $condition = WebDriverExpectedCondition::visibilityOfElementLocated($button); |
||
53 | $this->waitUntil($condition); |
||
54 | $this->findById('tdb2')->click(); |
||
55 | } |
||
57 |