🔥4. Cypress ile İlk Test
Bir test dosyası ekleyelim
Last updated
Bir test dosyası ekleyelim
Last updated
describe('example to-do app', () => {
it('adds two numbers', () => {
cy.visit('http://porti.wtf')
cy.get('.add').click()
cy.get('.add').click()
cy.get('.total').should('have.text', '2')
})
})
// test suite name
describe('Porti Test', function () {
// Test case
it('Scenario 1', function (){
// test step for URL launching
cy.visit("https://www.google.com/");
});
}