Skip to content

Commit

Permalink
EZP-29117: fix build (#450)
Browse files Browse the repository at this point in the history
* EZP-29117: Change selectors

* EZP-29117: Add Travis notifications
  • Loading branch information
mnocon authored and Łukasz Serwatka committed Apr 25, 2018
1 parent 00afb09 commit d12baa0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ branches:
- master
- /^\d+\.\d+$/

notifications:
slack:
on_success: change
on_failure: always
secure: P0Qir+iYhFgO/PLIR3DucuqwBxYaZ0Avkq8auPEgZOHtlSSyHpm0sRUJqaw0s49ClUfn2NhOC8KXVv13O0Ngzh6Ue/NvzMsIX97oU8JqczGV6LT7Z2nsWFpV1hDlgC0bM6W/dl2Vj6zTK24gNaFFD8P+TbYOeAvLArlFl9nfqhJ/jh1ztBtjcsDPVs0LZu+aQp/XBQzENtRSiR7u7nFlVuSbzR9zY376t8LZyy2Re4ynef7EiXimLA2wSKMb9ID8h1pj1p0vx1Ts3DMLpOlKJaSeEsvneqLRyGA/OB+nfQlAASQYhplKs5gJBiMrhSi/9kLo+LdqiMEdJsvpq/mO5qR0r3e4Jnq0utW0kTPAwuOfS+Oh4XpZhbfpwokQmTgjbPDpt79q0Dzjz+veUep96Kj1DBxcxpSCjk9xJZWYbR1RPgDJmK9FRQJYWJHcj//U5ilup9SJ/AgiHcu4hsa109lc+0znTQOjXhXa1Y7Z5jr44T3h3lypq393uVMUUHogav/kv2tpLwu05RMzJ8VMT03aHSCtAGvgDf5IJOIOL/P2vRpoLCc/iFukzOuAYNxDQ60Us8Ej2xKhCp3r0ETM73PsBPvUTGzL31uaQ+LRYy1067HIUFtepBT7bVwmuCI5oRCSvRQpZeku9mw6On0B+JJLRSajh9MP6c4tB+yza4Y=

install:
# Disable XDebug for performance
- phpenv config-rm xdebug.ini
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Behat/PageElement/AdminList.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct(UtilityContext $context, string $listHeader, string
$this->listHeader = $listHeader;
$this->fields = [
'list' => $containerLocator,
'listHeader' => '.ez-table-header__headline, header h5',
'listHeader' => '.ez-table-header .ez-table-header__headline, header .ez-table__headline, header h5',
'plusButton' => '.ez-icon-create',
'trashButton' => '.ez-icon-trash,button[title^="Delete"]',
'mainAssignButton' => '.ez-table-header [title^=Assign]',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Behat/PageElement/DoubleHeaderTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DoubleHeaderTable extends Table
public function __construct(UtilityContext $context, $containerLocator)
{
parent::__construct($context, $containerLocator);
$this->fields['horizontalHeaders'] = $this->fields['list'] . ' .ez-table-header + .table thead th, .ez-table-header + form thead th';
$this->fields['horizontalHeaders'] = $this->fields['list'] . ' .ez-table__header + .table thead th';
$this->fields['insideHeaders'] = $this->fields['list'] . ' thead+ tbody th';
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Behat/PageElement/SimpleTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SimpleTable extends Table
public function __construct(UtilityContext $context, $containerLocator)
{
parent::__construct($context, $containerLocator);
$this->fields['horizontalHeaders'] = $this->fields['list'] . ' .ez-table-header + .table thead th, .ez-table-header + form thead th';
$this->fields['horizontalHeaders'] = sprintf('%1$s .ez-table__header + .table thead th, %1$s .ez-table-header + .table thead th, .ez-table-header + form thead th', $this->fields['list']);
$this->fields['listElement'] = $this->fields['list'] . ' td:nth-child(1)';
}

Expand Down

0 comments on commit d12baa0

Please sign in to comment.