{"size": 540, "ext": "js", "max_stars_repo_path": "cypress/integration/init.spec.js", "max_stars_repo_name": "KyteProject/react-tetris", "max_stars_repo_stars_event_min_datetime": "2019-08-27T16:10:28.000Z", "max_stars_repo_stars_event_max_datetime": "2019-08-27T16:10:28.000Z", "max_issues_repo_path": "cypress/integration/init.spec.js", "max_issues_repo_name": "KyteProject/react-tetris", "max_issues_repo_issues_event_min_datetime": "2020-09-06T23:58:22.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-08T03:35:15.000Z", "max_forks_repo_path": "cypress/integration/init.spec.js", "max_forks_repo_name": "KyteProject/react-tetris", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 20.0, "max_line_length": 46, "alphanum_fraction": 0.4666666667}
describe( 'The Home Page', () => {
	before( () => {
		cy.visit( '/' );
	} );

	it( 'successfully loads', () => {
		cy
			.get( '[data-cy=stage]' )
			.should( 'have.attr', 'width', '12' )
			.should( 'have.attr', 'height', '20' );

		cy
		.get( '[data-cy=cell' )
		.each(($el, index, $list) => {
			cy.wrap($el)
				.should( 'have.attr', 'color', '0, 0, 0' )
				.should( 'have.attr', 'type', '0' );
		});

		// cy.contains( 'Score' );
		// cy.contains( 'Rows' );
		// cy.contains( 'Level' );

		cy.get( '[data-cy=btn-start]' );
	} );
} );
