kyma-project / kyma

Kyma is an opinionated set of Kubernetes-based modular building blocks, including all necessary capabilities to develop and run enterprise-grade cloud-native applications.
https://kyma-project.io
Apache License 2.0
1.51k stars 404 forks source link

Unstable test-core-core-ui-acceptance tests #3443

Closed franpog859 closed 5 years ago

franpog859 commented 5 years ago

Description

Testing Kyma on Azure cluster failed several times due to test-core-core-ui-acceptance. See logs for detailed informations. Cluster was provisioned with this PR branch - master from 29.03 about 11:00

See logs ``` 13:26:11 Testing 'test-core-core-ui-acceptance' 13:26:11 'test-core-core-ui-acceptance' has Failed status 13:26:11 Fetching logs from 'test-core-core-ui-acceptance' with options tailLimit=2000 and bytesLimit=500000 13:26:11 13:26:11 > ui-tests@0.1.3 test:cluster /app 13:26:11 > jest -i --forceExit --detectOpenHandles 13:26:11 13:26:11 FAIL src/tests/catalog-ui-test.js (56.722s) 13:26:11 ● Console 13:26:11 13:26:11 console.log jest-setup.js:3 13:26:11 Setting default timeout to 240 seconds 13:26:11 console.log src/setup/test-bundle-installer.js:17 13:26:11 Installing test bundle... 13:26:11 console.log src/setup/namespace-manager.js:17 13:26:11 Creating namespace service-catalog-ui-test... 13:26:11 console.log src/setup/helm-broker/configurer.js:12 13:26:11 Including test bundle repository for Helm Broker... 13:26:11 console.log src/setup/helm-broker/configurer.js:53 13:26:11 Waiting for ready test bundle... 13:26:11 console.log src/setup/helm-broker/configurer.js:63 13:26:11 Test bundle is available. 13:26:11 console.log src/setup/helm-broker/configurer.js:32 13:26:11 Waiting for ready minimal plan... 13:26:11 console.log src/setup/helm-broker/configurer.js:42 13:26:11 Minimal plan is available. 13:26:11 console.log src/commands/common.js:51 13:26:11 Opening https://console.framefrog2.cluster.kyma.cx 13:26:11 console.log src/commands/console.js:14 13:26:11 Trying to log in admin@kyma.cx via dex 13:26:11 console.log src/tests/catalog-ui-test.js:107 13:26:11 Check if `Testing bundle` is on the list 13:26:11 console.log src/tests/catalog-ui-test.js:188 13:26:11 Provision `Testing bundle` with `Minimal` plan 13:26:11 console.log src/commands/catalog.js:61 13:26:11 Create instance failed 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 1: TypeError: Cannot read property 'click' of undefined 13:26:11 at click (/app/src/commands/catalog.js:26:19) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/catalog.js:233:191) 13:26:11 at /app/src/commands/catalog.js:233:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 2/5 13:26:11 console.log src/commands/catalog.js:61 13:26:11 Create instance failed 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 2: TypeError: Cannot read property 'click' of undefined 13:26:11 at click (/app/src/commands/catalog.js:26:19) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/catalog.js:233:191) 13:26:11 at /app/src/commands/catalog.js:233:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 3/5 13:26:11 console.log src/commands/catalog.js:61 13:26:11 Create instance failed 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 3: TypeError: Cannot read property 'click' of undefined 13:26:11 at click (/app/src/commands/catalog.js:26:19) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/catalog.js:233:191) 13:26:11 at /app/src/commands/catalog.js:233:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 4/5 13:26:11 console.log src/commands/catalog.js:61 13:26:11 Create instance failed 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 4: TypeError: Cannot read property 'click' of undefined 13:26:11 at click (/app/src/commands/catalog.js:26:19) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/catalog.js:233:191) 13:26:11 at /app/src/commands/catalog.js:233:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 5/5 13:26:11 console.log src/commands/catalog.js:61 13:26:11 Create instance failed 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 5: TypeError: Cannot read property 'click' of undefined 13:26:11 at click (/app/src/commands/catalog.js:26:19) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/catalog.js:233:191) 13:26:11 at /app/src/commands/catalog.js:233:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 6/5 13:26:11 console.log src/tests/catalog-ui-test.js:196 13:26:11 Click on the provision confirmation link and confirm you were redirected to instance details page directly 13:26:11 console.log src/tests/catalog-ui-test.js:387 13:26:11 Go to details of instance created with `minimal` plan 13:26:11 console.log src/tests/catalog-ui-test.js:408 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 1: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:396:46) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 2/5 13:26:11 console.log src/tests/catalog-ui-test.js:408 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 2: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:396:46) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 3/5 13:26:11 console.log src/tests/catalog-ui-test.js:408 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 3: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:396:46) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 4/5 13:26:11 console.log src/tests/catalog-ui-test.js:408 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 4: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:396:46) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 5/5 13:26:11 console.log src/tests/catalog-ui-test.js:408 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 5: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:396:46) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 6/5 13:26:11 console.log src/tests/catalog-ui-test.js:413 13:26:11 Confirm all necessary fields 13:26:11 console.log src/tests/catalog-ui-test.js:445 13:26:11 Go to details of instance created with `full` plan 13:26:11 console.log src/tests/catalog-ui-test.js:469 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 1: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:460:43) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 2/5 13:26:11 console.log src/tests/catalog-ui-test.js:469 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 2: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:460:43) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 3/5 13:26:11 console.log src/tests/catalog-ui-test.js:469 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 3: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:460:43) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 4/5 13:26:11 console.log src/tests/catalog-ui-test.js:469 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 4: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:460:43) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 5/5 13:26:11 console.log src/tests/catalog-ui-test.js:469 13:26:11 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 5: TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 at waitForSelector (/app/src/tests/catalog-ui-test.js:460:43) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/tests/catalog-ui-test.js:39:191) 13:26:11 at /app/src/tests/catalog-ui-test.js:39:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 6/5 13:26:11 console.log src/tests/catalog-ui-test.js:474 13:26:11 Confirm all necessary fields 13:26:11 console.log src/tests/catalog-ui-test.js:514 13:26:11 Go to Credentials tab and create credentials and fill in the schema form 13:26:11 console.log src/commands/catalog.js:142 13:26:11 Bind application failed 13:26:11 console.log src/commands/catalog.js:142 13:26:11 Bind application failed 13:26:11 console.log src/setup/test-bundle-installer.js:25 13:26:11 Cleaning up test bundle... 13:26:11 console.log src/setup/helm-broker/configurer.js:24 13:26:11 Excluding test bundle repository for Helm Broker... 13:26:11 console.log src/setup/namespace-manager.js:28 13:26:11 Deleting namespace service-catalog-ui-test... 13:26:11 13:26:11 ● Catalog basic tests › Check if `Testing bundle` is on the list and has details 13:26:11 13:26:11 TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 13:26:11 113 | ]); 13:26:11 114 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 115 | await frame.waitForSelector(catalogHeaderSelector); 13:26:11 | ^ 13:26:11 116 | const catalogHeader = await frame.$eval( 13:26:11 117 | catalogHeaderSelector, 13:26:11 118 | item => item.innerHTML, 13:26:11 13:26:11 at waitForSelector (src/tests/catalog-ui-test.js:115:19) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/catalog-ui-test.js:39:191) 13:26:11 at src/tests/catalog-ui-test.js:39:361 13:26:11 13:26:11 ● Catalog basic tests › Provision `Testing bundle` with `Minimal` plan and check confirmation link 13:26:11 13:26:11 TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 13:26:11 197 | 'Click on the provision confirmation link and confirm you were redirected to instance details page directly', 13:26:11 198 | ); 13:26:11 > 199 | const notification = await frame.waitForSelector(notificationLink, { 13:26:11 | ^ 13:26:11 200 | visible: true, 13:26:11 201 | }); 13:26:11 202 | await Promise.all([ 13:26:11 13:26:11 at waitForSelector (src/tests/catalog-ui-test.js:199:40) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/catalog-ui-test.js:39:191) 13:26:11 at src/tests/catalog-ui-test.js:39:361 13:26:11 13:26:11 ● Catalog basic tests › Provision `Testing bundle` with `Full` plan and check confirmation link 13:26:11 13:26:11 TypeError: Cannot read property '$' of undefined 13:26:11 13:26:11 293 | 13:26:11 294 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 295 | const testingBundle = await frame.$(exampleServiceClassButton); 13:26:11 | ^ 13:26:11 296 | await Promise.all([ 13:26:11 297 | testingBundle.click(), 13:26:11 298 | frame.waitForNavigation({ 13:26:11 13:26:11 at $ (src/tests/catalog-ui-test.js:295:41) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/catalog-ui-test.js:39:191) 13:26:11 at src/tests/catalog-ui-test.js:39:361 13:26:11 13:26:11 ● Catalog basic tests › Check `minimal` plan details 13:26:11 13:26:11 TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 13:26:11 412 | 13:26:11 413 | console.log('Confirm all necessary fields'); 13:26:11 > 414 | await frame.waitForSelector(exampleInstanceServiceClass); 13:26:11 | ^ 13:26:11 415 | const serviceClass = await frame.$(exampleInstanceServiceClass); 13:26:11 416 | const servicePlan = await frame.$(exampleInstanceServicePlan); 13:26:11 417 | const statusType = await frame.$(exampleInstanceStatusType); 13:26:11 13:26:11 at waitForSelector (src/tests/catalog-ui-test.js:414:17) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/catalog-ui-test.js:39:191) 13:26:11 at src/tests/catalog-ui-test.js:39:361 13:26:11 13:26:11 ● Catalog basic tests › Check `full` plan details 13:26:11 13:26:11 TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 13:26:11 473 | 13:26:11 474 | console.log('Confirm all necessary fields'); 13:26:11 > 475 | await frame.waitForSelector(exampleInstanceServiceClass); 13:26:11 | ^ 13:26:11 476 | const serviceClass = await frame.$(exampleInstanceServiceClass); 13:26:11 477 | const servicePlan = await frame.$(exampleInstanceServicePlan); 13:26:11 478 | const statusType = await frame.$(exampleInstanceStatusType); 13:26:11 13:26:11 at waitForSelector (src/tests/catalog-ui-test.js:475:17) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/catalog-ui-test.js:39:191) 13:26:11 at src/tests/catalog-ui-test.js:39:361 13:26:11 13:26:11 ● Catalog basic tests › Check credentials 13:26:11 13:26:11 TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 13:26:11 516 | ); 13:26:11 517 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 518 | await frame.waitForSelector(serviceBindingCredentialsTab); 13:26:11 | ^ 13:26:11 519 | await frame.click(serviceBindingCredentialsTab); 13:26:11 520 | 13:26:11 521 | await catalog.createCredentials(page, additionalData); 13:26:11 13:26:11 at waitForSelector (src/tests/catalog-ui-test.js:518:17) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/catalog-ui-test.js:39:191) 13:26:11 at src/tests/catalog-ui-test.js:39:361 13:26:11 13:26:11 ● Catalog basic tests › Check bindings with `full` plan 13:26:11 13:26:11 TypeError: Cannot read property 'click' of undefined 13:26:11 13:26:11 112 | 13:26:11 113 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 114 | await frame.click(bindAplicationButton); 13:26:11 | ^ 13:26:11 115 | await frame.waitForSelector(modal, { visible: true }); 13:26:11 116 | 13:26:11 117 | await select(frame, resourcesInput, resource, true); 13:26:11 13:26:11 at click (src/commands/catalog.js:114:19) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/commands/catalog.js:233:191) 13:26:11 at src/commands/catalog.js:233:361 13:26:11 13:26:11 ● Catalog basic tests › Check bindings with `minimal` plan 13:26:11 13:26:11 TypeError: Cannot read property 'click' of undefined 13:26:11 13:26:11 112 | 13:26:11 113 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 114 | await frame.click(bindAplicationButton); 13:26:11 | ^ 13:26:11 115 | await frame.waitForSelector(modal, { visible: true }); 13:26:11 116 | 13:26:11 117 | await select(frame, resourcesInput, resource, true); 13:26:11 13:26:11 at click (src/commands/catalog.js:114:19) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/commands/catalog.js:233:191) 13:26:11 at src/commands/catalog.js:233:361 13:26:11 13:26:11 ● Catalog basic tests › Delete bindings 13:26:11 13:26:11 TypeError: Cannot read property 'waitForSelector' of undefined 13:26:11 13:26:11 663 | 13:26:11 664 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 665 | await frame.waitForSelector(serviceBindingCredentialsTab); 13:26:11 | ^ 13:26:11 666 | await frame.click(serviceBindingCredentialsTab); 13:26:11 667 | 13:26:11 668 | await catalog.deleteCredentials(page); 13:26:11 13:26:11 at waitForSelector (src/tests/catalog-ui-test.js:665:17) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/catalog-ui-test.js:39:191) 13:26:11 at src/tests/catalog-ui-test.js:39:361 13:26:11 13:26:11 FAIL src/tests/console-basic-test.js (171.683s) 13:26:11 ● Console 13:26:11 13:26:11 console.log jest-setup.js:3 13:26:11 Setting default timeout to 240 seconds 13:26:11 console.log src/commands/common.js:51 13:26:11 Opening https://console.framefrog2.cluster.kyma.cx 13:26:11 console.log src/commands/console.js:14 13:26:11 Trying to log in admin@kyma.cx via dex 13:26:11 console.log src/commands/common.js:17 13:26:11 Request failed: 13:26:11 URL: https://console.framefrog2.cluster.kyma.cx/luigi-core/auth/oidc/oidc-client.min.js 13:26:11 Method: GET 13:26:11 Failure: net::ERR_ABORTED 13:26:11 console.log src/utils/logging.js:36 13:26:11 Request GET https://console.framefrog2.cluster.kyma.cx/luigi-core/auth/oidc/oidc-client.min.js failed with message : net::ERR_ABORTED 13:26:11 console.log src/utils/logging.js:14 13:26:11 [Error] 13:26:11 console.log src/tests/console-basic-test.js:86 13:26:11 Check if application exists [] 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 1: Error: No node found for selector: input[name=applicationName] 13:26:11 at assert (/app/node_modules/puppeteer/lib/helper.js:278:11) 13:26:11 at Frame.focus (/app/node_modules/puppeteer/lib/FrameManager.js:714:5) 13:26:11 at 13:26:11 -- ASYNC -- 13:26:11 at Frame. (/app/node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at Object.focus (/app/src/commands/console.js:180:15) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/console.js:634:191) 13:26:11 at /app/src/commands/console.js:634:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 2/5 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 2: Error: No node found for selector: input[name=applicationName] 13:26:11 at assert (/app/node_modules/puppeteer/lib/helper.js:278:11) 13:26:11 at Frame.focus (/app/node_modules/puppeteer/lib/FrameManager.js:714:5) 13:26:11 at 13:26:11 -- ASYNC -- 13:26:11 at Frame. (/app/node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at Object.focus (/app/src/commands/console.js:180:15) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/console.js:634:191) 13:26:11 at /app/src/commands/console.js:634:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 3/5 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 3: Error: No node found for selector: input[name=applicationName] 13:26:11 at assert (/app/node_modules/puppeteer/lib/helper.js:278:11) 13:26:11 at Frame.focus (/app/node_modules/puppeteer/lib/FrameManager.js:714:5) 13:26:11 at 13:26:11 -- ASYNC -- 13:26:11 at Frame. (/app/node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at Object.focus (/app/src/commands/console.js:180:15) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/console.js:634:191) 13:26:11 at /app/src/commands/console.js:634:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 4/5 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 4: Error: No node found for selector: input[name=applicationName] 13:26:11 at assert (/app/node_modules/puppeteer/lib/helper.js:278:11) 13:26:11 at Frame.focus (/app/node_modules/puppeteer/lib/FrameManager.js:714:5) 13:26:11 at 13:26:11 -- ASYNC -- 13:26:11 at Frame. (/app/node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at Object.focus (/app/src/commands/console.js:180:15) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/console.js:634:191) 13:26:11 at /app/src/commands/console.js:634:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 5/5 13:26:11 console.error src/utils/retry.js:8 13:26:11 Error in retry attempt 5: Error: No node found for selector: input[name=applicationName] 13:26:11 at assert (/app/node_modules/puppeteer/lib/helper.js:278:11) 13:26:11 at Frame.focus (/app/node_modules/puppeteer/lib/FrameManager.js:714:5) 13:26:11 at 13:26:11 -- ASYNC -- 13:26:11 at Frame. (/app/node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at Object.focus (/app/src/commands/console.js:180:15) 13:26:11 at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (/app/src/commands/console.js:634:191) 13:26:11 at /app/src/commands/console.js:634:361 13:26:11 at 13:26:11 console.log src/utils/retry.js:10 13:26:11 Retrying... Attempt 6/5 13:26:11 console.log src/commands/console.js:100 13:26:11 Removing testnamespace namespace 13:26:11 13:26:11 ● Console basic tests › Check if namespaces exist 13:26:11 13:26:11 TimeoutError: waiting for selector "ul#context_menu_middle > li" failed: timeout 30000ms exceeded 13:26:11 13:26:11 34 | const dropdownMenu = 'ul#context_menu_middle > li'; 13:26:11 35 | await page.click(dropdownButton); 13:26:11 > 36 | await page.waitForSelector(dropdownMenu, { visible: true }); 13:26:11 | ^ 13:26:11 37 | const namespaces = await kymaConsole.getNamespacesFromContextSwitcher(page); 13:26:11 38 | await page.click(dropdownButton); 13:26:11 39 | console.log('Check if namespaces exist', namespaces); 13:26:11 13:26:11 at new WaitTask (node_modules/puppeteer/lib/FrameManager.js:955:28) 13:26:11 at Frame._waitForSelectorOrXPath (node_modules/puppeteer/lib/FrameManager.js:846:12) 13:26:11 at Frame.waitForSelector (node_modules/puppeteer/lib/FrameManager.js:804:17) 13:26:11 at Page.waitForSelector (node_modules/puppeteer/lib/Page.js:990:29) 13:26:11 at waitForSelector (src/tests/console-basic-test.js:36:16) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/console-basic-test.js:31:191) 13:26:11 at src/tests/console-basic-test.js:31:361 13:26:11 13:26:11 ● Console basic tests › Create namespace 13:26:11 13:26:11 TimeoutError: waiting for selector "[data-e2e-id=create-namespace-modal]" to be hidden failed: timeout 30000ms exceeded 13:26:11 13:26:11 152 | await frame.type(namespaceNameInput, name); 13:26:11 153 | await frame.click(createBtn); 13:26:11 > 154 | return frame.waitForSelector(createNamespaceModal, { hidden: true }); 13:26:11 | ^ 13:26:11 155 | } 13:26:11 156 | 13:26:11 157 | async function deleteNamespace(page, namespaceName) { 13:26:11 13:26:11 at new WaitTask (node_modules/puppeteer/lib/FrameManager.js:955:28) 13:26:11 at Frame._waitForSelectorOrXPath (node_modules/puppeteer/lib/FrameManager.js:846:12) 13:26:11 at Frame.waitForSelector (node_modules/puppeteer/lib/FrameManager.js:804:17) 13:26:11 at Object.waitForSelector (src/commands/console.js:154:16) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/commands/console.js:634:191) 13:26:11 at src/commands/console.js:634:361 13:26:11 13:26:11 ● Console basic tests › Delete namespace 13:26:11 13:26:11 No node found for selector: button[aria-controls=testnamespace] 13:26:11 13:26:11 159 | const deleteConfirmButton = `[data-e2e-id=confirmation-modal-button-ok]`; 13:26:11 160 | const dropDownCard = `button[aria-controls=${namespaceName}]`; 13:26:11 > 161 | await frame.click(dropDownCard); 13:26:11 | ^ 13:26:11 162 | await frame.click(`#${namespaceName} li > a[name=Delete]`); 13:26:11 163 | await frame.waitFor(deleteConfirmButton); 13:26:11 164 | await frame.click(deleteConfirmButton); 13:26:11 13:26:11 at assert (node_modules/puppeteer/lib/helper.js:278:11) 13:26:11 at Frame.click (node_modules/puppeteer/lib/FrameManager.js:704:5) 13:26:11 -- ASYNC -- 13:26:11 at Frame. (node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at Object.click (src/commands/console.js:161:15) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/commands/console.js:634:191) 13:26:11 at src/commands/console.js:634:361 13:26:11 13:26:11 ● Console basic tests › Create Application 13:26:11 13:26:11 expect(array).toContain(value) 13:26:11 13:26:11 Expected array: 13:26:11 [] 13:26:11 To contain value: 13:26:11 "testapplication" 13:26:11 13:26:11 95 | await page.reload({ waitUntil: ['domcontentloaded', 'networkidle0'] }); 13:26:11 96 | const applications = await kymaConsole.getApplicationNames(page); 13:26:11 > 97 | expect(applications).toContain(config.testApp); 13:26:11 | ^ 13:26:11 98 | }); 13:26:11 99 | 13:26:11 100 | testPluggable(REQUIRED_MODULE, 'Go to details and back', async () => { 13:26:11 13:26:11 at toContain (src/tests/console-basic-test.js:97:26) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/console-basic-test.js:31:191) 13:26:11 at src/tests/console-basic-test.js:31:361 13:26:11 13:26:11 ● Console basic tests › Go to details and back 13:26:11 13:26:11 TimeoutError: waiting for XPath "//a[contains(@data-e2e-id, 'application-name') and contains(string(), "testapplication")]" failed: timeout 30000ms exceeded 13:26:11 13:26:11 100 | testPluggable(REQUIRED_MODULE, 'Go to details and back', async () => { 13:26:11 101 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 102 | await frame.waitForXPath( 13:26:11 | ^ 13:26:11 103 | `//a[contains(@data-e2e-id, 'application-name') and contains(string(), "${ 13:26:11 104 | config.testApp 13:26:11 105 | }")]`, 13:26:11 13:26:11 at new WaitTask (node_modules/puppeteer/lib/FrameManager.js:955:28) 13:26:11 at Frame._waitForSelectorOrXPath (node_modules/puppeteer/lib/FrameManager.js:846:12) 13:26:11 at Frame.waitForXPath (node_modules/puppeteer/lib/FrameManager.js:813:17) 13:26:11 at waitForXPath (src/tests/console-basic-test.js:102:17) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/console-basic-test.js:31:191) 13:26:11 at src/tests/console-basic-test.js:31:361 13:26:11 13:26:11 ● Console basic tests › Delete Application 13:26:11 13:26:11 TimeoutError: waiting for XPath "//a[contains(@data-e2e-id, 'application-name') and contains(string(), "testapplication")]" failed: timeout 30000ms exceeded 13:26:11 13:26:11 119 | testPluggable(REQUIRED_MODULE, 'Delete Application', async () => { 13:26:11 120 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 121 | await frame.waitForXPath( 13:26:11 | ^ 13:26:11 122 | `//a[contains(@data-e2e-id, 'application-name') and contains(string(), "${ 13:26:11 123 | config.testApp 13:26:11 124 | }")]`, 13:26:11 13:26:11 at new WaitTask (node_modules/puppeteer/lib/FrameManager.js:955:28) 13:26:11 at Frame._waitForSelectorOrXPath (node_modules/puppeteer/lib/FrameManager.js:846:12) 13:26:11 at Frame.waitForXPath (node_modules/puppeteer/lib/FrameManager.js:813:17) 13:26:11 at waitForXPath (src/tests/console-basic-test.js:121:17) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/console-basic-test.js:31:191) 13:26:11 at src/tests/console-basic-test.js:31:361 13:26:11 13:26:11 FAIL src/tests/docs-ui-test.js (82.056s) 13:26:11 ● Console 13:26:11 13:26:11 console.log jest-setup.js:3 13:26:11 Setting default timeout to 240 seconds 13:26:11 console.log src/commands/common.js:51 13:26:11 Opening https://console.framefrog2.cluster.kyma.cx 13:26:11 console.log src/commands/console.js:14 13:26:11 Trying to log in admin@kyma.cx via dex 13:26:11 console.log src/commands/common.js:17 13:26:11 Request failed: 13:26:11 URL: https://console.framefrog2.cluster.kyma.cx/luigi-core/auth/oidc/oidc-client.min.js 13:26:11 Method: GET 13:26:11 Failure: net::ERR_ABORTED 13:26:11 console.log src/utils/logging.js:36 13:26:11 Request GET https://console.framefrog2.cluster.kyma.cx/luigi-core/auth/oidc/oidc-client.min.js failed with message : net::ERR_ABORTED 13:26:11 console.log src/utils/logging.js:36 13:26:11 Request GET https://docs.framefrog2.cluster.kyma.cx/public/reset.css failed with message : net::ERR_ABORTED 13:26:11 13:26:11 ● Docs basic tests › Go to docs 13:26:11 13:26:11 TimeoutError: waiting for selector "[data-e2e-id="go-to-environment"]" failed: timeout 30000ms exceeded 13:26:11 13:26:11 53 | 13:26:11 54 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 55 | await frame.waitForSelector(docsHeaderSelector); 13:26:11 | ^ 13:26:11 56 | const docsHeader = await frame.$eval( 13:26:11 57 | docsHeaderSelector, 13:26:11 58 | item => item.innerHTML, 13:26:11 13:26:11 at new WaitTask (node_modules/puppeteer/lib/FrameManager.js:955:28) 13:26:11 at Frame._waitForSelectorOrXPath (node_modules/puppeteer/lib/FrameManager.js:846:12) 13:26:11 at Frame.waitForSelector (node_modules/puppeteer/lib/FrameManager.js:804:17) 13:26:11 at waitForSelector (src/tests/docs-ui-test.js:55:17) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/docs-ui-test.js:35:191) 13:26:11 at src/tests/docs-ui-test.js:35:361 13:26:11 13:26:11 ● Docs basic tests › Check if documentation is shown 13:26:11 13:26:11 TimeoutError: waiting for selector "[data-e2e-id="toolbar-header"]" failed: timeout 30000ms exceeded 13:26:11 13:26:11 91 | 13:26:11 92 | const frame = await kymaConsole.getFrame(page); 13:26:11 > 93 | await frame.waitForSelector(articleHeaderSelector); 13:26:11 | ^ 13:26:11 94 | await frame.$$eval( 13:26:11 95 | articleHeaderSelector, 13:26:11 96 | (item, articleExpectedHeader) => { 13:26:11 13:26:11 at new WaitTask (node_modules/puppeteer/lib/FrameManager.js:955:28) 13:26:11 at Frame._waitForSelectorOrXPath (node_modules/puppeteer/lib/FrameManager.js:846:12) 13:26:11 at Frame.waitForSelector (node_modules/puppeteer/lib/FrameManager.js:804:17) 13:26:11 at waitForSelector (src/tests/docs-ui-test.js:93:19) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/docs-ui-test.js:35:191) 13:26:11 at src/tests/docs-ui-test.js:35:361 13:26:11 13:26:11 FAIL src/tests/lambda-ui-test.js (53.497s) 13:26:11 ● Console 13:26:11 13:26:11 console.log jest-setup.js:3 13:26:11 Setting default timeout to 240 seconds 13:26:11 console.log src/commands/common.js:51 13:26:11 Opening https://console.framefrog2.cluster.kyma.cx 13:26:11 console.log src/commands/console.js:14 13:26:11 Trying to log in admin@kyma.cx via dex 13:26:11 console.log src/commands/common.js:17 13:26:11 Request failed: 13:26:11 URL: https://console.framefrog2.cluster.kyma.cx/luigi-core/auth/oidc/oidc-client.min.js 13:26:11 Method: GET 13:26:11 Failure: net::ERR_ABORTED 13:26:11 console.log src/utils/logging.js:36 13:26:11 Request GET https://console.framefrog2.cluster.kyma.cx/luigi-core/auth/oidc/oidc-client.min.js failed with message : net::ERR_ABORTED 13:26:11 console.log src/commands/console.js:100 13:26:11 Removing lambdatest namespace 13:26:11 13:26:11 ● Lambda UI tests › Create Lambda Function 13:26:11 13:26:11 TimeoutError: waiting for selector "[data-e2e-id=create-namespace-modal]" to be hidden failed: timeout 30000ms exceeded 13:26:11 13:26:11 152 | await frame.type(namespaceNameInput, name); 13:26:11 153 | await frame.click(createBtn); 13:26:11 > 154 | return frame.waitForSelector(createNamespaceModal, { hidden: true }); 13:26:11 | ^ 13:26:11 155 | } 13:26:11 156 | 13:26:11 157 | async function deleteNamespace(page, namespaceName) { 13:26:11 13:26:11 at new WaitTask (node_modules/puppeteer/lib/FrameManager.js:955:28) 13:26:11 at Frame._waitForSelectorOrXPath (node_modules/puppeteer/lib/FrameManager.js:846:12) 13:26:11 at Frame.waitForSelector (node_modules/puppeteer/lib/FrameManager.js:804:17) 13:26:11 at Object.waitForSelector (src/commands/console.js:154:16) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/commands/console.js:634:191) 13:26:11 at src/commands/console.js:634:361 13:26:11 13:26:11 ● Lambda UI tests › Create Lambda Function 13:26:11 13:26:11 Evaluation failed: TypeError: Cannot read property 'click' of undefined 13:26:11 13:26:11 at __puppeteer_evaluation_script__:4:17 13:26:11 at ExecutionContext.evaluateHandle (node_modules/puppeteer/lib/ExecutionContext.js:124:13) 13:26:11 -- ASYNC -- 13:26:11 at ExecutionContext. (node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at ExecutionContext.evaluate (node_modules/puppeteer/lib/ExecutionContext.js:58:31) 13:26:11 at ExecutionContext. (node_modules/puppeteer/lib/helper.js:145:23) 13:26:11 at ElementHandle.$$eval (node_modules/puppeteer/lib/ExecutionContext.js:588:50) 13:26:11 -- ASYNC -- 13:26:11 at ElementHandle. (node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at Frame.$$eval (node_modules/puppeteer/lib/FrameManager.js:494:34) 13:26:11 -- ASYNC -- 13:26:11 at Frame. (node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at Page.$$eval (node_modules/puppeteer/lib/Page.js:323:29) 13:26:11 at Page. (node_modules/puppeteer/lib/helper.js:145:23) 13:26:11 at $$eval (src/tests/lambda-ui-test.js:54:16) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/lambda-ui-test.js:27:191) 13:26:11 at src/tests/lambda-ui-test.js:27:361 13:26:11 13:26:11 ● Lambda UI tests › Delete Lambda Function 13:26:11 13:26:11 TimeoutError: waiting for selector "[data-e2e-id=create-namespace-modal]" to be hidden failed: timeout 30000ms exceeded 13:26:11 13:26:11 152 | await frame.type(namespaceNameInput, name); 13:26:11 153 | await frame.click(createBtn); 13:26:11 > 154 | return frame.waitForSelector(createNamespaceModal, { hidden: true }); 13:26:11 | ^ 13:26:11 155 | } 13:26:11 156 | 13:26:11 157 | async function deleteNamespace(page, namespaceName) { 13:26:11 13:26:11 at new WaitTask (node_modules/puppeteer/lib/FrameManager.js:955:28) 13:26:11 at Frame._waitForSelectorOrXPath (node_modules/puppeteer/lib/FrameManager.js:846:12) 13:26:11 at Frame.waitForSelector (node_modules/puppeteer/lib/FrameManager.js:804:17) 13:26:11 at Object.waitForSelector (src/commands/console.js:154:16) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/commands/console.js:634:191) 13:26:11 at src/commands/console.js:634:361 13:26:11 13:26:11 ● Lambda UI tests › Delete Lambda Function 13:26:11 13:26:11 No node found for selector: button[aria-controls=testlambda] 13:26:11 13:26:11 89 | const frame = await kymaConsole.getFrame(page); 13:26:11 90 | const dropdownButton = `button[aria-controls=${testLambda}]`; 13:26:11 > 91 | await frame.click(dropdownButton); 13:26:11 | ^ 13:26:11 92 | 13:26:11 93 | // given 13:26:11 94 | const deleteButton = `#${testLambda} li > a[name=Delete]`; 13:26:11 13:26:11 at assert (node_modules/puppeteer/lib/helper.js:278:11) 13:26:11 at Frame.click (node_modules/puppeteer/lib/FrameManager.js:704:5) 13:26:11 -- ASYNC -- 13:26:11 at Frame. (node_modules/puppeteer/lib/helper.js:144:27) 13:26:11 at click (src/tests/lambda-ui-test.js:91:17) 13:26:11 at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40) 13:26:11 at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22) 13:26:11 at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21) 13:26:11 at step (src/tests/lambda-ui-test.js:27:191) 13:26:11 at src/tests/lambda-ui-test.js:27:361 13:26:11 13:26:11 Test Suites: 4 failed, 4 total 13:26:11 Tests: 19 failed, 1 passed, 20 total 13:26:11 Snapshots: 0 total 13:26:11 Time: 367.012s 13:26:11 Ran all test suites. 13:26:11 npm ERR! code ELIFECYCLE 13:26:11 npm ERR! errno 1 13:26:11 npm ERR! ui-tests@0.1.3 test:cluster: `jest -i --forceExit --detectOpenHandles` 13:26:11 npm ERR! Exit status 1 13:26:11 npm ERR! 13:26:11 npm ERR! Failed at the ui-tests@0.1.3 test:cluster script. 13:26:11 npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 13:26:11 13:26:11 npm ERR! A complete log of this run can be found in: 13:26:11 npm ERR! /root/.npm/_logs/2019-03-29T12_20_18_739Z-debug.log 13:26:11 End of testing 'test-core-core-ui-acceptance' ```

Expected result

Test test-core-core-ui-acceptance doesn't fail without the reason.

Steps to reproduce

Run cluster with Kyma on Azure and wait for tests failure.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale due to the lack of recent activity. It will soon be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been automatically closed due to the lack of recent activity.