Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.1 KB

File metadata and controls

53 lines (36 loc) · 1.1 KB

saucectl playwright & cucumber example

Example running saucectl with playwright & cucumber.

What You'll Need

The steps below illustrate one of the quickest ways to get set up. If you'd like a more in-depth guide, please check out our documentation.

If you're using VS Code, you can use Runme to run the following commands directly from VS Code.

Install saucectl

npm install -g saucectl

Set Your Sauce Labs Credentials

saucectl configure

Install Local NPM Dependencies

npm install

Running The Examples

Run the following command inside the examples/cucumber folder 🚀

saucectl run

Running With Scenario Tags

Add scenario tags in the config.

suites:
  - name: My Cucumber Test
    options:
      tags:
        - "@smoke"
      paths:
        - "features/**/*.feature"

The Config

Follow me if you'd like to see how saucectl is configured for this example.