Ejemplo n.º 1
0
        public static void HappyPathAsSeller()
        {
            //LogIn
            SignIn.OpenForm();
            SignIn.FillCredentials(2);

            //Create a new skill to trade
            ProfilePages.GoToShareSkill();
            ShareSkillPage.FillShareSkill(2);
            Thread.Sleep(3000);

            //LogsOut to allow the second user to request the Skill
            ProfilePages.LogOut();
            ManageRequestPage.GenerateNewRequest(5);

            //LogIn with the main account
            SignIn.OpenForm();
            SignIn.FillCredentials(2);

            //Navigate to Manage Received Request and accepts the Trade
            ManageRequestPage.NavigateToReceivedRequest();
            ManageRequestPage.AcceptRequest();

            //The User checks the new request
            ManageRequestPage.CheckNewRequestStatus("Accepted");
        }
Ejemplo n.º 2
0
        public void GivenTheUserCreatesANewSkillToTrade()
        {
            //LogIn
            SignIn.OpenForm();
            SignIn.FillCredentials(2);

            //Create a new skill to trade
            ProfilePages.GoToShareSkill();
            ShareSkillPage.FillShareSkill(2);
            Thread.Sleep(3000);
        }
Ejemplo n.º 3
0
        public void AddShareSkill()
        {
            SignIn.OpenForm();
            SignIn.FillCredentials(2);

            //Check if the user is able to access the "Share-Skill" function
            ProfilePages.GoToShareSkill();

            //Check if the user is able to fill the "Share-Skill" details
            ShareSkillPage.FillShareSkill(2);

            //Check if the user is able to see the Skill in the "Manage Listing" page
            ManageListingPage.CheckListing(2);
        }
Ejemplo n.º 4
0
 public void WhenTheUserClicksOnTheShareSkillButton()
 {
     ProfilePages.GoToShareSkill();
 }