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

beforeScenario set timeout issues #2393

Open
sarut0bi opened this issue Aug 9, 2023 · 0 comments
Open

beforeScenario set timeout issues #2393

sarut0bi opened this issue Aug 9, 2023 · 0 comments

Comments

@sarut0bi
Copy link

sarut0bi commented Aug 9, 2023

Describe the bug

timeout setin beforeScenario is not taken into account

To Reproduce

  • Set up a beforeScenario step :
beforeScenario(async function () {
    process.env.test_timeout = "300000"
}, { tags: ["extendTestTimeout"] });

with a default test_timeout = 60000 in js.properties

  • Run a test case that only waits for 10 minutes with extendTestTimeout Tag

→ Test case is getting a timeout after 1 minute

Expected behavior
Timeout shall be triggered after 5 minutes

Versions:

Gauge version: 1.4.3
Commit Hash: f98dd40

Plugins
-------
html-report (4.2.0)
js (3.0.1)
json-report (0.3.7)
screenshot (0.1.0)
spectacle (0.1.4)
xml-report (0.4.0)

Additional context
Any other way to proceed if exists should really helps me

@sarut0bi sarut0bi changed the title beforeScenario setted timeout issues beforeScenario set timeout issues Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant