admin管理员组

文章数量:1394056

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()

本文标签: cypressTest not using value 39saved39 when progressing through test caseStack Overflow