tests: enable breaking test to record it

This commit is contained in:
Roman Hotsiy 2018-03-19 22:37:41 +02:00
parent 440e15e773
commit 39752fb9f0
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -27,8 +27,7 @@ describe('Menu', () => {
.should('be.visible');
});
// for some reason fails in cypress headless. Works fine in all browsers and cypress interactive
xit('should update URL hash on clicking on menu items', function() {
it('should update URL hash when clicking on menu items', function() {
cy.contains('[role=menuitem].-depth1', 'pet').click({ force: true });
cy.location('hash').should('equal', '#tag/pet');