最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

cypress - Test not using value 'saved' when progressing through test case - Stack Overflow

programmeradmin3浏览0评论

I have some code where I'm updating a configuration & saving it, in this case from 'Base' to Buy-up, then attempt to verify the change elsewhere. Why is the 'Base' value not being saved when the test progresses to the validation?

I had these as 2 separate test cases, was told to combine and run as one, but still no luck.

 eEnrollment.openApplication();

    eEnrollment.login("validvistacredentials");

    vistaGroupSearch.performGroupSearchInVista(groupJSONFile);

    vistaNavigations.navigateToBasics('Member Homepage Configuration')

    cy.get('#careNavigationType').select('Buy-up')

    cy.contains('Save').click()

    cy.wait(2000)

    vistaHomePage.memberSearchUsingLoginId('GarnerBuyUp')

    vistaNavigations.openMemberInMemberRole(groupJSONFile, 1)

    cy.scrollTo('bottom')

    careNavigation.BuyUp();    

    eEnrollment.logoutMemberRole()
发布评论

评论列表(0)

  1. 暂无评论