Integrations tests are passing when being run with 2 functional test runner commands (server and runner) and failing when being run with 1 combined command, which is used on CI.
I believe this is happening because those integration tests are not run with x-pack plugins enabled, which is a test environment issue and not a product bug
cc: @thomasneirynck
Integrations tests are passing when being run with 2 functional test runner commands (server and runner) and failing when being run with 1 combined command, which is used on CI.
Discovered in this PR: https://github.com/elastic/kibana/pull/114919#issuecomment-943709702
To reproduce:
Add 18 (number of Workplace Search integrations) to the expected number on this line: https://github.com/elastic/kibana/blob/e49ec25fae79ed83245d23cf33edcdaaaf912fcd/test/api_integration/apis/custom_integration/integrations.ts#L26
Run the following commands from the
x-pack
folder.And in a separate terminal:
Expected result: 2/2 tests are passing.
Close previously opened terminals and run the command from CI from the
kibana
root:Expected result: all tests are passing Actual result: 1 functional test failure. Error: expected 15 to be above 32