{"size": 1641, "ext": "js", "max_stars_repo_path": "cypress/integration/components/dialog/index.js", "max_stars_repo_name": "hokiedsp/Metro-UI-CSS", "max_stars_repo_stars_event_min_datetime": "2016-04-15T15:45:37.000Z", "max_stars_repo_stars_event_max_datetime": "2016-04-15T15:45:37.000Z", "max_issues_repo_path": "cypress/integration/components/dialog/index.js", "max_issues_repo_name": "hokiedsp/Metro-UI-CSS", "max_issues_repo_issues_event_min_datetime": "2021-02-02T20:54:28.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T08:31:08.000Z", "max_forks_repo_path": "cypress/integration/components/dialog/index.js", "max_forks_repo_name": "hokiedsp/Metro-UI-CSS", "max_forks_repo_forks_event_min_datetime": "2016-04-15T15:45:39.000Z", "max_forks_repo_forks_event_max_datetime": "2017-01-16T02:45:17.000Z"}
{"max_stars_count": 1, "max_issues_count": 3, "max_forks_count": 2, "avg_line_length": 35.6739130435, "max_line_length": 71, "alphanum_fraction": 0.5496648385}
describe("Metro 4 :: Dialog test", () => {
    it("Clear Metro 4", ()=>{
        cy.visit("/cypress/components/dialog/index.html")
        cy.get('.js-button').eq(0).click()
        cy.get('#idDialog').should('be.visible')
        cy.get('.js-dialog-close').click()

        cy.get('.js-button').eq(1).click()
        cy.get('#idDialog').should('be.visible')
        cy.get('.js-dialog-close').click()

        cy.get('.js-button').eq(2).click()
        cy.get('.dialog').should('be.visible')
        cy.get('button.js-dialog-close').click()
    })

    it("Interop Metro 4 and jQuery", ()=>{
        cy.visit("/cypress/components/dialog/index-jquery.html")
        cy.get('.js-button').eq(0).click()
        cy.get('#idDialog').should('be.visible')
        cy.get('.js-dialog-close').click()

        cy.get('.js-button').eq(1).click()
        cy.get('#idDialog').should('be.visible')
        cy.get('.js-dialog-close').click()

        cy.get('.js-button').eq(2).click()
        cy.get('.dialog').should('be.visible')
        cy.get('button.js-dialog-close').click()
    })

    it("Interop Metro 4 and jQuery. Meta tag metro:jquery=false", ()=>{
        cy.visit("/cypress/components/dialog/index-jquery-false.html")
        cy.get('.js-button').eq(0).click()
        cy.get('#idDialog').should('be.visible')
        cy.get('.js-dialog-close').click()

        cy.get('.js-button').eq(1).click()
        cy.get('#idDialog').should('be.visible')
        cy.get('.js-dialog-close').click()

        cy.get('.js-button').eq(2).click()
        cy.get('.dialog').should('be.visible')
        cy.get('button.js-dialog-close').click()
    })
});