unskip tests and make sure submit is not triggered too quickly (#85567)

This commit is contained in:
Joe Reuter 2020-12-14 13:35:01 +01:00 committed by GitHub
parent b01a327076
commit 4f48401b20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -47,7 +47,7 @@ export const LabelInput = ({
inputRef.current = node;
}
}}
onKeyDown={({ key }: React.KeyboardEvent<HTMLInputElement>) => {
onKeyUp={({ key }: React.KeyboardEvent<HTMLInputElement>) => {
if (keys.ENTER === key && onSubmit) {
onSubmit();
}

View file

@ -13,8 +13,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const listingTable = getService('listingTable');
const testSubjects = getService('testSubjects');
// FLAKY: https://github.com/elastic/kibana/issues/77969
describe.skip('lens smokescreen tests', () => {
describe('lens smokescreen tests', () => {
it('should allow creation of lens xy chart', async () => {
await PageObjects.visualize.navigateToNewVisualization();
await PageObjects.visualize.clickVisType('lens');