Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FR] - Support feature.only like Scenario.only #5086

Closed
@kobenguyent

Description

Currently, in a test file, when we add .only to a Scenario like following, only that Scenario will be triggered.

Feature('My First Test');
Scenario.only('test something', ({ I }) => {
 I.amOnPage('https://github.com');
 I.see('GitHub');
});
Scenario('test something 2', ({ I }) => {
 I.amOnPage('https://github.com');
 I.see('GitHub');
});
Scenario('test something 3', ({ I }) => {
 I.amOnPage('https://github.com');
 I.see('GitHub');
});

We'd like to have Feature.only so that all scenarios of that Feature would be triggered, that would be very handy when we want to run a specific Feature.

Feature.only('My First Test');
Scenario('test something', ({ I }) => {
 I.amOnPage('https://github.com');
 I.see('GitHub');
});
Scenario('test something 2', ({ I }) => {
 I.amOnPage('https://github.com');
 I.see('GitHub');
});
Scenario('test something 3', ({ I }) => {
 I.amOnPage('https://github.com');
 I.see('GitHub');
});

Metadata

Metadata

Assignees

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

      AltStyle によって変換されたページ (->オリジナル) /