Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(jetbrains): given multiple test file selected, when clicking on "Add to Exclusive Test Run", then all test files shoud be run, not only the first one #2562

Closed
tomsquest opened this issue Nov 10, 2020 · 5 comments

Comments

@tomsquest
Copy link

Issue description or question

Given I selected many test files (the three in the screenshot below)
When clicking on "Add to Exclusive Test Run"
Then all test files should be run, not only the first one

In this screenshot, I selected 3 files.
Only the first one is run and visible in the Test Explorer
(in this case, only main-query-runner.attributes.spec.ts is run).

image

Wallaby diagnostics report

{ editorVersion: 'IntelliJ IDEA 2020.2.3',
  pluginVersion: '1.0.200',
  editorType: 'IntelliJ',
  osVersion: 'linux 5.4.0-52-generic',
  nodeVersion: 'v10.21.0',
  coreVersion: '1.0.986',
  checksum: 'MTZjOWFmMzhjY2RmODY3MmMxN2I5OTA2Mjk1ZWQ3NzIsMTYxOTY1NDQwMDAwMCww',
  config:
   { diagnostics:
      { jest:
         { config:
            { configs:
               [ { automock: false,
                   cache: true,
                   cacheDirectory: '/tmp/jest_rs',
                   clearMocks: false,
                   coveragePathIgnorePatterns: [ '/node_modules/' ],
                   cwd: '<homeDir>/Dev/adeo/opus-search',
                   dependencyExtractor: undefined,
                   detectLeaks: undefined,
                   detectOpenHandles: undefined,
                   displayName: undefined,
                   errorOnDeprecated: false,
                   extraGlobals: [],
                   filter: undefined,
                   forceCoverageMatch: [],
                   globalSetup: undefined,
                   globalTeardown: undefined,
                   globals: {},
                   haste: { computeSha1: false, throwOnModuleCollision: false },
                   moduleDirectories: [ 'node_modules' ],
                   moduleFileExtensions: [ 'js', 'json', 'jsx', 'ts', 'tsx', 'node' ],
                   moduleLoader: undefined,
                   moduleNameMapper: [],
                   modulePathIgnorePatterns: [],
                   modulePaths: undefined,
                   name: 'dbbac00eb01befcda4f66bd6f26cb2a8',
                   prettierPath: 'prettier',
                   resetMocks: false,
                   resetModules: false,
                   resolver: undefined,
                   restoreMocks: false,
                   rootDir: '<homeDir>/Dev/adeo/opus-search',
                   roots:
                    [ '<homeDir>/Dev/adeo/opus-search/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/store-raw-products/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-categories/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-natures/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-prices/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-sale-eligibility/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-scores/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-visibility/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-products/src' ],
                   runner: 'jest-runner',
                   setupFiles: [ '<homeDir>/Dev/adeo/opus-search/node_modules/reflect-metadata/Reflect.js' ],
                   setupFilesAfterEnv: [],
                   skipFilter: false,
                   skipNodeResolution: undefined,
                   slowTestThreshold: 5,
                   snapshotResolver: undefined,
                   snapshotSerializers: [],
                   testEnvironment: '<homeDir>/Dev/adeo/opus-search/node_modules/jest-environment-node/build/index.js',
                   testEnvironmentOptions: {},
                   testLocationInResults: false,
                   testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
                   testPathIgnorePatterns: [ '/node_modules/' ],
                   testRegex: [],
                   testRunner: '<homeDir>/Dev/adeo/opus-search/node_modules/jest-jasmine2/build/index.js',
                   testURL: 'http://localhost',
                   timers: 'real',
                   transform: [ [ '^.+\\.tsx?$', '<homeDir>/Dev/adeo/opus-search/node_modules/ts-jest/dist/index.js', {} ] ],
                   transformIgnorePatterns: [ '/node_modules/', '\\.pnp\\.[^\\/]+$' ],
                   unmockedModulePathPatterns: undefined,
                   watchPathIgnorePatterns: [] } ],
              globalConfig:
               { bail: 0,
                 changedFilesWithAncestor: false,
                 changedSince: undefined,
                 collectCoverage: false,
                 collectCoverageFrom: [],
                 collectCoverageOnlyFrom: undefined,
                 coverageDirectory: '<homeDir>/Dev/adeo/opus-search/coverage',
                 coverageProvider: 'babel',
                 coverageReporters: [ 'json', 'text', 'lcov', 'clover' ],
                 coverageThreshold: undefined,
                 detectLeaks: undefined,
                 detectOpenHandles: undefined,
                 enabledTestsMap: undefined,
                 errorOnDeprecated: false,
                 expand: false,
                 filter: undefined,
                 findRelatedTests: false,
                 forceExit: false,
                 globalSetup: undefined,
                 globalTeardown: undefined,
                 json: false,
                 lastCommit: false,
                 listTests: undefined,
                 logHeapUsage: false,
                 maxConcurrency: 5,
                 maxWorkers: 7,
                 noSCM: undefined,
                 noStackTrace: false,
                 nonFlagArgs: undefined,
                 notify: true,
                 notifyMode: 'failure-change',
                 onlyChanged: false,
                 onlyFailures: false,
                 outputFile: undefined,
                 passWithNoTests: undefined,
                 projects: [],
                 replname: undefined,
                 reporters: undefined,
                 rootDir: '<homeDir>/Dev/adeo/opus-search',
                 runTestsByPath: false,
                 silent: undefined,
                 skipFilter: false,
                 testFailureExitCode: 1,
                 testNamePattern: undefined,
                 testPathPattern: '',
                 testResultsProcessor: undefined,
                 testSequencer: '<homeDir>/Dev/adeo/opus-search/node_modules/@jest/test-sequencer/build/index.js',
                 testTimeout: 60000,
                 updateSnapshot: 'new',
                 useStderr: false,
                 verbose: undefined,
                 watch: false,
                 watchAll: false,
                 watchPlugins: undefined,
                 watchman: true },
              hasDeprecationWarnings: false,
              wallaby:
               { roots:
                  [ 'src',
                    'functions/store-raw-products/src',
                    'functions/update-categories/src',
                    'functions/update-product-natures/src',
                    'functions/update-product-prices/src',
                    'functions/update-product-sale-eligibility/src',
                    'functions/update-product-scores/src',
                    'functions/update-product-visibility/src',
                    'functions/update-products/src' ],
                 watchPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|/\\..+/' ],
                 testPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|/\\..+/' ],
                 testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
                 testRegex: [] } } } },
     testFramework: { version: 'jest@24.8.0', configurator: 'jest@24.8.0', reporter: 'jest@24.8.0', starter: 'jest@24.8.0', autoDetected: true },
     filesWithCoverageCalculated: [],
     globalSetup: false,
     micromatch: true,
     files:
      [ { pattern: '/node_modules/', regexp: /\/node_modules\//, ignore: true, trigger: true, load: true },
        { pattern: '\\./dist/|\\./build/|\\./coverage/|/\\..+/', regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\/\..+\//, ignore: true, trigger: true, load: true },
        { pattern: 'src/**', ignore: false, trigger: true, load: true, order: 1 },
        { pattern: 'functions/store-raw-products/src/**', ignore: false, trigger: true, load: true, order: 2 },
        { pattern: 'functions/update-categories/src/**', ignore: false, trigger: true, load: true, order: 3 },
        { pattern: 'functions/update-product-natures/src/**', ignore: false, trigger: true, load: true, order: 4 },
        { pattern: 'functions/update-product-prices/src/**', ignore: false, trigger: true, load: true, order: 5 },
        { pattern: 'functions/update-product-sale-eligibility/src/**', ignore: false, trigger: true, load: true, order: 6 },
        { pattern: 'functions/update-product-scores/src/**', ignore: false, trigger: true, load: true, order: 7 },
        { pattern: 'functions/update-product-visibility/src/**', ignore: false, trigger: true, load: true, order: 8 },
        { pattern: 'functions/update-products/src/**', ignore: false, trigger: true, load: true, order: 9 },
        { pattern: 'src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/store-raw-products/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/store-raw-products/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-categories/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-categories/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-natures/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-natures/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-prices/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-prices/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-sale-eligibility/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-sale-eligibility/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-scores/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-scores/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-visibility/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-visibility/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-products/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-products/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true } ],
     tests:
      [ { pattern: '/node_modules/', regexp: /\/node_modules\//, ignore: true, trigger: true, load: true, test: true },
        { pattern: '\\./dist/|\\./build/|\\./coverage/|/\\..+/', regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\/\..+\//, ignore: true, trigger: true, load: true, test: true },
        { pattern: 'src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 10 },
        { pattern: 'src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 11 },
        { pattern: 'functions/store-raw-products/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 12 },
        { pattern: 'functions/store-raw-products/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 13 },
        { pattern: 'functions/update-categories/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 14 },
        { pattern: 'functions/update-categories/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 15 },
        { pattern: 'functions/update-product-natures/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 16 },
        { pattern: 'functions/update-product-natures/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 17 },
        { pattern: 'functions/update-product-prices/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 18 },
        { pattern: 'functions/update-product-prices/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 19 },
        { pattern: 'functions/update-product-sale-eligibility/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 20 },
        { pattern: 'functions/update-product-sale-eligibility/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 21 },
        { pattern: 'functions/update-product-scores/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 22 },
        { pattern: 'functions/update-product-scores/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 23 },
        { pattern: 'functions/update-product-visibility/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 24 },
        { pattern: 'functions/update-product-visibility/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 25 },
        { pattern: 'functions/update-products/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 26 },
        { pattern: 'functions/update-products/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 27 } ],
     filesWithNoCoverageCalculated: [],
     runAllTestsInAffectedTestFile: false,
     updateNoMoreThanOneSnapshotPerTestFileRun: false,
     compilers: {},
     preprocessors: {},
     maxConsoleMessagesPerTest: 100,
     autoConsoleLog: true,
     delays: { run: 0, edit: 100, update: 0 },
     workers: { initial: 0, regular: 0, recycle: false },
     teardown: undefined,
     hints:
      { ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore/',
        ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
        commentAutoLog: '?',
        testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' } },
     automaticTestFileSelection: true,
     runSelectedTestsOnly: true,
     extensions: {},
     env: { type: 'node', params: {}, runner: '<homeDir>/.asdf/installs/nodejs/10.21.0/bin/node', viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
     reportUnhandledPromises: true,
     slowTestThreshold: 75,
     lowCoverageThreshold: 80,
     loose: true,
     testLocations: [ 'src/search-products/pipeline/main-query-runner.attributes.spec.ts' ],
     configCode: 'auto.detect#-2117203621' },
  packageJSON:
   { dependencies:
      { '@adeo/opus-healthcheck': '1.0.7',
        '@elastic/elasticsearch': '7.7.1',
        '@google-cloud/bigquery': '4.7.0',
        '@google-cloud/logging-winston': '3.0.6',
        '@google-cloud/pubsub': '2.2.0',
        '@google-cloud/tasks': '2.0.0',
        '@nestjs/common': '7.1.3',
        '@nestjs/core': '7.1.3',
        '@nestjs/platform-fastify': '7.1.3',
        '@nestjs/swagger': '4.5.9',
        async: '3.2.0',
        'async-csv': '2.1.3',
        axios: '0.19.2',
        'class-transformer': '0.2.3',
        'class-validator': '0.12.2',
        'dd-trace': '0.26.1',
        'env-var': '6.1.1',
        'fastify-file-upload': '2.0.1',
        'fastify-swagger': '2.6.0',
        'fold-to-ascii': '5.0.0',
        helmet: '3.22.0',
        lodash: '4.17.20',
        nocache: '2.1.0',
        'reflect-metadata': '0.1.13',
        rxjs: '6.5.5',
        tslib: '2.0.1',
        winston: '3.2.1' },
     devDependencies:
      { '@adeo/opus-deployer': '0.0.17',
        '@nestjs/testing': '7.1.3',
        '@types/async': '3.2.3',
        '@types/jest': '26.0.14',
        '@types/lodash': '4.14.161',
        '@types/node': '14.11.1',
        dotenv: '8.2.0',
        'fork-ts-checker-notifier-webpack-plugin': '3.0.0',
        'fork-ts-checker-webpack-plugin': '5.2.0',
        'form-data': '3.0.0',
        husky: '4.3.0',
        jest: '26.4.2',
        'lint-staged': '10.4.0',
        nodemon: '2.0.4',
        'npm-run-all': '4.1.5',
        prettier: '2.1.2',
        rimraf: '3.0.2',
        'start-server-webpack-plugin': '2.2.5',
        'ts-jest': '26.4.0',
        'ts-loader': '8.0.4',
        'ts-node': '9.0.0',
        tslint: '5.20.1',
        'tslint-config-prettier': '1.18.0',
        'tslint-immutable': '6.0.1',
        'tslint-no-focused-test': '0.5.0',
        typescript: '4.0.3',
        typestrict: '1.0.2',
        webpack: '4.44.2',
        'webpack-cli': '3.3.12',
        'webpack-node-externals': '2.5.2' } },
  fs: { numberOfFiles: 413 },
  debug:
   [ '2020-11-10T08:44:59.701Z angular/cli config Angular CLI not found.\n',
     '2020-11-10T08:44:59.788Z jest/config Detected Jest.\n',
     '2020-11-10T08:44:59.788Z jest/config Configured Jest.\n',
     '2020-11-10T08:44:59.791Z project Wallaby Node version: v10.21.0\n',
     '2020-11-10T08:44:59.791Z project Wallaby config: <homeDir>/Dev/adeo/opus-search/auto.detect\n',
     '2020-11-10T08:45:00.798Z project File cache: <homeDir>/.cache/JetBrains/IntelliJIdea2020.2/wallaby/projects/4e6c3ea8fde55710\n',
     '2020-11-10T08:45:00.805Z uiService Listening port 51235\n',
     '2020-11-10T08:45:00.875Z workers Parallelism for initial run: 6, for regular run: 3\n',
     '2020-11-10T08:45:00.876Z workers Starting run worker instance #0\n',
     '2020-11-10T08:45:00.876Z workers Starting run worker instance #1\n',
     '2020-11-10T08:45:00.876Z workers Starting run worker instance #2\n',
     '2020-11-10T08:45:00.876Z workers Starting run worker instance #3\n',
     '2020-11-10T08:45:00.876Z workers Starting run worker instance #4\n',
     '2020-11-10T08:45:00.876Z workers Starting run worker instance #5\n',
     '2020-11-10T08:45:00.877Z workers Web server is listening at 42413\n',
     '2020-11-10T08:45:00.918Z project File cache requires some updates, waiting required files from IDE\n',
     '2020-11-10T08:45:01.170Z project Stopping process pool\n',
     '2020-11-10T08:45:01.174Z project Test run started; run priority: 3\n',
     '2020-11-10T08:45:01.180Z project Running all tests\n',
     '2020-11-10T08:45:01.188Z workers Starting test run, priority: 3\n',
     '2020-11-10T08:45:01.188Z nodeRunner Starting sandbox [worker #0, session #4qvt6]\n',
     '2020-11-10T08:45:01.189Z nodeRunner Preparing sandbox [worker #0, session #4qvt6]\n',
     '2020-11-10T08:45:01.207Z workers Started run worker instance (delayed) #0\n',
     '2020-11-10T08:45:01.208Z nodeRunner Prepared sandbox [worker #0, session #4qvt6]\n',
     '2020-11-10T08:45:01.208Z workers [worker #0, session #4qvt6] Running tests in sandbox\n',
     '2020-11-10T08:45:01.211Z workers Started run worker instance (delayed) #1\n',
     '2020-11-10T08:45:01.211Z workers Started run worker instance (delayed) #4\n',
     '2020-11-10T08:45:01.211Z workers Started run worker instance (delayed) #2\n',
     '2020-11-10T08:45:01.223Z workers Started run worker instance (delayed) #5\n',
     '2020-11-10T08:45:01.242Z workers Started run worker instance (delayed) #3\n',
     '2020-11-10T08:45:02.747Z uiService UI client connected\n',
     '2020-11-10T08:45:02.747Z uiService Outgoing message ui:handshake\n',
     '2020-11-10T08:45:02.752Z uiService Incoming message ui:tests:resultsRequested\n',
     '2020-11-10T08:45:02.753Z uiService Outgoing message ui:tests:allResultsUpdated\n',
     '2020-11-10T08:45:02.753Z uiService Incoming message ui:start\n',
     '2020-11-10T08:45:02.754Z uiService Outgoing message ui:summary\n',
     '2020-11-10T08:45:02.758Z uiService Outgoing message ui:files\n',
     '2020-11-10T08:45:06.986Z workers [4qvt6] Loaded unknown number of test(s)\n',
     '2020-11-10T08:45:07.132Z workers [4qvt6] Test executed: find in attribute\n',
     '2020-11-10T08:45:07.161Z workers [4qvt6] Test executed: find in two attributes\n',
     '2020-11-10T08:45:07.196Z workers [4qvt6] Test executed: rank: position has no effect\n',
     '2020-11-10T08:45:07.239Z workers [4qvt6] Test executed: rank: same term multiple time\n',
     '2020-11-10T08:45:07.281Z workers [4qvt6] Test executed: rank: use maximum score of any matching partial child attributes (score_mode: max)\n',
     '2020-11-10T08:45:07.377Z workers [4qvt6] Run 5 test(s), skipped 0 test(s)\n',
     '2020-11-10T08:45:07.379Z workers [4qvt6] Sandbox is responsive, closing it\n',
     '2020-11-10T08:45:07.380Z project Test run finished\n',
     '2020-11-10T08:45:07.380Z project Processed console.log entries\n',
     '2020-11-10T08:45:07.380Z project Processed loading sequences\n',
     '2020-11-10T08:45:07.381Z project Processed executed tests\n',
     '2020-11-10T08:45:07.398Z project Processed code coverage\n',
     '2020-11-10T08:45:07.505Z project Test run result processed and sent to IDE\n',
     '2020-11-10T08:45:07.505Z uiService Outgoing message ui:summary\n',
     '2020-11-10T08:45:07.507Z uiService Outgoing message ui:tests:allResultsUpdated\n',
     '2020-11-10T08:45:07.511Z uiService Outgoing message ui:coverageChanged\n' ] }
@ArtemGovorov
Copy link
Member

Thanks for posting the feature request. It has been implemented and just published in plugin v1.0.201.

@tomsquest
Copy link
Author

tomsquest commented Nov 10, 2020

Oh @ArtemGovorov , that was fast.

But it does not seem to work for the first/initial start of wallaby.
I mean: appending many tests is OK, but starting with many tests is KO (still the first release)

First thing first, I am running v.1.0.201 (updated, restarted, the report is below)

What is working

  1. Add a test with "Start Exclusive Test Run"
  2. Select 2 tests and click on "Add to Exclusive Test Run"
  3. Result: now the three tests are running

What is not working

  1. Select 2 tests and click "Start Exclusive Test Run"
  2. Result: only the first one is run

Report:

{ editorVersion: 'IntelliJ IDEA 2020.2.3',
  pluginVersion: '1.0.201',
  editorType: 'IntelliJ',
  osVersion: 'linux 5.4.0-52-generic',
  nodeVersion: 'v10.21.0',
  coreVersion: '1.0.986',
  checksum: 'MTZjOWFmMzhjY2RmODY3MmMxN2I5OTA2Mjk1ZWQ3NzIsMTYxOTY1NDQwMDAwMCww',
  config:
   { diagnostics:
      { jest:
         { config:
            { configs:
               [ { automock: false,
                   cache: true,
                   cacheDirectory: '/tmp/jest_rs',
                   clearMocks: false,
                   coveragePathIgnorePatterns: [ '/node_modules/' ],
                   cwd: '<homeDir>/Dev/adeo/opus-search',
                   dependencyExtractor: undefined,
                   detectLeaks: undefined,
                   detectOpenHandles: undefined,
                   displayName: undefined,
                   errorOnDeprecated: false,
                   extraGlobals: [],
                   filter: undefined,
                   forceCoverageMatch: [],
                   globalSetup: undefined,
                   globalTeardown: undefined,
                   globals: {},
                   haste: { computeSha1: false, throwOnModuleCollision: false },
                   moduleDirectories: [ 'node_modules' ],
                   moduleFileExtensions: [ 'js', 'json', 'jsx', 'ts', 'tsx', 'node' ],
                   moduleLoader: undefined,
                   moduleNameMapper: [],
                   modulePathIgnorePatterns: [],
                   modulePaths: undefined,
                   name: 'dbbac00eb01befcda4f66bd6f26cb2a8',
                   prettierPath: 'prettier',
                   resetMocks: false,
                   resetModules: false,
                   resolver: undefined,
                   restoreMocks: false,
                   rootDir: '<homeDir>/Dev/adeo/opus-search',
                   roots:
                    [ '<homeDir>/Dev/adeo/opus-search/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/store-raw-products/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-categories/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-natures/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-prices/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-sale-eligibility/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-scores/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-product-visibility/src',
                      '<homeDir>/Dev/adeo/opus-search/functions/update-products/src' ],
                   runner: 'jest-runner',
                   setupFiles: [ '<homeDir>/Dev/adeo/opus-search/node_modules/reflect-metadata/Reflect.js' ],
                   setupFilesAfterEnv: [],
                   skipFilter: false,
                   skipNodeResolution: undefined,
                   slowTestThreshold: 5,
                   snapshotResolver: undefined,
                   snapshotSerializers: [],
                   testEnvironment: '<homeDir>/Dev/adeo/opus-search/node_modules/jest-environment-node/build/index.js',
                   testEnvironmentOptions: {},
                   testLocationInResults: false,
                   testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
                   testPathIgnorePatterns: [ '/node_modules/' ],
                   testRegex: [],
                   testRunner: '<homeDir>/Dev/adeo/opus-search/node_modules/jest-jasmine2/build/index.js',
                   testURL: 'http://localhost',
                   timers: 'real',
                   transform: [ [ '^.+\\.tsx?$', '<homeDir>/Dev/adeo/opus-search/node_modules/ts-jest/dist/index.js', {} ] ],
                   transformIgnorePatterns: [ '/node_modules/', '\\.pnp\\.[^\\/]+$' ],
                   unmockedModulePathPatterns: undefined,
                   watchPathIgnorePatterns: [] } ],
              globalConfig:
               { bail: 0,
                 changedFilesWithAncestor: false,
                 changedSince: undefined,
                 collectCoverage: false,
                 collectCoverageFrom: [],
                 collectCoverageOnlyFrom: undefined,
                 coverageDirectory: '<homeDir>/Dev/adeo/opus-search/coverage',
                 coverageProvider: 'babel',
                 coverageReporters: [ 'json', 'text', 'lcov', 'clover' ],
                 coverageThreshold: undefined,
                 detectLeaks: undefined,
                 detectOpenHandles: undefined,
                 enabledTestsMap: undefined,
                 errorOnDeprecated: false,
                 expand: false,
                 filter: undefined,
                 findRelatedTests: false,
                 forceExit: false,
                 globalSetup: undefined,
                 globalTeardown: undefined,
                 json: false,
                 lastCommit: false,
                 listTests: undefined,
                 logHeapUsage: false,
                 maxConcurrency: 5,
                 maxWorkers: 7,
                 noSCM: undefined,
                 noStackTrace: false,
                 nonFlagArgs: undefined,
                 notify: true,
                 notifyMode: 'failure-change',
                 onlyChanged: false,
                 onlyFailures: false,
                 outputFile: undefined,
                 passWithNoTests: undefined,
                 projects: [],
                 replname: undefined,
                 reporters: undefined,
                 rootDir: '<homeDir>/Dev/adeo/opus-search',
                 runTestsByPath: false,
                 silent: undefined,
                 skipFilter: false,
                 testFailureExitCode: 1,
                 testNamePattern: undefined,
                 testPathPattern: '',
                 testResultsProcessor: undefined,
                 testSequencer: '<homeDir>/Dev/adeo/opus-search/node_modules/@jest/test-sequencer/build/index.js',
                 testTimeout: 60000,
                 updateSnapshot: 'new',
                 useStderr: false,
                 verbose: undefined,
                 watch: false,
                 watchAll: false,
                 watchPlugins: undefined,
                 watchman: true },
              hasDeprecationWarnings: false,
              wallaby:
               { roots:
                  [ 'src',
                    'functions/store-raw-products/src',
                    'functions/update-categories/src',
                    'functions/update-product-natures/src',
                    'functions/update-product-prices/src',
                    'functions/update-product-sale-eligibility/src',
                    'functions/update-product-scores/src',
                    'functions/update-product-visibility/src',
                    'functions/update-products/src' ],
                 watchPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|/\\..+/' ],
                 testPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|/\\..+/' ],
                 testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
                 testRegex: [] } } } },
     testFramework: { version: 'jest@24.8.0', configurator: 'jest@24.8.0', reporter: 'jest@24.8.0', starter: 'jest@24.8.0', autoDetected: true },
     filesWithCoverageCalculated: [],
     globalSetup: false,
     micromatch: true,
     files:
      [ { pattern: '/node_modules/', regexp: /\/node_modules\//, ignore: true, trigger: true, load: true },
        { pattern: '\\./dist/|\\./build/|\\./coverage/|/\\..+/', regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\/\..+\//, ignore: true, trigger: true, load: true },
        { pattern: 'src/**', ignore: false, trigger: true, load: true, order: 1 },
        { pattern: 'functions/store-raw-products/src/**', ignore: false, trigger: true, load: true, order: 2 },
        { pattern: 'functions/update-categories/src/**', ignore: false, trigger: true, load: true, order: 3 },
        { pattern: 'functions/update-product-natures/src/**', ignore: false, trigger: true, load: true, order: 4 },
        { pattern: 'functions/update-product-prices/src/**', ignore: false, trigger: true, load: true, order: 5 },
        { pattern: 'functions/update-product-sale-eligibility/src/**', ignore: false, trigger: true, load: true, order: 6 },
        { pattern: 'functions/update-product-scores/src/**', ignore: false, trigger: true, load: true, order: 7 },
        { pattern: 'functions/update-product-visibility/src/**', ignore: false, trigger: true, load: true, order: 8 },
        { pattern: 'functions/update-products/src/**', ignore: false, trigger: true, load: true, order: 9 },
        { pattern: 'src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/store-raw-products/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/store-raw-products/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-categories/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-categories/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-natures/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-natures/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-prices/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-prices/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-sale-eligibility/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-sale-eligibility/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-scores/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-scores/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-visibility/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-product-visibility/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-products/src/**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true },
        { pattern: 'functions/update-products/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true } ],
     tests:
      [ { pattern: '/node_modules/', regexp: /\/node_modules\//, ignore: true, trigger: true, load: true, test: true },
        { pattern: '\\./dist/|\\./build/|\\./coverage/|/\\..+/', regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\/\..+\//, ignore: true, trigger: true, load: true, test: true },
        { pattern: 'src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 10 },
        { pattern: 'src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 11 },
        { pattern: 'functions/store-raw-products/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 12 },
        { pattern: 'functions/store-raw-products/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 13 },
        { pattern: 'functions/update-categories/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 14 },
        { pattern: 'functions/update-categories/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 15 },
        { pattern: 'functions/update-product-natures/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 16 },
        { pattern: 'functions/update-product-natures/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 17 },
        { pattern: 'functions/update-product-prices/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 18 },
        { pattern: 'functions/update-product-prices/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 19 },
        { pattern: 'functions/update-product-sale-eligibility/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 20 },
        { pattern: 'functions/update-product-sale-eligibility/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 21 },
        { pattern: 'functions/update-product-scores/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 22 },
        { pattern: 'functions/update-product-scores/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 23 },
        { pattern: 'functions/update-product-visibility/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 24 },
        { pattern: 'functions/update-product-visibility/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 25 },
        { pattern: 'functions/update-products/src/**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 26 },
        { pattern: 'functions/update-products/src/**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 27 } ],
     filesWithNoCoverageCalculated: [],
     runAllTestsInAffectedTestFile: false,
     updateNoMoreThanOneSnapshotPerTestFileRun: false,
     compilers: {},
     preprocessors: {},
     maxConsoleMessagesPerTest: 100,
     autoConsoleLog: true,
     delays: { run: 0, edit: 100, update: 0 },
     workers: { initial: 0, regular: 0, recycle: false },
     teardown: undefined,
     hints:
      { ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore/',
        ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
        commentAutoLog: '?',
        testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' } },
     automaticTestFileSelection: true,
     runSelectedTestsOnly: true,
     extensions: {},
     env: { type: 'node', params: {}, runner: '<homeDir>/.asdf/installs/nodejs/10.21.0/bin/node', viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
     reportUnhandledPromises: true,
     slowTestThreshold: 75,
     lowCoverageThreshold: 80,
     loose: true,
     testLocations: [ 'src/search-products/pipeline/main-query-runner.attributes.spec.ts' ],
     configCode: 'auto.detect#-2117203621' },
  packageJSON:
   { dependencies:
      { '@adeo/opus-healthcheck': '1.0.7',
        '@elastic/elasticsearch': '7.7.1',
        '@google-cloud/bigquery': '4.7.0',
        '@google-cloud/logging-winston': '3.0.6',
        '@google-cloud/pubsub': '2.2.0',
        '@google-cloud/tasks': '2.0.0',
        '@nestjs/common': '7.1.3',
        '@nestjs/core': '7.1.3',
        '@nestjs/platform-fastify': '7.1.3',
        '@nestjs/swagger': '4.5.9',
        async: '3.2.0',
        'async-csv': '2.1.3',
        axios: '0.19.2',
        'class-transformer': '0.2.3',
        'class-validator': '0.12.2',
        'dd-trace': '0.26.1',
        'env-var': '6.1.1',
        'fastify-file-upload': '2.0.1',
        'fastify-swagger': '2.6.0',
        'fold-to-ascii': '5.0.0',
        helmet: '3.22.0',
        lodash: '4.17.20',
        nocache: '2.1.0',
        'reflect-metadata': '0.1.13',
        rxjs: '6.5.5',
        tslib: '2.0.1',
        winston: '3.2.1' },
     devDependencies:
      { '@adeo/opus-deployer': '0.0.17',
        '@nestjs/testing': '7.1.3',
        '@types/async': '3.2.3',
        '@types/jest': '26.0.14',
        '@types/lodash': '4.14.161',
        '@types/node': '14.11.1',
        dotenv: '8.2.0',
        'fork-ts-checker-notifier-webpack-plugin': '3.0.0',
        'fork-ts-checker-webpack-plugin': '5.2.0',
        'form-data': '3.0.0',
        husky: '4.3.0',
        jest: '26.4.2',
        'lint-staged': '10.4.0',
        nodemon: '2.0.4',
        'npm-run-all': '4.1.5',
        prettier: '2.1.2',
        rimraf: '3.0.2',
        'start-server-webpack-plugin': '2.2.5',
        'ts-jest': '26.4.0',
        'ts-loader': '8.0.4',
        'ts-node': '9.0.0',
        tslint: '5.20.1',
        'tslint-config-prettier': '1.18.0',
        'tslint-immutable': '6.0.1',
        'tslint-no-focused-test': '0.5.0',
        typescript: '4.0.3',
        typestrict: '1.0.2',
        webpack: '4.44.2',
        'webpack-cli': '3.3.12',
        'webpack-node-externals': '2.5.2' } },
  fs: { numberOfFiles: 413 },
  debug:
   [ '2020-11-10T10:58:55.779Z angular/cli config Angular CLI not found.\n',
     '2020-11-10T10:58:55.871Z jest/config Detected Jest.\n',
     '2020-11-10T10:58:55.871Z jest/config Configured Jest.\n',
     '2020-11-10T10:58:55.873Z project Wallaby Node version: v10.21.0\n',
     '2020-11-10T10:58:55.873Z project Wallaby config: <homeDir>/Dev/adeo/opus-search/auto.detect\n',
     '2020-11-10T10:58:56.820Z project File cache: <homeDir>/.cache/JetBrains/IntelliJIdea2020.2/wallaby/projects/4e6c3ea8fde55710\n',
     '2020-11-10T10:58:56.826Z uiService Listening port 51235\n',
     '2020-11-10T10:58:56.895Z workers Parallelism for initial run: 6, for regular run: 3\n',
     '2020-11-10T10:58:56.896Z workers Starting run worker instance #0\n',
     '2020-11-10T10:58:56.896Z workers Starting run worker instance #1\n',
     '2020-11-10T10:58:56.896Z workers Starting run worker instance #2\n',
     '2020-11-10T10:58:56.896Z workers Starting run worker instance #3\n',
     '2020-11-10T10:58:56.896Z workers Starting run worker instance #4\n',
     '2020-11-10T10:58:56.896Z workers Starting run worker instance #5\n',
     '2020-11-10T10:58:56.900Z workers Web server is listening at 41775\n',
     '2020-11-10T10:58:56.941Z project File cache requires some updates, waiting required files from IDE\n',
     '2020-11-10T10:58:56.956Z project Stopping process pool\n',
     '2020-11-10T10:58:56.962Z project Test run started; run priority: 3\n',
     '2020-11-10T10:58:56.967Z project Running all tests\n',
     '2020-11-10T10:58:56.983Z workers Starting test run, priority: 3\n',
     '2020-11-10T10:58:56.983Z nodeRunner Starting sandbox [worker #0, session #hwxi1]\n',
     '2020-11-10T10:58:56.984Z nodeRunner Preparing sandbox [worker #0, session #hwxi1]\n',
     '2020-11-10T10:58:57.114Z workers Started run worker instance (delayed) #1\n',
     '2020-11-10T10:58:57.142Z workers Started run worker instance (delayed) #5\n',
     '2020-11-10T10:58:57.142Z workers Started run worker instance (delayed) #0\n',
     '2020-11-10T10:58:57.142Z nodeRunner Prepared sandbox [worker #0, session #hwxi1]\n',
     '2020-11-10T10:58:57.143Z workers [worker #0, session #hwxi1] Running tests in sandbox\n',
     '2020-11-10T10:58:57.155Z workers Started run worker instance (delayed) #2\n',
     '2020-11-10T10:58:57.159Z workers Started run worker instance (delayed) #4\n',
     '2020-11-10T10:58:57.161Z workers Started run worker instance (delayed) #3\n',
     '2020-11-10T10:59:00.274Z uiService UI client connected\n',
     '2020-11-10T10:59:00.275Z uiService Outgoing message ui:handshake\n',
     '2020-11-10T10:59:00.279Z uiService Incoming message ui:tests:resultsRequested\n',
     '2020-11-10T10:59:00.281Z uiService Outgoing message ui:tests:allResultsUpdated\n',
     '2020-11-10T10:59:00.281Z uiService Incoming message ui:start\n',
     '2020-11-10T10:59:00.282Z uiService Outgoing message ui:summary\n',
     '2020-11-10T10:59:00.284Z uiService Outgoing message ui:files\n',
     '2020-11-10T10:59:02.541Z workers [hwxi1] Loaded unknown number of test(s)\n',
     '2020-11-10T10:59:02.691Z workers [hwxi1] Test executed: find in attribute\n',
     '2020-11-10T10:59:02.717Z workers [hwxi1] Test executed: find in two attributes\n',
     '2020-11-10T10:59:02.749Z workers [hwxi1] Test executed: rank: position has no effect\n',
     '2020-11-10T10:59:02.786Z workers [hwxi1] Test executed: rank: same term multiple time\n',
     '2020-11-10T10:59:02.828Z workers [hwxi1] Test executed: rank: use maximum score of any matching partial child attributes (score_mode: max)\n',
     '2020-11-10T10:59:02.936Z workers [hwxi1] Run 5 test(s), skipped 0 test(s)\n',
     '2020-11-10T10:59:02.937Z workers [hwxi1] Sandbox is responsive, closing it\n',
     '2020-11-10T10:59:02.938Z project Test run finished\n',
     '2020-11-10T10:59:02.939Z project Processed console.log entries\n',
     '2020-11-10T10:59:02.939Z project Processed loading sequences\n',
     '2020-11-10T10:59:02.940Z project Processed executed tests\n',
     '2020-11-10T10:59:02.960Z project Processed code coverage\n',
     '2020-11-10T10:59:03.051Z project Test run result processed and sent to IDE\n',
     '2020-11-10T10:59:03.051Z uiService Outgoing message ui:summary\n',
     '2020-11-10T10:59:03.052Z uiService Outgoing message ui:tests:allResultsUpdated\n',
     '2020-11-10T10:59:03.055Z uiService Outgoing message ui:coverageChanged\n',
     '2020-11-10T10:59:09.340Z uiService UI client connected\n',
     '2020-11-10T10:59:09.340Z uiService Outgoing message ui:handshake\n',
     '2020-11-10T10:59:09.355Z uiService Incoming message ui:start\n',
     '2020-11-10T10:59:09.356Z uiService Outgoing message ui:summary\n',
     '2020-11-10T10:59:09.360Z uiService Outgoing message ui:files\n',
     '2020-11-10T10:59:09.361Z uiService Incoming message ui:tests:resultsRequested\n',
     '2020-11-10T10:59:09.362Z uiService Outgoing message ui:tests:allResultsUpdated\n',
     '2020-11-10T10:59:13.627Z uiService UI client disconnected\n' ] }

@ArtemGovorov
Copy link
Member

Thanks for checking.

Select 2 tests and click "Start Exclusive Test Run"
Result: only the first one is run

Yes, it is a known limitation (start right now can only be done on a single file or a folder). We'll look into removing the limitation.

@tomsquest
Copy link
Author

Ok, thanks. 👍

@ArtemGovorov
Copy link
Member

@tomsquest
The start issue is now also fixed in the latest plugin and core version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants