From 67b56fb87d476bb041180d4c6fea1a1cfb43286f Mon Sep 17 00:00:00 2001 From: David Kasper Date: Wed, 11 Sep 2024 16:32:09 -0500 Subject: [PATCH] try temp for branch --- app/commands/donkey.html | 38 ++++++ app/commands/garbage.html | 30 +++++ cypress/e2e/2-advanced-examples/actions.cy.js | 111 +++++++++++++----- 3 files changed, 149 insertions(+), 30 deletions(-) create mode 100644 app/commands/garbage.html diff --git a/app/commands/donkey.html b/app/commands/donkey.html index 0ebe95493..9b2af50f3 100644 --- a/app/commands/donkey.html +++ b/app/commands/donkey.html @@ -22,13 +22,51 @@

I'm H2


im big
+<<<<<<< Updated upstream +======= + > --> + A-0 + A-1 + A-2 + A-3 + A-4 + A-5 + A-6 + A-7 + A-8 + A-9 + A-10 + A-11 + A-12 + A-13 + A-14 + A-15 + A-16 + A-17 + A-18 + A-19 + A-30 + A-21 + A-22 + A-23 + A-24 + A-25 + A-26 + A-27 + A-28 + A-29 +>>>>>>> Stashed changes
im big
im big
diff --git a/app/commands/garbage.html b/app/commands/garbage.html new file mode 100644 index 000000000..affea7808 --- /dev/null +++ b/app/commands/garbage.html @@ -0,0 +1,30 @@ + + + + + + + + + + Cypress.io: Kitchen Sink + + + + + + + + +
+

Worst App

+
+
Fuck this janky shit
+
+
+ + + + + + diff --git a/cypress/e2e/2-advanced-examples/actions.cy.js b/cypress/e2e/2-advanced-examples/actions.cy.js index a4359d88e..87b05498c 100644 --- a/cypress/e2e/2-advanced-examples/actions.cy.js +++ b/cypress/e2e/2-advanced-examples/actions.cy.js @@ -1,34 +1,85 @@ /// context('Actions', () => { - beforeEach(() => { - cy.visit('http://localhost:8080/commands/donkey') - }) - - // eslint-disable-next-line - it('works', () => { - cy.get('#outer').should('contain', 'Outer') - // cy.get('#outer').should('contain', 'Inner') - }) - - // eslint-disable-next-line - it('does not work', () => { - cy.get('#outer').should('contain', 'Outer2') - // cy.get('#outer').should('contain', 'Inner2') - }) - - // eslint-disable-next-line - it('talks to an iframe', () => { - cy.get('#example-tier-1') - .its('0.contentDocument.body') - .should('contain', "I'm Tier 1 - h3") - }) - - it('talks to the waffles', () => { - cy.visit('http://localhost:8080/commands/donkey-content') - - cy.get('#example-tier-1') - .its('0.contentDocument.body') - .should('contain', "I'm Tier 1 - h3") - }) + // beforeEach(() => { + // cy.visit('http://localhost:8080/commands/donkey') + // }) + + // // eslint-disable-next-line + // it('works', () => { + // cy.get('#outer').should('contain', 'Outer') + // // cy.get('#outer').should('contain', 'Inner') + // }) + + // // eslint-disable-next-line + // it('does not work', () => { + // cy.get('#outer').should('contain', 'Outer2') + // // cy.get('#outer').should('contain', 'Inner2') + // }) + + // // eslint-disable-next-line + // it('talks to an iframe', () => { + // cy.get('#example-tier-1') + // .its('0.contentDocument.body') + // .should('contain', "I'm Tier 1 - h3") + // }) + + // it('talks to the waffles', () => { + // cy.visit('http://localhost:8080/commands/donkey-content') + + // cy.get('#example-tier-1') + // .its('0.contentDocument.body') + // .should('contain', "I'm Tier 1 - h3") + // }) + + describe(`100% scores`, () => { + // it("github", () => { + // cy.visit("https://github.com"); + // cy.contains("GitHub"); + // }); + + it("deque university", () => { + cy.visit("https://dequeuniversity.com/"); + cy.contains("Deque University"); + }); + + it("userway", () => { + cy.visit("https://userway.org/accessibility/"); + cy.contains("Accessibility Statement"); + }); + }); + + // beforeEach(() => { + // cy.viewport(600, 500) + // cy.visit('http://localhost:8080/commands/donkey') + // }) + + // // eslint-disable-next-line + // it('works', () => { + // for (let index = 0; index < 10; index++) { + // cy.get(`#a-${index}`).click() + // } + // }) + + // // eslint-disable-next-line + // it('does not work', () => { + // cy.visit('http://localhost:8080/commands/garbage') + // cy.get('#outer').should('contain', 'Outer2') + // // cy.get('#outer').should('contain', 'Inner2') + // }) + + // // eslint-disable-next-line + // it('talks to an iframe', () => { + // cy.get('#example-tier-1') + // .its('0.contentDocument.body') + // .should('contain', "I'm Tier 1 - h3") + // }) + + // it('talks to the waffles', () => { + // cy.visit('http://localhost:8080/commands/donkey-content') + + // cy.get('#example-tier-1') + // .its('0.contentDocument.body') + // .should('contain', "I'm Tier 1 - h3") + // }) })