mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* bump chromedriver to v77 * fix file import
This commit is contained in:
parent
27525c40be
commit
a4ab656449
4 changed files with 9 additions and 18 deletions
|
@ -353,7 +353,7 @@
|
|||
"chance": "1.0.18",
|
||||
"cheerio": "0.22.0",
|
||||
"chokidar": "3.0.2",
|
||||
"chromedriver": "^76.0.0",
|
||||
"chromedriver": "^77.0.0",
|
||||
"classnames": "2.2.6",
|
||||
"dedent": "^0.7.0",
|
||||
"delete-empty": "^2.0.0",
|
||||
|
|
|
@ -564,12 +564,8 @@ export function SettingsPageProvider({ getService, getPageObjects }) {
|
|||
log.debug(`Clicking importObjects`);
|
||||
await testSubjects.click('importObjects');
|
||||
log.debug(`Setting the path on the file input`);
|
||||
if (browser.isW3CEnabled) {
|
||||
const input = await find.byCssSelector('.euiFilePicker__input');
|
||||
await input.type(path);
|
||||
} else {
|
||||
await find.setValue('.euiFilePicker__input', path);
|
||||
}
|
||||
const input = await find.byCssSelector('.euiFilePicker__input');
|
||||
await input.type(path);
|
||||
|
||||
if (!overwriteAll) {
|
||||
log.debug(`Toggling overwriteAll`);
|
||||
|
|
|
@ -16,7 +16,6 @@ export function GisPageProvider({ getService, getPageObjects }) {
|
|||
const find = getService('find');
|
||||
const queryBar = getService('queryBar');
|
||||
const comboBox = getService('comboBox');
|
||||
const browser = getService('browser');
|
||||
|
||||
function escapeLayerName(layerName) {
|
||||
return layerName.split(' ').join('_');
|
||||
|
@ -482,12 +481,8 @@ export function GisPageProvider({ getService, getPageObjects }) {
|
|||
|
||||
async uploadJsonFileForIndexing(path) {
|
||||
log.debug(`Setting the path on the file input`);
|
||||
if (browser.isW3CEnabled) {
|
||||
const input = await find.byCssSelector('.euiFilePicker__input');
|
||||
await input.type(path);
|
||||
} else {
|
||||
await find.setValue('.euiFilePicker__input', path);
|
||||
}
|
||||
const input = await find.byCssSelector('.euiFilePicker__input');
|
||||
await input.type(path);
|
||||
log.debug(`File selected`);
|
||||
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
|
|
|
@ -7743,10 +7743,10 @@ chrome-trace-event@^1.0.2:
|
|||
dependencies:
|
||||
tslib "^1.9.0"
|
||||
|
||||
chromedriver@^76.0.0:
|
||||
version "76.0.0"
|
||||
resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-76.0.0.tgz#cbf618c5b370799ff6e15b23de07e80f67f89025"
|
||||
integrity sha512-jGyqs0N+lMo9iaNQxGKNPiLJWb2L9s2rwbRr1jJeQ37n6JQ1+5YMGviv/Fx5Z08vBWYbAvrKEzFsuYf8ppl+lw==
|
||||
chromedriver@^77.0.0:
|
||||
version "77.0.0"
|
||||
resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-77.0.0.tgz#bd916cc87a0ccb7a6e4fb4b43cb2368bc54db6a0"
|
||||
integrity sha512-mZa1IVx4HD8rDaItWbnS470mmypgiWsDiu98r0NkiT4uLm3qrANl4vOU6no6vtWtLQiW5kt1POcIbjeNpsLbXA==
|
||||
dependencies:
|
||||
del "^4.1.1"
|
||||
extract-zip "^1.6.7"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue