コード例 #1
0
        public void ThenThereShouldBeResultsOnResourcesList(int expectedNumber)
        {
            SalesDashboardPage salesDashboard = new SalesDashboardPage(Driver, _appSettings);

            salesDashboard.WaitForListToHasSize(expectedNumber);
        }
コード例 #2
0
        public void WhenIRemoveTheProductsWithType(string product)
        {
            SalesDashboardPage salesDashboard = new SalesDashboardPage(Driver, _appSettings);

            salesDashboard.RemoveTheProduct(product);
        }
コード例 #3
0
        public void WhenISelectValueInLimitItemsFilter(string value)
        {
            SalesDashboardPage salesDashboard = new SalesDashboardPage(Driver, _appSettings);

            salesDashboard.SetLimitItems(value);
        }
コード例 #4
0
        public void ThenVerifyStatusShouldChangedToForProduct(string status, string product)
        {
            SalesDashboardPage salesDashboard = new SalesDashboardPage(Driver, _appSettings);

            salesDashboard.VerifyDashboradStatus(status, product);
        }
コード例 #5
0
        public void WhenRelaunchTheWithType(string artwork, string product)
        {
            SalesDashboardPage salesDashboard = new SalesDashboardPage(Driver, _appSettings);

            salesDashboard.RelaunchProduct(artwork, product);
        }
コード例 #6
0
        public void WhenISelectFromCalenderPicker(string buttonName)
        {
            SalesDashboardPage salesDashboard = new SalesDashboardPage(Driver, _appSettings);

            salesDashboard.SelectCalenderFooterButton(buttonName);
        }
コード例 #7
0
        public void ThenVerifyTheSelectedDatedInCalenderPicker()
        {
            SalesDashboardPage salesDashboard = new SalesDashboardPage(Driver, _appSettings);

            salesDashboard.VerifyDatesInCalenderPicker();
        }
コード例 #8
0
        public void WhenISelectStartDateAndEndDate(string startDate, string endDate)
        {
            SalesDashboardPage salesDashboard = new SalesDashboardPage(Driver, _appSettings);

            salesDashboard.RangerPickerForDashboard(startDate, endDate);
        }