You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2022. It is now read-only.
OS name and version: Ubuntu 16.04
Python version: 3.5.2
Golem version: 0.4.1
Description:
When running a test suite, Golem appears to repeat messages logged to console. The number of times it repeats increases by one for each test (one message at a time, then 2 messages, then 3, etc.). I'm guessing this has to do with Python's logger propagation and handlers not getting cleaned up after each test (I could never quite get Python's logging module down).
Steps to Reproduce:
Create a test in Golem
Create a suite containing the same test 3 times (different tests should also be affected, but this makes it apparent)
Run the test suite
Expected Output:
Golem outputs logs for each sequential test only once
Actual Sample Output:
(venv) ubuntu@localhost:~/golem$ python golem.py run Dashboards ExampleSuite
22:41:22 INFO Test execution started: OpenGoogle
22:41:22 INFO Browser: chrome-headless
22:41:22 INFO Environment: production
22:41:24 INFO Navigate to: 'https://www.google.com'
22:41:24 INFO Verify the element 'hplogo' is visible
22:41:24 INFO Test passed
22:41:24 INFO Test execution started: OpenGoogle
22:41:24 INFO Test execution started: OpenGoogle
22:41:24 INFO Browser: chrome-headless
22:41:24 INFO Browser: chrome-headless
22:41:24 INFO Environment: production
22:41:24 INFO Environment: production
22:41:27 INFO Navigate to: 'https://www.google.com'
22:41:27 INFO Navigate to: 'https://www.google.com'
22:41:27 INFO Verify the element 'hplogo' is visible
22:41:27 INFO Verify the element 'hplogo' is visible
22:41:27 INFO Test passed
22:41:27 INFO Test passed
22:41:27 INFO Test execution started: OpenGoogle
22:41:27 INFO Test execution started: OpenGoogle
22:41:27 INFO Test execution started: OpenGoogle
22:41:27 INFO Browser: chrome-headless
22:41:27 INFO Browser: chrome-headless
22:41:27 INFO Browser: chrome-headless
22:41:27 INFO Environment: production
22:41:27 INFO Environment: production
22:41:27 INFO Environment: production
22:41:29 INFO Navigate to: 'https://www.google.com'
22:41:29 INFO Navigate to: 'https://www.google.com'
22:41:29 INFO Navigate to: 'https://www.google.com'
22:41:30 INFO Verify the element 'hplogo' is visible
22:41:30 INFO Verify the element 'hplogo' is visible
22:41:30 INFO Verify the element 'hplogo' is visible
22:41:30 INFO Test passed
22:41:30 INFO Test passed
22:41:30 INFO Test passed
The text was updated successfully, but these errors were encountered:
OS name and version: Ubuntu 16.04
Python version: 3.5.2
Golem version: 0.4.1
Description:
When running a test suite, Golem appears to repeat messages logged to console. The number of times it repeats increases by one for each test (one message at a time, then 2 messages, then 3, etc.). I'm guessing this has to do with Python's logger propagation and handlers not getting cleaned up after each test (I could never quite get Python's logging module down).
Steps to Reproduce:
Expected Output:
Golem outputs logs for each sequential test only once
Actual Sample Output:
The text was updated successfully, but these errors were encountered: