O
Size: a a a
O
OS
Cypress.newPassword = '1234'
O
cy.wrap(userHelper.createRandomPassword()).as('newPassword');
O
O
cy.wrap(userHelper.createRandomUsername()).as('username').then((username) =>{
cy.createUserByApi(username).as('newUserData');
});
O
newUserData
OS
OS
cy.get('@newUserData').then(data => {
console.log(data);
});
O
cy.get('@newUserData').then(data => {
console.log(data);
});
O
cy.get('@newUserData').then(data => {
console.log(data);
});
O
OS
before(() => {отрабатывает нормально
cy.wrap(1000).as('someNumber');
});
it('should have access to alias', () => {
cy.get('@someNumber').then(n => console.log(n));
});
O
before(() => {отрабатывает нормально
cy.wrap(1000).as('someNumber');
});
it('should have access to alias', () => {
cy.get('@someNumber').then(n => console.log(n));
});
V
DP
B
B
DP
OK
B