Skip to content

PR from develop to review branch for Reviewing#2

Merged
rathilpatel merged 31 commits intoreviewfrom
develop
Jul 12, 2021
Merged

PR from develop to review branch for Reviewing#2
rathilpatel merged 31 commits intoreviewfrom
develop

Conversation

@itanish
Copy link
Copy Markdown
Contributor

@itanish itanish commented Mar 19, 2021

No description provided.

@itanish itanish requested a review from rathilpatel March 19, 2021 11:35
@samiran-bs samiran-bs requested a review from rathilpatel March 25, 2021 18:15
README.md Outdated
Comment on lines +90 to +99
| Module | Test name | Description |
| --- | --- | --- |
| E2E | E2E Test | This test scenario verifies successful product purchase lifecycle end-to-end. It demonstrates the [Page Object Model design pattern](https://www.browserstack.com/guide/page-object-model-in-selenium) and is also the default test executed in all the single test run profiles. |
| Login | Check if Signin opens on clicking on favourites nav item | This test verifies the login workflow with different types of valid login users. |
| Login | Check Login with locked_user | This test verifies the login workflow error for a locked user. |
| Offers | Set GPS location to Mumbai and check offers | This test mocks the GPS location for Mumbai and verifies that the product offers applicable for the Mumbai location are shown. |
| Product | Apply Apple And Samsung Filter | This test verifies that the Apple products are only shown if the Apple vendor filter option is applied. |
| Product | Apply 'Lowest to Highest' Order By Filter | This test verifies that the product prices are in ascending order when the product sort "Lowest to Highest" is applied. |
| User | Check Login with image_not_loading_user | This test verifies that the product images load for user: "image_not_loading_user" on the e-commerce application. Since the images do not load, the test case assertion fails.|
| User | Check Order in existing_orders_user | This test verifies that existing orders are shown for user: "existing_orders_user" |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you are allowing the test execution based on test suites, please update the module name in the table to the exact value required to run the single test.
if you are allowing the test execution based on exact test names, please update the test name in the table to the exact value required to run the single test.

In the sections below, the same will be referred
for e.g.

where, the argument 'test-name' can be any RobotFramework scenario name configured in this repository.

E.g. "Check Login with locked_user", "E2E Test", "Apply 'Lowest to Highest' Order By Filter" or any of the other test scenario names, as outlined in About the tests in this repository section.

[ Not sure the names are right above, you must verify ]


${local_instance}= start_local ${access_key}

Open Browser ${application_endpoint} remote_url=http://${user}:${access_key}@hub-cloud.browserstack.com/wd/hub desired_capabilities=${caps}
Copy link
Copy Markdown
Contributor

@samiran-bs samiran-bs Apr 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update http://${user}:${access_key}@hub-cloud.browserstack.com/wd/hub to
https://hub-cloud.browserstack.com/wd/hub

Note the usage of https.
the automate credentials I believe has been provided in caps now.


${local_instance}= start_local ${access_key}

Open Browser ${application_endpoint} remote_url=http://${user}:${access_key}@hub-cloud.browserstack.com/wd/hub desired_capabilities=${caps}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also define ${remote_url} at the start of the function

Login From CSV fav_user

Wait Until Element Is Visible xpath=//p[text() = 'iPhone 12']/../div[@class = 'shelf-item__buy-btn']
Click Element xpath=//p[text() = 'iPhone 12']/../div[@class = 'shelf-item__buy-btn']
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

div[id="1"] > div[class="shelf-item__buy-btn"] if the above doesn't work in Robot.

Wait Until Element Is Visible class=float-cart__close-btn
Click Element class=float-cart__close-btn

Click Element xpath=//p[text() = 'iPhone XS']/../div[@class = 'shelf-item__buy-btn']
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

div[id="7"] > div[class="shelf-item__buy-btn"] if the above doesn't work in Robot.

Wait Until Element Is Visible class=float-cart__close-btn
Click Element class=float-cart__close-btn

Click Element xpath=//p[text() = 'Galaxy S20']/../div[@class = 'shelf-item__buy-btn']
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

div[id="10"] > div[class="shelf-item__buy-btn"] if the above doesn't work in Robot.

@rathilpatel rathilpatel merged commit 520e5b6 into review Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants