Skip to content

Commit

Permalink
Added lamdatest caps (#147)
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 (Docker or Browserstack) attached
with this PR?
  * [ ] Yes
  * [ ] No (Please explain why)

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

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


### To be filled by the PR reviewer:

* [ ] Verify the attached run report passed in GitHub Actions (Docker or
Browserstack 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
tauqirsarwar1 authored Aug 15, 2024
2 parents df45600 + 0f1922f commit 0339c8d
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/LT_ui_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,63 +64,63 @@ jobs:
- name: Win Chrome
baseurl: https://opensource-demo.orangehrmlive.com
tags: web_tests
config_file: ./env_configs/win_chrome.json
config_file: ./env_configs/lamdatest/win_chrome_LT.json
html_report: win-chrome
testrail_configuration_name: 'Chrome, Windows'
testrail_run_name: 'Desktop Chrome'

- name: Win Firefox
baseurl: https://opensource-demo.orangehrmlive.com
tags: 'web_tests and firefox'
config_file: ./env_configs/win_firefox.json
config_file: ./env_configs/lamdatest/win_firefox_LT.json
html_report: win-firefox
testrail_configuration_name: 'Firefox, Windows'
testrail_run_name: 'Desktop Firefox'

- name: Win Edge
baseurl: https://opensource-demo.orangehrmlive.com
tags: web_tests
config_file: ./env_configs/win_edge.json
config_file: ./env_configs/lamdatest/win_edge_LT.json
html_report: win-edge
testrail_configuration_name: 'Edge, Windows'
testrail_run_name: 'Desktop Edge'

- name: Mac Firefox
baseurl: https://opensource-demo.orangehrmlive.com
tags: 'web_tests and firefox'
config_file: ./env_configs/mac_firefox.json
config_file: ./env_configs/lamdatest/mac_firefox_LT.json
html_report: mac-firefox
testrail_configuration_name: 'Firefox, MacOS'
testrail_run_name: 'MAC Desktop Firefox'

- name: Mac Chrome
baseurl: https://opensource-demo.orangehrmlive.com
tags: web_tests
config_file: ./env_configs/mac_chrome.json
config_file: ./env_configs/lamdatest/mac_chrome_LT.json
html_report: mac-chrome
testrail_configuration_name: 'Chrome, MacOS'
testrail_run_name: 'MAC Desktop Chrome'

- name: Mac Edge
baseurl: https://opensource-demo.orangehrmlive.com
tags: web_tests
config_file: ./env_configs/mac_edge.json
config_file: ./env_configs/lamdatest/mac_edge_LT.json
html_report: mac-edge
testrail_configuration_name: 'Edge, MacOS'
testrail_run_name: 'MAC Desktop Edge'

- name: Mac Safari
baseurl: https://opensource-demo.orangehrmlive.com
tags: web_tests
config_file: ./env_configs/mac_safari.json
config_file: ./env_configs/lamdatest/mac_safari_LT.json
html_report: mac-safari
testrail_configuration_name: 'Safari, MacOS'
testrail_run_name: 'MAC Desktop Safari'

- name: Mac Chrome Visual
baseurl: https://opensource-demo.orangehrmlive.com
tags: visual
config_file: ./env_configs/mac_chrome.json
config_file: ./env_configs/lamdatest/mac_chrome_LT.json
html_report: mac-chrome-visual
testrail_configuration_name: 'Chrome, MacOS'
testrail_run_name: 'MAC Desktop Chrome Visual'
Expand Down
13 changes: 13 additions & 0 deletions env_configs/lamdatest/mac_chrome_LT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"capabilities": {
"browserName": "Chrome",
"LT:Options": {
"platformName": "macOS Sonoma",
"build": "Python-Automation-Boilerplate",
"project": "Pytest-Automation-Boilerplate",
"w3c": "True",
"plugin": "python-pytest",
"tunnel": "True"
}
}
}
13 changes: 13 additions & 0 deletions env_configs/lamdatest/mac_edge_LT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"capabilities": {
"browserName": "MicrosoftEdge",
"LT:Options": {
"platformName": "macOS Sonoma",
"build": "Python-Automation-Boilerplate",
"project": "Pytest-Automation-Boilerplate",
"w3c": "True",
"plugin": "python-pytest",
"tunnel": "True"
}
}
}
13 changes: 13 additions & 0 deletions env_configs/lamdatest/mac_firefox_LT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"capabilities": {
"browserName": "Firefox",
"LT:Options": {
"platformName": "macOS Sonoma",
"build": "Python-Automation-Boilerplate",
"project": "Pytest-Automation-Boilerplate",
"w3c": "True",
"plugin": "python-pytest",
"tunnel": "True"
}
}
}
13 changes: 13 additions & 0 deletions env_configs/lamdatest/mac_safari_LT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"capabilities": {
"browserName": "Safari",
"LT:Options": {
"platformName": "macOS Sonoma",
"build": "Python-Automation-Boilerplate",
"project": "Pytest-Automation-Boilerplate",
"w3c": "True",
"plugin": "python-pytest",
"tunnel": "True"
}
}
}
2 changes: 1 addition & 1 deletion env_configs/lamdatest/win_chrome_LT.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"project": "Pytest-Automation-Boilerplate",
"w3c": "True",
"plugin": "python-pytest",
"tunnel": "false"
"tunnel": "True"
}
}
}
13 changes: 13 additions & 0 deletions env_configs/lamdatest/win_edge_LT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"capabilities": {
"browserName": "MicrosoftEdge",
"LT:Options": {
"platformName": "Windows 10",
"build": "Python-Automation-Boilerplate",
"project": "Pytest-Automation-Boilerplate",
"w3c": "True",
"plugin": "python-pytest",
"tunnel": "True"
}
}
}

0 comments on commit 0339c8d

Please sign in to comment.