Cypress Quiz

Correct: 0
Incorrect: 0
Remaining: 14
💡 What will happen after running the following tests?
beforeEach(() => {
 cy.wrap('some text').as('text');
});

it('test #1', () => {
  cy.log(this.text);
});

it('test #2', function () {
 cy.log(this.text);
});
A | Both tests will print 'some text'
B | Both tests will fail
C | First test will print 'some text', second one will fail
D | First test will fail, second one will print 'some text'