Пример #1
0
        public void ApproveButtonTest()
        {
            _loginPage.LogIn();

            _createExpensePage.CreateExpense("AutomatedTestData.jpg");

            _approverMenuPage.ClickInboxButton();
            _inboxPage.ClickViewReceipt("AutomatedTestData.jpg");
            _approveDeclinePage.ClickApproveButton();
            _approveDeclinePage.SetExpenseCoveredBy();
            _approveDeclinePage.ClickApproveModalOkButton();

            _approverMenuPage.ClickReadyForPaymentButton();
            _readyForPaymentPage.VerifyIfRowExists("AutomatedTestData.jpg");
        }
Пример #2
0
        public void TestCreateNewExpense()
        {
            _loginPage.LogIn();

            _createExpensePage.CreateExpense("AutomatedTestData.jpg");

            _menuPage.ClickAwaitingApproval();
            // _awaitingApprovalPage.VerifyIfRowExists("AutomatedTestData.jpg");
        }