tests: fix tests for empty servers

This commit is contained in:
Roman Hotsiy 2020-01-10 17:04:13 +02:00
parent ca80b7ea57
commit 1030e88aa3
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -42,7 +42,7 @@ describe('Servers', () => {
// TODO add cy-data attributes // TODO add cy-data attributes
cy.get('[data-section-id="operation/addPet"]').should( cy.get('[data-section-id="operation/addPet"]').should(
'contain', 'contain',
'http://localhost:' + win.location.port + '/e2e/pet', 'http://localhost:' + win.location.port + '/pet',
); );
}); });
}); });
@ -57,7 +57,7 @@ describe('Servers', () => {
// TODO add cy-data attributes // TODO add cy-data attributes
cy.get('[data-section-id="operation/addPet"]').should( cy.get('[data-section-id="operation/addPet"]').should(
'contain', 'contain',
'http://localhost:' + win.location.port + '/e2e/pet', 'http://localhost:' + win.location.port + '/pet',
); );
}); });
}); });