test: Fixed user preferences tests

pull/4346/head
tidusjar 3 years ago
parent 1ea00fed01
commit 9ef57bba28

@ -45,8 +45,6 @@ streamingCountries.forEach((country) => {
Page.profile.streamingSelectBox.click(); Page.profile.streamingSelectBox.click();
Page.profile.streamingSelectBoxOption(country).click(); Page.profile.streamingSelectBoxOption(country).click();
Page.profile.streamingSelectBox.should('have.attr','ng-reflect-value', country);
cy.wait('@countryApiSave').then((intercept) => { cy.wait('@countryApiSave').then((intercept) => {
expect(intercept.request.body.code).equal(country); expect(intercept.request.body.code).equal(country);
}) })

Loading…
Cancel
Save