Skip to content

Commit

Permalink
Cron Job timing changes (#9)
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 9912f37 + f7d818e commit 30fd6b1
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:

on:
schedule:
- cron: '30 1 * * *'
- cron: '30 21 * * *'
workflow_dispatch:
inputs:
tags:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

on:
schedule:
- cron: '30 2 * * *'
- cron: '0 21 * * *'
workflow_dispatch:
inputs:
tags:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:

on:
schedule:
- cron: '30 3 * * *'
- cron: '0 22 * * *'
workflow_dispatch:
inputs:
tags:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ui_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

on:
schedule:
- cron: '30 4 * * *'
- cron: '30 22 * * *'
workflow_dispatch:
inputs:
tags:
Expand Down
6 changes: 3 additions & 3 deletions frontend/test_project/features/mobile/android_login.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: Basic App functionality
When The element 'Android > _mob > MyDemoApp > menu_icon' is displayed

@mobile_test @android
Scenario: Verify logout from app
Scenario: Verify logout from app on android app
When I click on element 'Android > _mob > MyDemoApp > menu_icon'
Then The element 'Android > _mob > MyDemoApp > logout' is displayed
When I click on element 'Android > _mob > MyDemoApp > logout'
Expand All @@ -27,7 +27,7 @@ Feature: Basic App functionality
Then The element 'Android > _mob > MyDemoApp > username' is displayed

@mobile_test @android
Scenario: Verify Add and Remove items from cart
Scenario: Verify Add and Remove items from cart on android app
When The element 'Android > _mob > MyDemoApp > item_sl_backpack' is displayed
And I swipe down '50' % each time for '4' times
And I click on element 'Android > _mob > an-items > Sauce_Labs_Onesie'
Expand All @@ -52,7 +52,7 @@ Feature: Basic App functionality
Then The element 'Android > _mob > MyDemoApp > username' is displayed

@mobile_test @android
Scenario: Verify Place Order
Scenario: Verify Place Order on android app
When The element 'Android > _mob > MyDemoApp > item_sl_backpack' is displayed
And I swipe down '50' % each time for '4' times
And I click on element 'Android > _mob > an-items > Sauce_Labs_Onesie'
Expand Down
6 changes: 3 additions & 3 deletions frontend/test_project/features/mobile/ios_login.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Feature: Basic IOS App functionality

@mobile_test @ios
Scenario: Verify login/logout
Scenario: Verify login/logout on IOS app
Given I open the mobile application
When The element '_mob > MyDemoApp > Catalog' is displayed
And I click on element '_mob > MyDemoApp > Catalog'
Expand Down Expand Up @@ -31,7 +31,7 @@ Feature: Basic IOS App functionality
And The element '_mob > MyDemoApp > username' is displayed

@mobile_test @ios
Scenario: Verify Add/Remove items from cart
Scenario: Verify Add/Remove items from cart on IOS app
Given I open the mobile application
When The element '_mob > MyDemoApp > menu_icon' is displayed
And I click on element '_mob > MyDemoApp > menu_icon'
Expand Down Expand Up @@ -63,7 +63,7 @@ Feature: Basic IOS App functionality
And The element '_mob > MyDemoApp > username' is displayed

@mobile_test @ios
Scenario: Verify Place Order
Scenario: Verify Place Order on IOS app
Given I open the mobile application
When The element '_mob > MyDemoApp > menu_icon' is displayed
And I click on element '_mob > MyDemoApp > menu_icon'
Expand Down
8 changes: 4 additions & 4 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ addopts =
# Allure Report arguments
--clean-alluredir
--alluredir=output/allure/results
# Slack Notification arguments
--slack-webhook-url=https://....
# Slack Notification arguments (fake hook for testing purpose only
--slack-webhook-url=https://hooks.slack.com/services/..
--slack-channel=pytest-test-automation
--slack-results-url=http://localhost:63342/pytest-automation-boilerplate/output/allure/reports/index.html
# MS Teams Notification arguments
--teams-webhook-url=https://....
# MS Teams Notification arguments(fake hook for testing purpose only
--teams-webhook-url=https://moduscreate.webhook.office.com/webhookb2/...
--teams-results-url=http://localhost:63342/pytest-automation-boilerplate/output/allure/reports/index.html

0 comments on commit 30fd6b1

Please sign in to comment.