From manual to automated testing: where to begin

Hylke de Jong
Feb 16, 2018 · 4 min read
describe('Wehkamp homepage', () => {  it('should have the correct title', () => {
cy.visit('www.wehkamp.nl');
cy.title().should('eq', 'wehkamp - meer tijd voor elkaar');
});
});
describe('Wehkamp homepage', () => {  it('should have the correct title', () => {
browser.get('www.wehkamp.nl');
expect(browser.getTitle()).to.equal('wehkamp - meer tijd voor
elkaar');
});
});
describe('Wehkamp homepage', () => {  it('should have the correct title', () => {
browser.url('www.wehkamp.nl');
expect(browser.getTitle()).to.be('wehkamp - meer tijd voor
elkaar');
});
});
describe('Get customer info', () => {  it('should return a 200 response', () => {
response.should.have.status(200);
});
});

wehkamp-techblog

We'll try to keep up and post on the stuff we're doing and discovering. Interesting in working @wehkamp? Check out https://werkenbij.wehkamp.nl/

Hylke de Jong

Written by

automating test stuff @wehkamp

wehkamp-techblog

We'll try to keep up and post on the stuff we're doing and discovering. Interesting in working @wehkamp? Check out https://werkenbij.wehkamp.nl/