public async void DeleteOpportunity(string opportunityTopic)
        {
            //Arrange

            //Act
            OpportunitiesPage.DeleteViewCell(opportunityTopic);
            await Task.Delay(1000);

            //Assert
            Assert.IsFalse(OpportunitiesPage.DoesViewCellExist(opportunityTopic));
        }
Beispiel #2
0
        public async Task DeleteOpportunity()
        {
            //Arrange
            const string opportunityTopic = "715003 / Investment Data Corp";

            //Act
            OpportunitiesPage.DeleteViewCell(opportunityTopic);
            await Task.Delay(1000);

            //Assert
            Assert.IsFalse(OpportunitiesPage.DoesViewCellExist(opportunityTopic));
        }
Beispiel #3
0
        public void DeleteOpportunity(string opportunityTopic)
        {
            //Arrange

            //Act
            OpportunitiesPage.DeleteViewCell(opportunityTopic);

            //Assert
            Assert.IsFalse(OpportunitiesPage.DoesViewCellExist(opportunityTopic));

            //Act
            OpportunitiesPage.TriggerPullToRefresh();

            //Assert
            Assert.IsFalse(OpportunitiesPage.DoesViewCellExist(opportunityTopic));
        }
Beispiel #4
0
        public void DeleteOpportunity()
        {
            //Arrange
            const string opportunityTopic = "715005 / Investment Data Corp";

            //Act
            OpportunitiesPage.DeleteViewCell(opportunityTopic);

            //Assert
            Assert.IsFalse(OpportunitiesPage.DoesViewCellExist(opportunityTopic));

            //Act
            OpportunitiesPage.TriggerPullToRefresh();

            //Assert
            Assert.IsFalse(OpportunitiesPage.DoesViewCellExist(opportunityTopic));
        }