Skip to content

aqaestuser/User-stories_project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

User-stories_project

US_010.001 | Training > Visibility

As a User I want to see Training page information on the left side of the page

Acceptance criteria:

Open the Training page The text on the left side is displayed correctly: "Training" "Shop By" "Category" "Video Download" "Compare Products" "My Wish List"


US_010.002 | Training > Category "Video Download" > Visibility, clickability

As a User I want to see "Video Download" link on the left menu of the page

Acceptance criteria:

Open the Training page The link is displayed and a User can hover over it The cursor changes its appearance when hovering over the text and the link is underlined


US_010.003 | Training > Category "Video Download" > Redirection

As a User I want to be redirected to Video Download - Training page after clicking on Video Download link

Acceptance criteria:

The link Video Download is clickable (Start URL: Training) A User is redirected to the Video Download page (Finish URL: Video Download - Training)


US_010.004 | Training > Block 1 ( "Block-promo training-main") > Visibility

As a User I want to see Block 1 ( "Block-promo training-main") on the page

Acceptance criteria:

Open the Training page Block 1 ( "Block-promo training-main") is displayed on the page Block 1 consists text: "Motivate yourself." "Reach goals." "Boost ambition." "Max fitness." "Upgrade lifestyle." The size of Block1 is 1280 x 372 px


US_010.005 | Training > Block 2 ("Block-promo training-erin") > Visibility, clickability

As a User I want to see Block 2 ("Block-promo training-erin") on the page

Acceptance criteria:

Open the Training page Block 2 ("Block-promo training-erin") is displayed on the page The text "Before creating Luma, pro trainer Erin Renny helped world-class athletes reach peak fitness." is displayed The text "Hand-selected by Erin, our training downloads reflect a commitment to yoga, health and wellness." is displayed The cursor changes its appearance when hovering over the Block 2


US_010.006 | Training > Block 2 ("Block-promo training-erin") > Redirection to Erin Recommends page

As a User I want to redirect to Erin Recommends page from Block 2 ("Block-promo training-erin")

Acceptance criteria:

Open the start URL Training Redirection to Erin Recommends. Finish URL: Erin Recommends


US_010.007 | Training > Block 3 ("Training on demand") > Visibility, clickability

As a User I want to see Block 3 ("Training on demand") on the page

Acceptance criteria:

Open the Training page Block 3 ("Training on demand") is displayed on the page The cursor changes its appearance when hovering over the Block 3


US_010.008 | Training > Block 3 ("Training on demand") > Redirection As a User I want to redirect from Block 3 ("Training on demand") on the Video Download - Training page

Acceptance criteria:

Block 3 is clickable. Start URL: Training A User is redirected to the Video Download - Training page. Finish URL: Video Download - Training


US_010.009 | Training > Block 4 ("Top Videos") > Visibility

As a User I want to see information of Block 4 ("Top Videos")

Acceptance criteria:

Open the Training page The text "Top Videos Stream free with subscription" is displayed


US_010.010 | Training > Video Download > Left menu > Visibility of the information

As a User I want to see headings titles in the left side menu of the Video Download - Training page

Acceptance criteria:

Open Video Download - Training page The headings titles "Compare Products", "My Wish List" are displayed in the left side menu of the page


US_010.011 | Training > Video Download > Left menu > Compare Products

As a User I want to see my items in the category "Compare Products" on the page

Acceptance criteria:

Open the Video Download - Training page A User see the message "You have no items to compare." A registered User see his items in the category "Compare Products" on the page


US_010.012 | Training > Video Download > Left menu > My wish list

As a User I want to see my items in the category "My wish list" on the page

Acceptance criteria:

Open the Video Download - Training page A User see the message "You have no items in your wish list." A registered User can see content of the his wish list A registered User can be redirected to Wish List page by click on "Go to Wish List" link


TC_010.001.001 | Training > Verify that Training page is opening

from selenium.webdriver.common.by import By

class TrainingPageLocators: TRAINING_MENU = (By.XPATH, "//a[@id='ui-id-7']/span[last()]")

class TestTrainingPage: def test_open_Training_page(self, driver): page = TrainingPage(driver, url=TrainingPage.URL) page.open() page.click_training_menu() expected_url = "https://magento.softwaretestingboard.com/training.html" assert driver.current_url == expected_url, 'Wrong URL'

from locators.training_page_locators import TrainingPageLocators from base.seleniumbase import BasePage

class TrainingPage(BasePage): URL = "https://magento.softwaretestingboard.com/training.html"

def click_training_menu(self):
    self.is_clickable(TrainingPageLocators.TRAINING_MENU).click()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published