From 85a638517893d41039712bcbf3713ae8285e1a2a Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sun, 4 Feb 2018 20:19:36 -0800 Subject: [PATCH] Add gist test --- cypress/integration/gist.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cypress/integration/gist.js diff --git a/cypress/integration/gist.js b/cypress/integration/gist.js new file mode 100644 index 0000000..97c1947 --- /dev/null +++ b/cypress/integration/gist.js @@ -0,0 +1,13 @@ +/* eslint-env mocha */ +/* global cy */ +import { editorVisible } from '../support' +describe('Gist', () => { + const themeDropdown = () => cy.get('#toolbar .dropdown-container').first() + + it('Should pull text from the first Gist file', () => { + cy.visit('/3208813b324d82a9ebd197e4b1c3bae8') + editorVisible() + + cy.contains('Y-Combinator implemented in JavaScript') + }) +})