Last active
March 9, 2018 13:26
-
-
Save mekhami/df06b206301412fe8db87ac3a6870dc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Sample Detail page', function() { | |
beforeEach(function() { | |
cy.login() | |
cy.visit('/#/samples') | |
cy.get('.data-table tbody tr td a').first().click() | |
}) | |
it('should default to the dependencies tab', function () { | |
cy.url().should('include', 'dependencies') | |
}) | |
it('should have a collapsible info panel', function () { | |
cy.get('#hide-panel').click() | |
cy.get('.content__left').should('not.be.visible') | |
cy.get('#toggle-panel').click() | |
cy.get('.content__left').should('be.visible') | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment