Skip to content

Commit

Permalink
logging file (#13)
Browse files Browse the repository at this point in the history
### To be filled by the PR creator:

* A brief description of the changes made - 

* Do we have clean latest run report attached with this PR?
  * [ ] Yes
  * [ ] No (Please explain why)

* Does the PR contain changes to any BP core file?
  * [ ] Yes (Needs approval from at least 2 people)
  * [ ] No

* Does the PR contain changes to modules shared with other teams?
* [ ] Yes (Needs approval from at least one of the other teams that use
the module)
  * [ ] No

* Is it
  * [ ] New Testcase
  * [ ] Fix


### To be filled by the PR reviewer:

* [ ] Verify the attached run report passed in GitHub Actions (Justify
if local run)

* General
    * [ ] Use the best strategy to locate the elements
    * [ ] Comments wherever the code is not readable by itself
    * [ ] Use of the right data structure for the use case
    * [ ] Reuse logic/functionality as much as possible
    * [ ] Cleanup of any test data that is generated by the tests
    * [ ] No static waits
  • Loading branch information
Tauqir Sarwar authored Mar 14, 2024
2 parents 178e244 + 8294865 commit 3241806
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ui_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ on:
- window

jobs:
cart-scheduled-regression:
web-scheduled-regression:
if: github.event_name == 'schedule'
strategy:
max-parallel: 1
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
testrail_configuration_name: 'Safari, MacOS'
testrail_run_name: 'MAC Desktop Safari'

- name: Mac Chrome
- name: Mac Chrome Visual
baseurl: https://opensource-demo.orangehrmlive.com
tags: visual
config_file: ./configs/mac_chrome.json
Expand Down
6 changes: 5 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@


[pytest]
log_file = output/run_logs/temp_tests_run.log
log_file_date_format = %Y-%m-%d %H:%M:%S
log_file_format = %(asctime)s - %(levelname)s %(message)s
log_file_level = INFO
filterwarnings =
ignore::UserWarning
log_level = INFO
log_format = %(asctime)s %(levelname)s %(message)s
log_format = %(asctime)s - %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
selenium_exclude_debug = screenshot
addopts =
Expand Down

0 comments on commit 3241806

Please sign in to comment.