Skip to content

grep command is not working with Or condition #3536

Closed
@Arthanarieaswaran

Description

@Arthanarieaswaran

What are you trying to achieve?

I am trying to run multiple test cases using tags like test1 or test2

What do you get instead?

image

Provide console output if related. Use --verbose mode for more details.

PS C:\Artha\AutomationFramework\Clinicals\clinicals-ui-automation-framework> npx codeceptjs run --plugins allure --grep "\@End2End|\@E2E" --verbose
'\@E2E' is not recognized as an internal or external command,
operable program or batch file.

Provide test source code if related

image

// paste test

Details

  • CodeceptJS version: 3.3.3
  • NodeJS Version:16.15.1
  • Operating System: Windows 2016 OS
  • puppeteer || webdriverio || testcafe version (if related): Webdriver
  • Configuration file:
helpers: {
    WebDriver: {
      url: 'http://localhost',
      browser: 'chrome',
      host: 'localhost',
      port: 4444,
      restart: false,
      windowSize: "maximize",
      desiredCapabilities: {
        'goog:chromeOptions': {
          prefs: {
            profile: {
              default_content_settings: {
                popups: 0
              }
            }
          },
          useAutomationExtension: false,
          args: [
            //-- '--headless',
            '--start-maximized',
            '--disable-gpu',
            '--disable-extensions',
            '--disable-popup-blocking',
            '--disable-infobars',
            '--ignore-certificate-errors'
          ]
        },
      }
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions