Skip to content

--rcs (reuse class session) has the same effect as --rs for sb pytest fixture tests #2126

@mdmintz

Description

@mdmintz

--rcs (reuse class session) has the same effect as --rs for sb pytest fixture tests

--rcs (reuse class session) is keeping the browser session open between tests of different classes when using the sb pytest fixture. That mode should only be reusing the browser session between tests of the same class.

(--rcs is working normally for tests that inherit BaseCase. This issue is specific to the sb pytest fixture.)

This behavior is expected to be different from pytest --rs, where all tests (regardless of class) should be reusing the same browser session.

Metadata

Metadata

Assignees

Labels

bugUh oh... Something needs to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions