use Xenial on Travis (#1201)

* small changes

* forgot file

* use travis xenial

* delete commented line

* revert unrelated changes
This commit is contained in:
Adina Parpalita 2019-09-12 09:53:29 +03:00 committed by Suzana Dirla
parent d67f95cfff
commit 10592b664a
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,8 @@
dist: trusty
dist: xenial
sudo: required
services:
- docker
- xvfb
addons:
chrome: stable
language: node_js
@ -16,7 +17,6 @@ before_install:
- sudo /etc/init.d/postgresql stop
- npm install -g npm@latest
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
stages:

View File

@ -53,7 +53,7 @@ export class Breadcrumb extends Component {
}
async getAllItems() {
return this.items.map(async elem => {
return this.items.map(async (elem: ElementFinder) => {
const str = await elem.getText();
return str.split('\nchevron_right')[0];
});