Skip to content

Commit

Permalink
Develop (#79)
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
Tauqir Sarwar authored Apr 1, 2024
2 parents b730ba8 + 27e849f commit d4b2df8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
19 changes: 10 additions & 9 deletions env_configs/ios_mobile_local.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"capabilities": {
"platformVersion": "17.0",
"deviceName": "iPhone 15 Plus",
"platformName": "iOS",
"app": "/Users/tauqirsarwar/Documents/Automation/Bench/Boilerplate/pytest-automation-boilerplate/app files/builds/MyRNDemoApp.app",
"noReset": false,
"newCommandTimeout": 3600
}
}
"capabilities": {
"platformVersion": "17.0",
"deviceName": "iPhone 15 Plus",
"platformName": "iOS",
"app": "/Users/tauqirsarwar/Documents/Automation/Bench/Boilerplate/pytest-automation-boilerplate/app files/builds/MyRNDemoApp.app",
"noReset": false,
"newCommandTimeout": 3600,
"wdaLaunchTimeout": 300000
}
}
10 changes: 4 additions & 6 deletions frontend/test_project/features/mobile/ios_login.feature
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,12 @@ Feature: Basic IOS App functionality
And I click on element '_mob > MyDemoApp > back_button'
And I click on element '_mob > Payment_Detail > Payment'
And The element '_mob > Payment_Detail > Full_name' is displayed
And I set text 'Tauqir' to field '_mob > Payment_Detail > Full_name'
And I add text 'Sarwar' to field '_mob > Payment_Detail > Full_name'
And I set text 'Tauqir Sarwar' to field '_mob > Payment_Detail > Full_name'
And I set text '325885556585999' to field '_mob > Payment_Detail > Card_Number'
And I set text '03' to field '_mob > Payment_Detail > expired_card'
And I add text '25' to field '_mob > Payment_Detail > expired_card'
And I set text '0325' to field '_mob > Payment_Detail > expired_card'
And I set text '123' to field '_mob > Payment_Detail > CVV'
# And I scroll to element '_mob > Payment_Detail > Enter_Click' for '2' iterations
# And I click on element '_mob > Payment_Detail > Enter_Click'
And I scroll to element '_mob > Payment_Detail > Enter_Click' for '2' iterations
And I click on element '_mob > Payment_Detail > Enter_Click'
And I scroll to element '_mob > Review_Order > Review' for '2' iterations
And I click on element '_mob > Review_Order > Review'
And I click on element '_mob > Review_Order > Review'
Expand Down

0 comments on commit d4b2df8

Please sign in to comment.