Revert "use Xenial on Travis (#1201)"

This reverts commit 10592b664a.
This commit is contained in:
Suzana Dirla
2019-09-12 10:09:05 +03:00
committed by GitHub
parent 10592b664a
commit 636693bd38
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,7 @@
dist: xenial
dist: trusty
sudo: required
services:
- docker
- xvfb
addons:
chrome: stable
language: node_js
@@ -17,6 +16,7 @@ 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: ElementFinder) => {
return this.items.map(async elem => {
const str = await elem.getText();
return str.split('\nchevron_right')[0];
});