Skip to content

Commit

Permalink
Upgrade plugin dependencies and fix nav drawer test
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Mar 12, 2019
1 parent b388d86 commit ea976f4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 61 deletions.
5 changes: 1 addition & 4 deletions test/functional/services/apps_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export function AppsMenuProvider({ getService }: FtrProviderContext) {
public async clickLink(name: string) {
try {
log.debug(`click "${name}" app link`);
await this.ensureMenuOpen();
const container = await testSubjects.find('navDrawer');
const link = await container.findByPartialLinkText(name);
await link.click();
Expand All @@ -76,16 +75,14 @@ export function AppsMenuProvider({ getService }: FtrProviderContext) {
}

private async ensureMenuClosed() {
const link = await testSubjects.moveMouseTo('navDrawerExpandButton-isExpanded');
await link.click();
await retry.waitFor(
'apps drawer closed',
async () => await testSubjects.exists('navDrawerExpandButton-isCollapsed')
);
}

private async ensureMenuOpen() {
const link = await testSubjects.moveMouseTo('navDrawerExpandButton-isCollapsed');
const link = await testSubjects.find('navDrawerExpandButton-isCollapsed');
await link.click();
await retry.waitFor(
'apps drawer open',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "5.0.0",
"react": "^16.3.0"
"@elastic/eui": "9.3.0",
"react": "^16.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "5.0.0",
"react": "^16.3.0"
"@elastic/eui": "9.3.0",
"react": "^16.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "5.0.0",
"react": "^16.3.0",
"react-dom": "^16.3.0"
"@elastic/eui": "9.3.0",
"react": "^16.8.0",
"react-dom": "^16.8.0"
}
}
53 changes: 3 additions & 50 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -796,30 +796,6 @@
tabbable "^1.1.0"
uuid "^3.1.0"

"@elastic/[email protected]":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-5.0.0.tgz#e6fe9e1aa8b00c93045178f78a6dd0d457d56fa8"
integrity sha512-WL6sp6u2Rt1O7a2exLU/RuDcRnpluPN6aQ2JexBl+G6mVyF8F5I3RGJKTJp3jOozOaODRY2ev+Nq57EydkjrKg==
dependencies:
classnames "^2.2.5"
core-js "^2.5.1"
focus-trap-react "^3.0.4"
highlight.js "^9.12.0"
html "^1.0.0"
keymirror "^0.1.1"
lodash "npm:@elastic/[email protected]"
numeral "^2.0.6"
prop-types "^15.6.0"
react-ace "^5.5.0"
react-color "^2.13.8"
react-datepicker v1.5.0
react-input-autosize "^2.2.1"
react-virtualized "^9.18.5"
react-vis "1.10.2"
resize-observer-polyfill "^1.5.0"
tabbable "^1.1.0"
uuid "^3.1.0"

"@elastic/[email protected]":
version "9.3.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-9.3.0.tgz#7bc17bb31f3cfcac64fb3fa17f06f992cb2e6fb6"
Expand Down Expand Up @@ -18115,11 +18091,6 @@ polished@^1.9.2:
resolved "https://registry.yarnpkg.com/polished/-/polished-1.9.2.tgz#d705cac66f3a3ed1bd38aad863e2c1e269baf6b6"
integrity sha512-mPocQrVUSiqQdHNZFGL1iHJmsR/etiv05Nf2oZUbya+GMsQkZVEBl5wonN+Sr/e9zQBEhT6yrMjxAUJ06eyocQ==

popper.js@^1.14.1:
version "1.14.3"
resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.14.3.tgz#1438f98d046acf7b4d78cd502bf418ac64d4f095"
integrity sha1-FDj5jQRqz3tNeM1QK/QYrGTU8JU=

portfinder@^1.0.9:
version "1.0.13"
resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.13.tgz#bb32ecd87c27104ae6ee44b5a3ccbf0ebb1aede9"
Expand Down Expand Up @@ -18980,16 +18951,6 @@ react-color@^2.13.8, react-color@^2.14.1:
reactcss "^1.2.0"
tinycolor2 "^1.4.1"

[email protected]:
version "1.5.0"
resolved "https://registry.yarnpkg.com/react-datepicker/-/react-datepicker-1.5.0.tgz#7eacd9609313189c84a21bb7421486054939a4b2"
integrity sha512-Neh1rz0d1QeR7KuoTiYeR6oj73DJkqt0vuNSgfMuxXEwGmz/4sPynouYGo6gdKiQbxIXBJJ/FLDLHJEr5XNThw==
dependencies:
classnames "^2.2.5"
prop-types "^15.6.0"
react-onclickoutside "^6.7.1"
react-popper "^0.9.1"

react-datetime@^2.14.0:
version "2.15.0"
resolved "https://registry.yarnpkg.com/react-datetime/-/react-datetime-2.15.0.tgz#a8f7da6c58b6b45dbeea32d4e8485db17614e12c"
Expand Down Expand Up @@ -19070,7 +19031,7 @@ react-docgen@^3.0.0-rc.1:
node-dir "^0.1.10"
recast "^0.16.0"

react-dom@^16.2.0, react-dom@^16.3.0, react-dom@^16.8.0:
react-dom@^16.2.0, react-dom@^16.8.0:
version "16.8.2"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.2.tgz#7c8a69545dd554d45d66442230ba04a6a0a3c3d3"
integrity sha512-cPGfgFfwi+VCZjk73buu14pYkYBR1b/SRMSYqkLDdhSEHnSwcuYTPu6/Bh6ZphJFIk80XLvbSe2azfcRzNF+Xg==
Expand Down Expand Up @@ -19241,19 +19202,11 @@ react-motion@^0.5.2:
prop-types "^15.5.8"
raf "^3.1.0"

react-onclickoutside@^6.5.0, react-onclickoutside@^6.7.1:
react-onclickoutside@^6.5.0:
version "6.7.1"
resolved "https://registry.yarnpkg.com/react-onclickoutside/-/react-onclickoutside-6.7.1.tgz#6a5b5b8b4eae6b776259712c89c8a2b36b17be93"
integrity sha512-p84kBqGaMoa7VYT0vZ/aOYRfJB+gw34yjpda1Z5KeLflg70HipZOT+MXQenEhdkPAABuE2Astq4zEPdMqUQxcg==

react-popper@^0.9.1:
version "0.9.5"
resolved "https://registry.yarnpkg.com/react-popper/-/react-popper-0.9.5.tgz#02a24ef3eec33af9e54e8358ab70eb0e331edd05"
integrity sha1-AqJO8+7DOvnlToNYq3DrDjMe3QU=
dependencies:
popper.js "^1.14.1"
prop-types "^15.6.1"

react-portal@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/react-portal/-/react-portal-3.2.0.tgz#4224e19b2b05d5cbe730a7ba0e34ec7585de0043"
Expand Down Expand Up @@ -19519,7 +19472,7 @@ react-vis@^1.8.1:
prop-types "^15.5.8"
react-motion "^0.4.8"

react@^16.2.0, react@^16.3.0, react@^16.6.0, react@^16.8.0:
react@^16.2.0, react@^16.6.0, react@^16.8.0:
version "16.8.2"
resolved "https://registry.yarnpkg.com/react/-/react-16.8.2.tgz#83064596feaa98d9c2857c4deae1848b542c9c0c"
integrity sha512-aB2ctx9uQ9vo09HVknqv3DGRpI7OIGJhCx3Bt0QqoRluEjHSaObJl+nG12GDdYH6sTgE7YiPJ6ZUyMx9kICdXw==
Expand Down

0 comments on commit ea976f4

Please sign in to comment.