mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 01:53:44 +03:00
tests: fix tests for empty servers
This commit is contained in:
parent
ca80b7ea57
commit
1030e88aa3
|
@ -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',
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user